[DataConnection.ExecuteQuery]: Query: INSERT INTO CMS_EventLog ([EventType], [EventTime], [Source], [EventCode], [UserID], [UserName], [IPAddress], [NodeID], [DocumentName], [EventDescription], [SiteID], [EventUrl], [EventMachineName] ) VALUES ( @EventType, @EventTime, @Source, @EventCode, @UserID, @UserName, @IPAddress, @NodeID, @DocumentName, @EventDescription, @SiteID, @EventUrl, @EventMachineName); SELECT @@identity AS [EventID]: caused exception: The server failed to resume the transaction. Desc:43000008d8.<br>The transaction active in this session has been committed or aborted by another session.

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

[DataConnection.ExecuteQuery]: Query: INSERT INTO CMS_EventLog ([EventType], [EventTime], [Source], [EventCode], [UserID], [UserName], [IPAddress], [NodeID], [DocumentName], [EventDescription], [SiteID], [EventUrl], [EventMachineName] ) VALUES ( @EventType, @EventTime, @Source, @EventCode, @UserID, @UserName, @IPAddress, @NodeID, @DocumentName, @EventDescription, @SiteID, @EventUrl, @EventMachineName); SELECT @@identity AS [EventID]: caused exception: The server failed to resume the transaction. Desc:43000008d8.
The transaction active in this session has been committed or aborted by another session.

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

例外詳細資訊: System.Exception: [DataConnection.ExecuteQuery]: Query: INSERT INTO CMS_EventLog ([EventType], [EventTime], [Source], [EventCode], [UserID], [UserName], [IPAddress], [NodeID], [DocumentName], [EventDescription], [SiteID], [EventUrl], [EventMachineName] ) VALUES ( @EventType, @EventTime, @Source, @EventCode, @UserID, @UserName, @IPAddress, @NodeID, @DocumentName, @EventDescription, @SiteID, @EventUrl, @EventMachineName); SELECT @@identity AS [EventID]: caused exception: The server failed to resume the transaction. Desc:43000008d8.
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

堆疊追蹤:


[Exception: [DataConnection.ExecuteQuery]: Query: INSERT INTO CMS_EventLog ([EventType], [EventTime], [Source], [EventCode], [UserID], [UserName], [IPAddress], [NodeID], [DocumentName], [EventDescription], [SiteID], [EventUrl], [EventMachineName] ) VALUES ( @EventType, @EventTime, @Source, @EventCode, @UserID, @UserName, @IPAddress, @NodeID, @DocumentName, @EventDescription, @SiteID, @EventUrl, @EventMachineName); SELECT @@identity AS [EventID]: caused exception: The server failed to resume the transaction. Desc:43000008d8.
The transaction active in this session has been committed or aborted by another session.]
   CMS.DataProviderSQL.DataConnection.ExecuteNonQuery(String queryText, Object[,] queryParams, QueryTypeEnum queryType) +371
   CMS.DataEngine.GeneralConnection.ExecuteNonQuery(QueryParameters query) +453
   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