Posts tagged IIS
How to stop IIS7 from handling 404 errors so you can handle them in ASP.NET
Apr 17th
IIS7 has lots of places you could look to make this change: you might start off looking to see if it’s an advanced option on your application pool, no, so then you try looking at the web site itself and the option .NET Error Pages. That has to be it, surely! So you try every option there Mode=On, Mode=Off, Mode=Remote Only. Nothing works so you consult the help for those items only learn that “Mode” is to “Select a mode for the error pages: On, Off, or Remote Only.” You can see now why help writers at Microsoft are so well paid – who would have guessed that Mode = Remote Only sets the Mode to Remote Only!
Now you are really frustrated but luckily you landed on my blog post here where you learned that the true path to 404 happiness is a simple change to your web.config:
<system.webServer> <httpErrors errorMode="Detailed" />
404 errors on IIS6 with ASP.NET 4 Beta 2
Oct 22nd
Here’s the comment I posted to server fault:
Check the metabase.xml file … is there a ’1′ at the start of the line for Framework\V4.0.21006 in WebSvcExtRestrictionList?
I had the same problem and setting it to ’1′ (enabled) cured the problem. ASP.NET 4.0 Beta 1 did not have this problem. The problem only appeared on install of ASP.NET 4.0 Beta 2.
Here’s what it looked like BEFORE fixing the problem:
WebSvcExtRestrictionList="0,C:\SERVER\system32\inetsrv\httpodbc.dll,0,HTTPODBC,Internet Data Connector 0,C:\Perl\bin\perlis.dll,1,,Perl ISAPI Extension 0,C:\SERVER\system32\inetsrv\httpext.dll,0,WEBDAV,WebDAV 0,C:\Perl\bin\PerlEx30.dll,1,,PerlEx ISAPI Extension 0,C:\Perl\bin\perl.exe "%s" %s,1,,Perl CGI Extension 1,C:\SERVER\system32\inetsrv\asp.dll,0,ASP,Active Server Pages 1,C:\SERVER\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll,0,ASP.NET v2.0.50727,ASP.NET v2.0.50727 0,*.exe 0,*.dll 0,C:\SERVER\system32\inetsrv\ssinc.dll,0,SSINC,Server Side Includes 0,C:\SERVER\Microsoft.NET\Framework\v4.0.21006\aspnet_isapi.dll,0,ASP.NET v4.0.21006,ASP.NET v4.0.21006"
Shaving seconds off page load times
May 19th