IIS 6.0 – Disabling ASP.NET on all virtual directories, but one?

One of my customer running IIS 6.0 had this special scenario where he would like to run ASP.NET 2.0 applications only on a single virtual directory on the entire server. He would like to isolate his Virtual Directory alone to have the ScriptMaps of ASP.NET, but not any other website or virtual directory or a…

1

VBScript code for setting HttpRedirect Property for a IIsWebFile programmatically

I was helping one of my colleague whose customer wanted a custom VBScript file which sets redirection for certain files under a virtual directory. He wanted to use VBScript alone to achieve this. A IIsWebFile node will be created in the metabase only when you specifically set a property for the file like HttpRedirect through…

0

Generating IIS hang dumps when a certain event is triggered in the event viewer

I was working with one of my customer where he had a problem with his website running on a Windows 2003 Server 64 bit and worker processes are running in the 64-bit mode. He was getting “A process serving application pool ‘DefaultAppPool’ failed to respond to a ping” event in his event viewer. This is…

1

ASP.NET_2.0.50727.210 shown as unknown in IIS Manager even after the filter gets loaded in the w3wp.exe process

PROBLEM ASP.NET_2.0.50727.210 shown as unknown in IIS Manager even after the filter gets loaded in the w3wp.exe process. CAUSE Certain Metabase ACLs were missing for the user under which the AppPool runs. Typically, after loading the filter, the Metabase is modified; some new properties like FilterState, NotifyOrderLow, etc will be added. FilterState tells whether the…

0

User challenged for user credentials for every 5 minutes of inactivity while editing the site using FrontPage

Problem User challenged for user credentials for every 5 minutes of inactivity while editing the site using FrontPage. Environment Website configured for Digest Authentication Cause It is a default behavior of the Digest Authentication to challenge the user for user credentials for every 300 seconds (5 minutes) of inactivity. However, there is a registry key…

0

"HTTP Error 500 – Internal server error" for any page on the Virtual Directory or Website configured for a UNC path

Problem You get “HTTP Error 500 – Internal server error” while browsing any file under a website or virtual directory whose home directory is a UNC. You will also see in IIS logs, the sc-status sc-substatus sc-win32-status as 500 16 1326. Cause Unknown user name or password configured for the UNC in IIS Metabase. Resolution…

5

Browser prompts to download the default HTM / HTML files when browsing the site

Problem You will be prompted to download the HTM or HTML file (default document) if you browse http://servername or http://servername/vdir without specifying the file name in the URL. This occurs only if your default document is HTM and HTML files, not for ASP / ASPX Symptoms Fiddler trace shows that the request content type is…

0

IIS services down – "Error parsing XML file. Reason: An invalid character was found in text content" – 4275 Event from IIS Config in the System event log

Problem IIS Services are not starting Symptoms You may see the following events in the System Event log: Event 7024 from Service Control Manager – The IIS Admin Service service terminated with service-specific error 2149648394 (0x8021080A) Event 4275 from source IIS Config – Error parsing XML file. Reason: An invalid character was found in text content. Resolution…

10

Enabling Kerberos Delegation on a NLB scenario

  Most common support incidents we come across is the kerberos delegation issues. So I would like to list down the steps that need to followed for configuring IIS for the kerberos delegation. General steps to be followed on the IIS machine Make sure that NTAuthenticationProviders is set to “Negotiate,NTLM” c:\inetpub\adminscripts> cscript.exe adsutil set w3svc/ntauthenticationproviders “Negotiate,…

1

Won’t be able to change certain properties of the website – POPUP – "A non-fatal configuration error occured" when opening IIS Manager GUI

Problem You won’t be able to change certain properties of the website (ex. IPAddress). You may get a pop-up saying “A non-fatal configuration error occurred. Not all available information may be displayed” when you expand the computer name in the IIS Manager. Symptoms You may be able to create a website, but after creating that…

1