Looking to deploy the Atlas Framework to our production environment and I realized their registration script for the http handler only registers the script on the first site (site ID 1). Since we have multiple sites I thought I'd through together a more robust registration script based on my previous blog entry that I thought I'd share: 1 Option Explicit 2 Dim WMIService, ApplicationPool, ApplicationPools, Applications, index, VirtualDirectorySettings 3 Dim ApplicationName, ScriptMap, FoundMapping,...
Ever get the following error? “It is not possible to run two different versions of ASP.NET in the same IIS process. Please use the IIS Administration Tool to reconfigure your server to run the application in a separate process.” And of course you don't want to spend all day going through the IIS MMC dialog boxes on a web server with a large number of applications....
I really liked the original exception management block put out by Microsoft. The reason is because it included all the information relating to an exception - not just the Message property. It made production debugging a breeze. Now with ASP.NET 2.0 and Health Monitoring something similar has been created but it doesn't quite cover all the details. I first ran into this in an application where I had created a custom exception, ArgumentFormatException, and passed along two additional properties. After...
I've always been puzzled as to why the Web Site Administration tool shipped with ASP.NET 2.0 didn't seem to function nor error out when I had a brand new application being developed on my workstation where SQL Server 2005 Developer Edition is installed. The ASP.NET 2.0 machine configuration has a pre-defined connection string for providers which is tied to the default SQL Server 2005 Express Edition configuration that ships with Visual Studio 2005. I never installed the Express edition because the...