“/”应用程序中的服务器错误。
在建立与服务器的连接时出错。在连接到 SQL Server 2005 时,在默认的设置下 SQL Server 不允许进行远程连接可能会导致此失败。 (provider: TCP 提供程序, error: 0 - 由于连接方在一段时间后没有正确答复或连接的主机没有反应,连接尝试失败。)
说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。
异常详细信息: System.Data.SqlClient.SqlException: 在建立与服务器的连接时出错。在连接到 SQL Server 2005 时,在默认的设置下 SQL Server 不允许进行远程连接可能会导致此失败。 (provider: TCP 提供程序, error: 0 - 由于连接方在一段时间后没有正确答复或连接的主机没有反应,连接尝试失败。)
源错误:
执行当前 Web 请求期间生成了未处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。 |
堆栈跟踪:
[SqlException (0x80131904): 在建立与服务器的连接时出错。在连接到 SQL Server 2005 时,在默认的设置下 SQL Server 不允许进行远程连接可能会导致此失败。 (provider: TCP 提供程序, error: 0 - 由于连接方在一段时间后没有正确答复或连接的主机没有反应,连接尝试失败。)]
System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +105
System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +82
System.Data.SqlClient.SqlConnection.Open() +111
System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +105
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64
System.Data.SqlClient.SqlConnection.Open() +111
CSDN.Community.DataProvider.UserDataProvider.GetUserPointByUserName(String userName, Int32& totalPoint, Int32& spentPoint, Int32& userPoint, Int32& totalTechPoint, Int32& spentTechPoint, Int32& totalNonTechPoint, Int32& previousRank, Int32& lastRank) +179
CSDN.Community.HomePage.Region_UserInfo.GetUserPoint(String userName) +131
CSDN.Community.WebSite.HomePage.GetUserPoint(HttpContext context) +141
CSDN.Community.WebSite.HomePage.GetUserPoint(HttpContext context) +141
System.Web.HttpSubstBlockResponseElement.Substitute(Encoding e) +25
System.Web.HttpSubstBlockResponseElement.Substitute(Encoding e) +25
System.Web.HttpWriter.UseSnapshot(ArrayList buffers) +89
System.Web.HttpWriter.UseSnapshot(ArrayList buffers) +89
System.Web.HttpResponse.UseSnapshot(HttpRawResponse rawResponse, Boolean sendBody) +192
System.Web.HttpResponse.UseSnapshot(HttpRawResponse rawResponse, Boolean sendBody) +192
System.Web.Caching.OutputCacheModule.OnEnter(Object source, EventArgs eventArgs) +2789
System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +105
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64
System.Data.SqlClient.SqlConnection.Open() +111
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64
CSDN.Community.DataProvider.UserDataProvider.GetUserPointByUserName(String userName, Int32& totalPoint, Int32& spentPoint, Int32& userPoint, Int32& totalTechPoint, Int32& spentTechPoint, Int32& totalNonTechPoint, Int32& previousRank, Int32& lastRank) +179
CSDN.Community.HomePage.Region_UserInfo.GetUserPoint(String userName) +131
CSDN.Community.WebSite.HomePage.GetUserPoint(HttpContext context) +141
System.Web.HttpSubstBlockResponseElement.Substitute(Encoding e) +25
System.Web.HttpWriter.UseSnapshot(ArrayList buffers) +89
System.Web.HttpResponse.UseSnapshot(HttpRawResponse rawResponse, Boolean sendBody) +192
System.Web.Caching.OutputCacheModule.OnEnter(Object source, EventArgs eventArgs) +2789
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +105
System.Data.SqlClient.SqlConnection.Open() +111
CSDN.Community.DataProvider.UserDataProvider.GetUserPointByUserName(String userName, Int32& totalPoint, Int32& spentPoint, Int32& userPoint, Int32& totalTechPoint, Int32& spentTechPoint, Int32& totalNonTechPoint, Int32& previousRank, Int32& lastRank) +179
CSDN.Community.HomePage.Region_UserInfo.GetUserPoint(String userName) +131
CSDN.Community.WebSite.HomePage.GetUserPoint(HttpContext context) +141
System.Web.HttpSubstBlockResponseElement.Substitute(Encoding e) +25
System.Web.HttpWriter.UseSnapshot(ArrayList buffers) +89
System.Web.HttpResponse.UseSnapshot(HttpRawResponse rawResponse, Boolean sendBody) +192
System.Web.Caching.OutputCacheModule.OnEnter(Object source, EventArgs eventArgs) +2789
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64
|
版本信息: Microsoft .NET Framework 版本:2.0.50727.1433; ASP.NET 版本:2.0.50727.1433