I have a MVC2 web app without a database that is being hosted by IIS7. The model is a custom index of some properties of a filesystem, and right now the index is stored in memory. The problem is that on a regular basis, the data stored in memory gets released, and the index must be recreated. Maybe the best solution would be to serialize...
What can be done to improve performance in IIS? When I deploy my webapplication to my local IIS machine it goes much slower than when I run the solution in visual studio without debugging. The difference is remarkable, like double as fast.
...
Hi,
I'm trying to use fileexists to check if a file exists on a network server.
It keeps coming back with false and I think this is probably to do with permissions, as it seems to work from localhost and not the webserver I'm running it from.
I've tried to log the World Wide Web Publishing on as a network admin, but when restart the ...
Hi all,
I'm very very stuck here, help is greatly appreciated.
What am I trying to do?
There is an ASP-page (classic ASP) with a CSV upload that gives the following error:
Microsoft OLE DB Provider for SQL Server error '80040e14'
The OLE DB provider "MSDASQL" for linked server "(null)" reported an error. The provider did not give any...
On one of my servers the command New-WebSite stopped working today (it was working fine yesterday), throwing the exception "Index was outside the bounds of the array".
PS C:\Windows\system32> Import-Module WebAdministration
PS C:\Windows\system32> New-WebSite -Blah
New-Item : Index was outside the bounds of the array.
+ CategoryInf...
The following rule works (successfully redirects) for urls like:
www.site.com/some/path
But doesn't work (404) for urls containing + sign:
www.site.com/some/p+a+t+h
And doesn't work (404) even when encoded:
www.site.com/some/p%2Ba%2Bt%2Bh
But works, when + is going after ? sign:
www.site.com/some/path?+
Rule:
<rule name="red...
Hi all,
I would like to rewrite/forward an URL on our internal network:
request: http://shortcut/74b32
rewriting: http://myserver/Default.aspx?id=74b32
I already have a DNS entry for shortcut that points to myserver.
myserver runs IIS6.
How can I implement the final mapping?
Thanks a lot
chris
...
Hey folks,
I have the following system:
Windows Server '03
IIS 6 (shoot me)
PHP 5.2.14
Wordpress 3.0.1
WPML 1.8.1.2
I've added Wordpress to an existing high-traffic site, in a directory we'll call
http://thehost/wordpress/
For mod_rewrite-like features, I'm using Helicon's ISAPI_Rewrite 3.1.0.76. I'm using it to enable "pretty" perm...
In a ASP.Net web application, when you have a stack intensive operation to run, a stackoverflow exception is thrown on IIS when the stack size crosses the IIS set limit of 256K. A regular winform application however has a limit of 1MB. So the exception would not occur when running the same operation in a Winform application.
There is no...
My current architecture is a nice fit for SOA.
The services are written using WCF, and everything is .NET (no interoperability required).
To start off with I was hosting the WCF services inside a Windows Service with ServiceHost.
But now the number of services is growing and I am reconsidering the choice to have them as separate Windo...
Hello,
I have an ISAPI application that needs to write to the standard windows event log. The code works just fine when in a user mode process but, as soon as it runs from the ISAPI application, it generates an access denied error when calling RegisterEventSource (no matter what event source I pass it: "Application" fails as surely as a...
I've got the below code to make sure a service call to an ASP.NET 2.0 HttpHandler is not getting cached:
context.Response.Cache.SetExpires(DateTime.UtcNow.AddDays(-1));
context.Response.Cache.SetValidUntilExpires(false);
context.Response.Cache.SetRevalidation(HttpCacheRevalidation.AllCaches);
context.Response.Cache.SetCacheability(HttpC...
I'm having all sorts of trouble...
Here is the code I'm using:
$c = OCILogon('user', 'pass', 'host');
I get the following error:
PHP Warning: ocilogon(): ociopen_server: Error while trying to retrieve text for error ORA-12514 in D:\Inetpub\wwwroot**\oracle.php on line 26
Anyone know what the hell I'm doing wrong?
It's PHP4, II...
Hello. If I want to access only the document library of SharePoint Foundation from a .Net application (not a web app) using APIs (not web services), then is it possible to install SharePoint Foundation without IIS?
...
I'm working on a site that has a downloads section and I want it to be so that I can simply drop a file in a subfolder of a bin_docs directory and have it linked and listed automatically by the server on page refresh.
I see people using a combination of php and .htaccess rules to accomplish this, however the site will be hosted on an I...
Hi
I have a website where my customers can login. Some of them complains that the URI is too complicated. It is unique for each customer and looks like this:
http://www.example.com/login.asp?rld=213&companyID=127432
What I would really like is to have a path like this one:
http://example.com/Wallmart (Wikipedia does this)
I´ve tr...
Hello,
When a page is served, i.e., http://some.tld/FAQ.aspx, dynamic compression works just fine; The aspx extension is registered as a file type to compress.
But when using routes.MapPageRoute to rewrite the url as some.tld/FAQ IIS will not compress this page. There's no extension to register here.
Does anyone know how to get IIS to...
Hi,
We developed a .NET application to provide REST services. We are trying to deploy it in IIS with the below server configuration:
IIS 7.0
SQL Server Express Edition 2008
Windows 2008 Server
.NET 4.0
We are getting the error as attached in the picture.
Please help This is driving us crazy.
THE ERROR MESSAGE IS
HTTP Error 500....
Hi,
I'm looking to create a webpage that will reflect the status of one of my company's servers automatically. Frequently there will be a minor error that only lasts 2-3 minutes, and it would be great to have this reflected on a self-generated page, which might prevent 50-60 unhappy clients from calling in simultaneously and asking what...