Browse by Tags

Many-to-one Client certificate mapping is used by the Internet Information Services (IIS) to associate an end user to a windows account when the client certificate is used for the user authentication. The user session is executed under the context of this mapped windows account by IIS. For this to work...

In general, a 500.19 error happens due to invalid configuration data. The IIS configuration system will almost always point to the source of the problem. At the same time, sometimes it is important to examine the “Error Code” field which symbolizes the cause of problem. Here’s an example of how a 500...

I recently helped a customer with an issue where ASP pages would not execute and returned the following error page:
HTTP Error 500.0 - Internal Server Error
If you check the Detailed Error page you will see the following additional information (NOTE: Steps to enable and use Detailed Errors can...

The IIS 7 manager provides a UI for almost all sections for the web.config. It does simplify things for administrators but I have seen a couple of cases where this has lead to interesting problems.
Let us consider the Machine Key feature that the IIS 7 manager provides. It is well known that when...

In my previous post , I wrote about using FREB to troubleshoot a simple error message to identify the module which sets the error. For this post, let’s assume we are troubleshooting a slow running page (any page, be it aspx, asmx, html, etc). Not always I would recommend you to collect a dump to...

Recently, I came across an issue where the customer faced an FIPS (Federal Information Processing Standards) related error on the .aspx pages which had debug=”true”. His ASP.net application was hosted on IIS7 running on Windows Server 2008 SP2. And, he was able to reproduce the issue using a very simple...

FREB (Failed Requests Tracing – formerly known as Failed Request Event Buffering) is one of the nicest features released with IIS7 which would come in handy during troubleshooting. It does request based tracing, and produces a log file (in .xml format) that shows events and notifications from the various...

The following article is an excellent reference when trying to figure out how to set SPN’s for your IIS Site.
http://support.microsoft.com/kb/929650
I wanted to focus on the SPN helper script in the article, and how it can be used in a very simple way when setting your own SPN’s, to avoid the common...

Metabase.xml is the central store where IIS 6.0 stores most of its configuration information. Its a plain text file and stores all the information in a simple XML format. The XML format naturally raised a notion of being able to XCOPY the config file to another server and transferring the settings with...

If you implement custom health monitoring events in ASP.NET chances are that you should have worked with WebBaseEvent or WebErrorEvent classes and used the WebBaseEvent.Raise() method to fire those events. Recently an interesting issue related to this WebBaseEvent.Raise() was brought to my notice. Suppose...

I was recently working on a reporting web application that uses the Report Viewer ( ReportViewer ) control that ships with SQL Server Reporting Services (SSRS). The Report Viewer control was rendering perfectly when I was developing using Visual Studio 2008. The trouble started when I published the web...

Thanks to Robert Patrick for submitting these issues
There have been some issues recently where users complain of SSL connections suddenly no longer working with IIS7. Users can connect to IIS7 websites over http://, but browsing to https:// fails with the typical “Cannot find server or DNS...

Most people on installing .NET 3.5 on the server "expect" an entry for v3.5 under the ASP.NET version Tab in IIS manager. And not finding that entry start panicking. If you have been one of those read on. The more tech savvy folks try to run aspnet_regiis -i from the v3.5 framework folder...

After sending an HTTP request to an IIS server, an HTTP client (such as Internet Explorer) may display the following type of error message in the browser window:
If Internet Explorer’s Friendly HTTP Error Messages option is turned off, the error may resemble the following:
...

Introduction
The purpose of this blog post is to discuss how to mask an IIS server’s IP address from being sent as part of an HTTP response. By default, IIS can send a server’s IP address in the Content-Location or Location response headers of a response. Beginning in Windows 2003 SP1, you can configure...

If you are a Server Core fan, and wished you could host ASP.NET websites in Server Core, then feel better, you wish had come true. Windows Server 2008 R2’s Server Core will have .NET Framework which means, ASP.NET too. This is a big news for all those wanted to deploy Server Core, but stopped because...

Special thanks to Sean Everhart for contributing this topic
Internet Explorer 8.0 introduces a new method of interpreting and displaying the HTML data sent from web servers. In some cases, this can result in the web pages being displayed to users incorrectly. For example the pages may display with...

In IIS6.0, you had IisFTP.vbs file which you would use to set msIIS-FTPRoot and msIIS-FTPDir property for the user in Active directory. But, in Windows Server 2008, the IisFTP.vbs won’t work. You need to either set it manually in the Active Directory using ADSIEdit or other tools, or just use this one...

Do you have a high traffic site where you have a lot of WMV/AVI/FLV/PDF documents (or any other MIME type) where your maximum bandwidth of the site is utilized? Do you ever think where majority of the bandwidth would go? Most of the users do not completely watch the video or listen to audio, or do not...

In the last post I was talking about writing a simple UI extension which would appear like below: How about you adding this to the IIS manager hierarchy – just below “Application Pools” and “FTP Sites”? Here is what you need to do additional to the steps you followed using my previous blog on this. Add...

You should follow this article on IIS.net to create your first “simple” IIS7 UI extension which would just display a message box when loaded.
In this blog, I’m going to explain you how you could design a UI module where you can add any UI control that you might add to a WinForm.
Basically...

Internet Information Services (IIS) 7.0 adds some significant new functionality to the manageability and customization of error messages. The three main areas of improvement when compared to IIS 6.0 are Custom vs. Detailed error pages, better configurability of custom errors, and language-specific custom...

Here are last weeks updates to the ASP.NET Debugging blog: Code Gallery and CodePlex, how are they different and what are their benefits? An Open Debugger Extension Job openings with the .NET Framework Team ASP.NET Tips- What to gather to troubleshoot – part 1 – High CPU

A common issue we see customers having is after installing ASP.NET 2.0, the ASP.NET Tab is missing from IIS.
This tab is used for setting the version of ASP.NET and a lot of other things.
When this tab is missing, it can be rather difficult to get it to appear. So we now have a way to fix this...

If you select Log File format as “Custom” in the IIS manager, it doesn’t give you options to configure ODBC logging in the UI. Instead, it just gives you an alert saying it cannot be configured through IIS manager which you already know. But, in the previous versions of IIS, you would...