I am running a website using IIS6 and i wrote a simple generic handler which return smaller images when it receive image url as query string. My problem is that the server is applying gzip to some file types such as .aspx and .ashx.
And that made my response image from the handler appear with lower quality because they are compressed.
...
I need some help translating the following mod_rewrite rules from a .htaccess file to IIRF (iirf.codeplex.com) format:
RewriteEngine On
# uncomment the following line, if you are having trouble
# getting no_script_name to work
RewriteBase /
# we skip all files with .something
RewriteCond %{REQUEST_URI} \..+$
RewriteCond ...
This is odd, and I hope I explain it correctly.
When I debug locally with VS2008, IE8 looks like FF and Chrome (minus the obvious). It works well, and I'm happy.
When I use IE8 with our IIS6 box (Win2003) or Cassini, buttons aren't aligned, javascript errors occur, and some other CSS anomolies occur: Table cells missing colored bor...
In an ISAPI Extention there is a way to programmatically flag an IIS AppPool as unhealthy, which means that it will be recycled on next access.
(e.g. pecb->ServerSupportFunction(pecb->ConnID,HSE_REQ_REPORT_UNHEALTHY,UNHEALTHY,NULL,NULL);
Is there any way to do the same using a .Net HttpModule? There is a HttpRuntime.UnloadAppDomain(), b...
I have some code that wraps the PayflowPro .NET API. It essentially posts to a HTTPS address (a payment gateway) from C#. I can run this code locally and it works nicely. I can run it in my MSUnit tests and it works, and I can run it from a console application on my test environment and it also works.
I have a workflow hosted in IIS ...
Problem
System.ServiceModel.Security.SecurityAccessDeniedException : Access is denied.
Relevant Stack lines (reduced)
Server stack trace:
at System.ServiceModel.Channels.ServiceChannel.ThrowIfFaultUnderstood(Message reply, MessageFault fault, String action, MessageVersion version, FaultConverter faultConverter)
Exception rethrown a...
Hello, I'm facing some performance problems with IIS6, and so I want to store things in cache for the maximum possible time so that when new requests arrive the content is already available in cache. Can anyone give me a hint how can I do this?
...
Is the any option so I can specify the time that objects remain in cache? I'm facing performance issues since after some minutes of idle the responses to requests take a while to process. I believe this is due to the cache being cleaned.
...
I am setting up php 64bit on IIS6 (windows 2k3 ).
The need is I want my existing website(classic asp) to include a wordpress blog (mu) with friendly url. So want to install it as a subdirectory to the IIS website. I have single IP allocated. Could not get the 32 bit php environment working as per IISADMIN
Upon setting up for 64bit php...
Always returns an empty array despite giving the IUSR_ "List Folder Contents" permission (and "Read" and "Read & Execute" permissons) on the folder being 'globbed'. glob() on a child directory (within the directory I gave the permissions too) works fine. glob() also works on a specific file (which inherited the permissons) in the afore m...
I would like know th reason behind this error:
Environment: Windows server 2003
The command I am using is:
aspnet_regiis -pef "connectionStrings" "D:\Learn\ResetWebApp\ResetWebApp"
The error I get is:
Encrypting configuration section...
An error occurred executing the configuration section handler for connectionStrings.
Failed to en...
Hi All!
I'm attempting to manage a set of remote IIS 6 server programmatically, but am running into a wall.
My client is Windows 7, and I have Domain Admin rights.
The relevant code is as follows:
public void Run()
{
DirectoryEntry W3SVC = new DirectoryEntry("IIS://server/w3svc");
foreach (DirectoryEntry site in W3SVC.Children)
...
Hi All,
First of all i should say when i used IIS 6.0 and i escaped windows authentication popup, i gave 401 error and i redirected weblogin page. Now i use IIS 7 with similar system but i can't get windows authentication popup, so directly go weblogin page. What is the difference between IIS 6 and IIS 7, why cant i get windows authent...
Hi,
Have just installed WordPress 3.0.1 running on MS IIS 6 Windows Server that I developed from my Mac OS X platform.
Pls note that my WordPress setup is under the following directory sructure:
c:\inetpub\wwwroot\MYSITE
The problem here is though, with the site up and running, it can't seem to find any of my pages like "About Us" ev...
Hi all!
This is my setup:
IIS6 on Windows Server 2003
iirf URL rewriter
mapped .mvc extension to handle MVC pages (unchecked verify that file exists)
no jolly catch-all handler
IIRF rewrites with the following rule (there is more, but it all boils down to this one, as far as MVC is concerned):
RewriteRule /(.*) /mvc.mvc/$1 [I,L]
...
I'm trying to get IIS not to flush cached data, so that the loading of the pages after a period without requests can be faster. SO far I've tried this, but with any success:
define an infinite time for the "Object Cache TTL" property;
unchecked on IIS (version 6.0) the option "Recycle worker processes";
unchecked on IIS the option "Shu...
How to set permissions on IIS6.0 virtual directory like write/read etc by C# code and script (By command line)?
...
We have a problem using the SessionAuthenticationModule on IIS 6, when trying to access the application, the following exception occures:
The data protection operation was unsuccessful. This may have been caused by not having the user profile loaded for the current thread's user context, which may be the case when the thread is imper...
This is a pretty vague question as I've had no luck reproducing my issues outside of our production web server and am unsure if my two issues are even related.
My application server is running Windows Server 2003 and is public-facing. The ASP.NET web application runs in .NET 3.5 and uses a (private) SQL Server (2008) on the LAN. The ser...
The exception:
Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.NullReferenceException: Object refe...