Select the product you need help with
You lose session data for requests that are currently running when you configure an ASP.NET 2.0-based application to use SQLServer session-state modeArticle ID: 974367 - View products that this article applies to. On This PageSYMPTOMSConsider the following scenario:
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
Information for technical support: at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) at System.Data.SqlClient.SqlConnection.Open() at System.Web.SessionState.SqlSessionStateStore.SqlStateConnection..ctor(SqlPartitionInfo sqlPartitionInfo) RESOLUTIONAfter you install the hotfix, you must enable the hotfix so that it can take effect. To enable the hotfix, refer to the "Post-installation instructions" section. Hotfix informationA 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: 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.
(http://support.microsoft.com/contactus/?ws=support)
PrerequisitesFor Windows XP or Windows Server 2003, you must have the Microsoft .NET Framework 2.0 Service Pack 1 (SP1) installed to apply this hotfix. For Windows Vista and Windows Server 2008, you must have Windows Vista Service Pack 2 (SP2) or Windows Server 2008 SP2 installed to apply this hotfix.Restart requirementYou may have to restart the computer after you apply this hotfix if any affected files are being used when you install the hotfix. To avoid restarting the system, shut down all ASP.NET Web sites before you install the hotfix.Hotfix replacement informationThis hotfix does not replace any other hotfixes.Post-installation instructionsThis hotfix must be enabled in order to take effect. This hotfix cannot be automatically enabled. To enable this hotfix, add the following aspnet:SqlSessionState:RetryInterval application setting into the Web.config file:File informationThe 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 all supported x86-based versions of Windows Server 2003 and of Windows XPCollapse this table
For all supported x64-based versions of Windows Server 2003 and of Windows XPCollapse this table
For all supported IA-64-based versions of Windows Server 2003Collapse this table
For all supported x86-based versions of Windows Vista SP2 and of Windows Server 2008 SP2Collapse this table
For all supported x64-based versions of Windows Vista SP2 and of Windows Server 2008 SP2Collapse this table
For all supported IA-64-based versions of Windows Server 2008 SP2Collapse this table
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section. MORE INFORMATION
For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:
824684
(http://support.microsoft.com/kb/824684/
)
Description of the standard terminology that is used to describe Microsoft software updates
For more information about session-state modes, visit the following Microsoft Developer Network (MSDN) Web site: Session-state modes For more information about database mirroring, visit the following MSDN Web site:
(http://msdn.microsoft.com/en-us/library/ms178586.aspx)
Database mirroring overview
(http://msdn.microsoft.com/en-us/library/ms189852.aspx)
PropertiesArticle ID: 974367 - Last Review: October 7, 2011 - Revision: 2.0
|


Back to the top








