Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

FIX: Invalid Object in ASP Session State


View products that this article applies to.

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.

↑ Back to the top


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: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.

↑ Back to the top


Keywords: KB810245, kbbug, kbfix, kberrmsg, kbqfe, kbhotfixserver

↑ Back to the top

Article Info
Article ID : 810245
Revision : 6
Created on : 10/21/2005
Published on : 10/21/2005
Exists online : False
Views : 334