Select the product you need help with
FIX:ASP.NET SQL Server 会话状态模拟在负载情况下丢失文章编号: 324479 - 查看本文应用于的产品 症状 如果 ASP.NET 应用程序使用集成的 SQL Server 会话状态,则可能会在客户端浏览器中收到以下错误信息: Login failed for user '(null)'.Reason:Not associated with a trusted SQL Server connection. 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.Data.SqlClient.SqlException:Login failed for user '(null)'.Reason:Not associated with a trusted SQL Server connection. Source Error: An unhandled exception was generated during the execution of the current web request.Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace: [SqlException:Login failed for user '(null)'.Reason:Not associated with a trusted SQL Server connection.] System.Data.SqlClient.SqlConnection.Open() +761 System.Web.SessionState.SqlStateConnection..ctor(String sqlconnectionstring) +105 [HttpException (0x80004005):Unable to connect to SQL Server session database.] System.Web.SessionState.SqlStateConnection..ctor(String sqlconnectionstring) +195 System.Web.SessionState.SqlStateClientManager.GetConnection() +73 System.Web.SessionState.SqlStateClientManager.GetExclusive(String id) +32 System.Web.SessionState.SqlStateClientManager.BeginGetExclusive(String id, AsyncCallback cb, Object state) +6 System.Web.SessionState.SessionStateModule.GetSessionStateItem() +70 System.Web.SessionState.SessionStateModule.PollLockedSessionCallback(Object state) +171 [HttpException (0x80004005):Exception of type System.Web.HttpException was thrown.] System.Web.HttpAsyncResult.End() +54 System.Web.SessionState.SessionStateModule.EndAcquireState(IAsyncResult ar) +18 System.Web.AsyncEventExecutionStep.OnAsyncEventCompletion(IAsyncResult ar) +80 原因解决方案Microsoft 现在提供了受支持的修复程序,但该程序只是为了解决本文所介绍的问题。仅当计算机遇到本文提到的特定问题时才可应用此修复程序。此修复程序可能还会接受进一步测试。因此,如果这个问题没有对您造成严重的影响,Microsoft 建议您等待包含此修复程序的下一个 Microsoft .NET Framework Service Pack。 要立即解决此问题,请与 Microsoft 产品支持服务联系,以获取此修复程序。要获取 Microsoft 产品支持服务电话号码和支持费用信息的完整列表,请访问下面的 Microsoft 网站: http://support.microsoft.com/default.aspx?scid=fh;[LN];CNTACTMS 注意:特殊情况下,如果 Microsoft 支持专业人员确定某个特定的更新程序能够解决您的问题,可免收通常情况下收取的电话支持服务费用。对于特定更新程序无法解决的其他支持问题和事项,将正常收取支持费用。
(http://support.microsoft.com/default.aspx?scid=fh;%5Bln%5D;cntactms)
此修复程序的英语版具有下表中列出的文件属性(或更新的属性)。这些文件的日期和时间按协调通用时间 (UTC) 列出。当您查看文件信息时,该时间将转换为本地时间。要了解 UTC 与当地时间之间的时差,请使用“控制面板”中“日期和时间”工具的时区选项卡。 日期 时间 版本 大小 文件名 ------------------------------------------------------------- 13-Jun-2002 04:46 1.0.3705.289 192,512 Aspnet_isapi.dll 13-Jun-2002 04:39 1.0.3705.289 19,332 Aspnet_perf.ini 13-Jun-2002 04:46 1.0.3705.289 24,576 Aspnet_regiis.exe 13-Jun-2002 04:46 1.0.3705.289 2,872 Aspnet_wp.exe 22-Apr-2002 17:54 1.0.3705.289 8,709 SmartNav.js 22-Apr-2002 17:54 1.0.3705.289 7,003 SmartNavIE5.js 13-Jun-2002 22:23 1.0.3705.289 1,187,840 System.Web.dll 状态属性文章编号: 324479 - 最后修改: 2005年9月5日 - 修订: 2.1
Microsoft和/或其各供应商对于为任何目的而在本服务器上发布的文件及有关图形所含信息的适用性,不作任何声明。 所有该等文件及有关图形均"依样"提供,而不带任何性质的保证。Microsoft和/或其各供应商特此声明,对所有与该等信息有关的保证和条件不负任何责任,该等保证和条件包括关于适销性、符合特定用途、所有权和非侵权的所有默示保证和条件。在任何情况下,在由于使用或运行本服务器上的信息所引起的或与该等使用或运行有关的诉讼中,Microsoft和/或其各供应商就因丧失使用、数据或利润所导致的任何特别的、间接的、衍生性的损害或任何因使用而丧失所导致的之损害、数据或利润不负任何责任。 |



回到顶端








