You are currently offline, waiting for your internet to reconnect

FIX: You may receive an "InvalidCastException" error message when you try to debug the dump files for Windows SharePoint Services

This article has been archived. It is offered "as is" and will no longer be updated.
When you try to debug the dump files for Microsoft Windows SharePoint Services, you may receive an "InvalidCastException" error message. Additionally, you may experience an incomplete disposal or bad disposal behavior.

This problem occurs when Windows SharePoint Services is running together with Microsoft ASP.NET 2.0.
This problem occurs because of a bug in the Dispose method of the SqlSessionState.PartitionManager class.
A supported hotfix is now available from Microsoft. However, it is intended to correct only the problem that this article describes. Apply it only to systems that are experiencing this specific problem.

To resolve this problem, contact Microsoft Customer Support Services to obtain the hotfix. For a complete list of Microsoft Customer Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.


You must be running the Microsoft .NET Framework 2.0 to apply this hotfix.

Restart information

You do not have to restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix replaces the hotfixes that are described in the following Microsoft Knowledge Base articles:
911276 FIX: Error message when you try to go to an ASP.NET page by using a URL that contains Unicode characters: "HTTP error 400 'bad request'"
920970 FIX: You may experience an unexpected AppDomain restart in an ASP.NET Web application that is based on the .NET Framework 2.0
913393 FIX: You receive an exception error message when you specify a Content-Length HTTP header that is larger than 2 GB in ASP.NET 2.0
915782 FIX: You may receive an InvalidCastException error in an ASP.NET-connected Web application
918181 FIX: You receive a ThreadAbortException exception in an ASP.NET Web application that is based in the .NET Framework 2.0 when the Async page directive property is set to true
922770 MS06-056: Vulnerability in ASP.NET 2.0 could allow for information disclosure
911300 Error message when you try to browse the root folder of a Web application that is built on the .NET Framework 2.0: "Object reference not set to an instance of an object"
923707 FIX: Some characters in a text resource may not appear correctly when you try to embed the text resource in a Web application that is built on the .NET Framework 2.0
925248 FIX: The data in a POST request is truncated to 49,152 bytes when an ASP.NET-connected application receives the POST request
922345 FIX: Error message when you try to run an ASP.NET 2.0 Web application that includes Web services: "The file <FilePath> does not exist"

File information

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.
For 64-bit versions
File nameFile versionFile sizeDateTimePlatform
For 86-bit versions
File nameFile versionFile sizeDateTimePlatform
For Itanium based versions
File nameFile versionFile sizeDateTimePlatform
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
For more information, click the following article number to view the article in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updates

Article ID: 925613 - Last Review: 12/09/2015 07:20:41 - Revision: 1.4

Microsoft .NET Framework 2.0

  • kbnosurvey kbarchive kbprb kbqfe kbhotfixserver kbfix KB925613