Microsoft KB Archive/810245

= FIX: Invalid Object in ASP Session State =

Article ID: 810245

Article Last Modified on 10/21/2005

-

APPLIES TO


 * Microsoft ASP.NET 1.0

-



SYMPTOMS
A Microsoft .NET-connected Web application stores a Component Object Model (COM) object in the session state. When you leave the application idle for 12 to 20 minutes, and then you try to gain access to the COM object again, you may receive an invalid object exception error message such as the following:

Server Error in '/TheTest Application' Application.

Object reference not set to an instance of an object.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.



RESOLUTION
A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that this article describes. Apply it only to systems that are experiencing this specific problem.

Note You must have a Visual Studio license agreement to obtain this hotfix.

To resolve this problem, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:

http://support.microsoft.com/contactus/?ws=support

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.

Keywords: kberrmsg kbbug kbfix kbqfe kbhotfixserver KB810245

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.