Some ASP.NET, IIS and CLR fixes

My job involves a wide variety of stuff, from investigation, debugging, diagnosing and solving of specific customer problems through passing on product feedback and bug reports to product groups and mentoring other support engineers on their cases to looking at how we can make our support processes and products better.

Many of the customer problems I help with can be resolved by applying an existing fix or service pack or by making some configuration change or code fix to the customer’s application.

However every year there are some cases that need to be solved by getting a new hotfix patch produced for one of our products. These cases are always some of the most interesting problems I work on and there are sometimes challenges in getting such fixes prepared tested and delivered. It’s very important we get these right as those code changes get checked into a common servicing code base and are then included in future hotfix packages and service packs. Once finalised, each problem and fix gets documented in a KB article.

Here are some of the ones I’ve been directly involved in over the last 12 months.



FIX: Error message when you view a page in design mode after you recompile a .NET Framework 3.5 Service Pack 1-based project: "Error creating control – 'ControlInstanceName [text]' could not be set on property 'PropertyName'"

FIX: The pop-out menus are not displayed when you use Internet Explorer 8.0 in Standards mode to view an ASP.NET Web page that has dynamic menus

FIX: Error message when you compile an ASP.NET project that contains many application resource files: "A first chance exception of type 'System.ArgumentException' occurred in mscorlib.dll"

FIX: Code blocks embedded in an ASP.NET 2.0 Web page disappear when you use the Generate Local Resource tool in Visual Web Developer to generate a local resource file

KB967253 - Changes in the hyperlink field from the designer doesn’t get affected



FIX: On a computer that has the .NET Framework 3.5 Service Pack 1 installed, an exception is thrown when an application calls the GetOptionalCustomModifiers method or the GetRequiredCustomModifiers method on a ParameterInfo object of a generic interface

FIX: On a computer that is running the .NET Framework 3.5 Service Pack 1, the JIT compiler and the Native Image Generator (Ngen.exe) that use the Mscorjit.dll file may generate incorrect code

FIX: An application that serializes and deserializes a generic class that has at least one static member fails on a computer that is running the .NET Framework 3.5 Service Pack 1

FIX: A TypeLoadException exception occurs when you run a .NET Framework 3.5 SP1-based application



FIX: You receive a Stop 0x0000007e error message on a blue screen when the AppPoolCredentials attribute is set to true and you use a domain account as the application pool identity in IIS 7.0

FIX: Web sites restart and you receive Event ID 1000 with faulting application svchost.exe_WAS in Internet Information Services (IIS) 7.0

FIX: The applicationHost.config file may be temporarily inconsistent and you receive the "Configuration file is not well-formed XML" error message in a server that hosts IIS 7.0


Visual Studio

FIX: When you create a Web application in the Visual Studio 2008 Service Pack 1 IDE, some changes are not synchronized in some views, or some changes are displayed incorrectly in some views

Once a fix has been finalised it then becomes available for any customer to obtain either by calling Customer Service and Support, searching for ‘hotfix’ on the MSDN code gallery or in more and more cases directly downloading the fix by clicking on the “Hotfix Download Available” link within the KB article (not all KB articles provide this option)

Hint: on the MSDN Code Gallery page, if you click on “Sort by” and then select “Current Release” you should see the most recently uploaded fixes listed first.