Author: Sounge | Posted on: 10/4/2009 1:05:09 AM | Views : 257

I am running Windows 7 Ultimate w/IIS7.  I've installed URLRewriter.net, which is working from what I see.  I have a rule that applies to "PageX.asp".  However, PageX.asp doesn't currently exist, so when the rule gets executed, it doesn't see the page so it throws an exception.  The Exception is being caught in my Application_Error function in global.asax, which does a Server.Transfer("Error.aspx").  The transfer is done successfully, but the CSS I have in my theme doesn't activate on that page.  I checked the source code when the page comes up and the CSS file is getting loaded properly, but it doesn't take effect.  When a non URLRewriter.net exception is thrown, it works just fine.

When I deploy this website to IIS6 (Windows Server 2003), it works perfectly fine, as does when I debug it on my VS2008 (using ASP.NET Development Server).
Does anyone have an idea on why this is happening?  ...

Go to the complete details ...