The server failed to resume the transaction. Desc:4300000512.<br>The transaction active in this session has been committed or aborted by another session.

'/' 應用程式中發生伺服器錯誤。

The server failed to resume the transaction. Desc:4300000512.
The transaction active in this session has been committed or aborted by another session.

描述: 在執行目前 Web 要求的過程中發生未處理的例外情形。請檢閱堆疊追蹤以取得錯誤的詳細資訊,以及在程式碼中產生的位置。

例外詳細資訊: System.Data.SqlClient.SqlException: The server failed to resume the transaction. Desc:4300000512.
The transaction active in this session has been committed or aborted by another session.

原始程式錯誤:


行 894:                                    if (AnalyticsHelper.TrackCountriesEnabled(siteName.Value))
行 895:                                    {
行 896:                                        IP2CountryHelper countryHelper = new IP2CountryHelper();
行 897:                                        string countryName = countryHelper.GetCountryByIp(ip);
行 898:                                        if (countryName != "")

原始程式檔: n:\wwwRoot\CFH41\App_Code\Global.asax.cs    行: 896

堆疊追蹤:


[SqlException (0x80131904): The server failed to resume the transaction. Desc:4300000512.
The transaction active in this session has been committed or aborted by another session.]
   System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) +212
   System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) +245
   System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +2843
   System.Data.SqlClient.TdsParser.TdsExecuteTransactionManagerRequest(Byte[] buffer, TransactionManagerRequestType request, String transactionName, TransactionManagerIsolationLevel isoLevel, Int32 timeout, SqlInternalTransaction transaction, TdsParserStateObject stateObj, Boolean isDelegateControlRequest) +935
   System.Data.SqlClient.SqlInternalConnectionTds.ExecuteTransactionYukon(TransactionRequest transactionRequest, String transactionName, IsolationLevel iso, SqlInternalTransaction internalTransaction, Boolean isDelegateControlRequest) +486
   System.Data.SqlClient.SqlInternalConnection.BeginSqlTransaction(IsolationLevel iso, String transactionName) +536
   System.Data.SqlClient.SqlInternalConnection.BeginTransaction(IsolationLevel iso) +16
   System.Data.SqlClient.SqlConnection.BeginDbTransaction(IsolationLevel isolationLevel) +86
   System.Data.Common.DbConnection.System.Data.IDbConnection.BeginTransaction(IsolationLevel isolationLevel) +19
   CMS.DataProviderSQL.DataConnection.BeginTransaction(IsolationLevel isolation) +197
   CMS.DataEngine.GeneralConnection.ExecuteNonQuery(QueryParameters query) +260
   CMS.DataEngine.GeneralConnection.ExecuteNonQuery(String queryName, Object[,] parameters) +42
   CMS.DataEngine.SimpleDataClass.Insert(Boolean getId) +301
   CMS.EventLog.EventLogProvider.LogEvent(String eventType, DateTime eventTime, String source, String eventCode, Int32 userId, String userName, Int32 nodeId, String documentName, String ipAddress, String eventDescription, Int32 siteId, String eventUrl) +1472
   CMS.EventLog.EventLogProvider.LogEvent(String eventType, DateTime eventTime, String source, String eventCode) +94
   CMS.WebAnalytics.IP2CountryHelper.GetDecompressedResourceString() +608
   CMS.WebAnalytics.IP2CountryHelper..ctor() +133
   Global.LogVisitor(SiteNameOnDemand siteName) in n:\wwwRoot\CFH41\App_Code\Global.asax.cs:896
   Global.RewriteUrl(String relativePath, ExcludedSystemEnum excludedEnum, ViewModeOnDemand viewMode, SiteNameOnDemand siteName) in n:\wwwRoot\CFH41\App_Code\Global.asax.cs:521
   Global.Application_AuthorizeRequest(Object sender, EventArgs e) in n:\wwwRoot\CFH41\App_Code\Global.asax.cs:306
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +80
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +171


版本資訊: Microsoft .NET Framework 版本:2.0.50727.8806; ASP.NET 版本:2.0.50727.8762