How to configure Wild Card rule for FREB (Failed Request Tracing) in IIS7

  While debugging any issue on IIS7x server, more often then not, FREB turns out to be the saviour. With the new IIS Architecture, FREB is simply the fastest and most reliable way to get a view inside IIS Processing Pipeline.  In lot of situations, you may notice that for some reason, FREB logs are…


App_offline.htm is getting generated on the server

  This is one interesting situation I came across this week. We are trying to remote debug an ASP.Net 4.0 application using Visual Studio 2010. FREB was showing http 500 error for the DEBUG request. We started looking at the memory dumps and found that something is not right. More than once, we see Application…

2

IIS 6.0: Http 500.0.170 while browsing Classic ASP pages

On an IIS 6.0 machine, if you try to browse any hosted Classic ASP page (.asp), you get the generic ‘Page cannot be displayed’ error. Other resources like html, .gif works well without any issue. In IIS logs you will find the status codes sc-status sc-substatus sc-win32-status 500             0                       170 Here is 170 is Windows…


Released–Beta of C# 5.0 and Visual Studio 11

Good times ahead fellow developers! Public beta release of Visual Studio 11 (including C# 5.0 beta) is available for download. For details – Eric Lippert’s post Please download and share feedback to products groups! Cheers!

1

Moving IIS7 root to a non-system drive

  There is a good post by Thomas on moving the IIS7 root directory to a non-system drive. IIS7: Moving the INETPUB directory to a different drive – http://blogs.iis.net/thomad/archive/2008/02/10/moving-the-iis7-inetpub-directory-to-a-different-drive.aspx  So all you need to do is to run moveiis7root.bat and provide the target drive. Script will do rest of the magic for you. While this script…

2

SPNs Demytified!

IIS 6.0, IIS 7.0, IIS 7.5 The changes in Kerberos configuration in IIS7x (KernelModeAuthentication) makes it fairly easy to configure Kerberos on IIS. At the same time, it is critical for server admins to understand the implications of this. SPN is one of those area. Here is a matrix of all SPN scenarios in context…


.Net Framework 3.5 (prior to SP1) – Mainstream support ends

  All .Net Framework versions till .Net 3.5 (non SP1) is going out of mainstream support on April 12th. Please upgrade to SP1. http://support.microsoft.com/lifecycle/?LN=en-us&p1=13003&x=6&y=12  

2

Intermittent http 400 error messages while accessing your website. Timer_EntityBody in httperr logs

You get intermittent http 400 error messages while accessing your website hosted on IIS server. There is not specific pattern in the failure. In HTTPERR logs you see an entry similar to the following 2011-04-05 05:21:46 127.0.0.1 – 127.0.0.1 80 HTTP/1.1 POST /MyHomePage.aspx – 1 Timer_EntityBody DefaultAppPool IIS Logs will simply show you a 400…

5

Three ways to find whether an ISAPI filter is loaded or not in IIS 7.0

There are three ways by which we can tell this(I learned it the hard way though) 1. FREB 2. TaskList 3. ProcessMonitor   1. FREB: When is comes to IIS7, FREB is a life saver! All we need is a FREB trace for any page which is hosted in the web site under question. A…


Referencing a class which is outside of App_Code folder in an ASP.Net Website project

Came across with this situation yesterday. The solution turns out to be simpler than expected. All we have to do is to get the class compiled in a dll and reference it!   Here are the steps   1. Open VS 2005/2008 –> Create New WebSite 2. In the Website project, Create a new folder…