One thing you must do when: Request.Url.Host is returning an unexpected result

  Scenario: You are using Request.Url.Host property in your web application. You are expecting it to return the friendly host name but it is returning the NetBIOS name of server instead, or vice-versa, there are many possible combination on how this could go wrong. But the bottom line is, Request.Url.host property is not returning the…


One thing you must do when: getting http 500.0.1346 error

  While browsing your IIS hosted website (or any of the application, virtual directory) you run into the standard Http 500 error message. When you look into the IIS logs for respective site, you find an entry similar to this 2012-08-08 10:10:10 xx.xx.xx.xxxx GET /test.htm – 80 – yy.yy.yy.yyyy Mozilla/4.0+(compatible;+MSIE+8.0;+Windows+NT+6.1;+WOW64;+Trident/4.0;+SLCC2;+.NET+CLR+2.0.50727;+.NET4.0C; +.NET4.0E;+.NET+CLR+3.5.30729; +.NET+CLR+3.0.30729) 500 0 1346…


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…


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…