Server Error in '/' Application.

Row not found or changed.

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.Linq.ChangeConflictException: Row not found or changed.

Source Error:


Line 98:                 temp.ViewNum = Convert.ToInt32("0" + temp.ViewNum) + 1;
Line 99:                 temp.type = entity.type;
Line 100:                db.SubmitChanges();
Line 101:            }
Line 102:        }

Source File: c:\webhosting\data\App_Code\SiteView.cs    Line: 100

Stack Trace:


[ChangeConflictException: Row not found or changed.]
   System.Data.Linq.ChangeProcessor.SubmitChanges(ConflictMode failureMode) +924587
   System.Data.Linq.DataContext.SubmitChanges(ConflictMode failureMode) +400
   System.Data.Linq.DataContext.SubmitChanges() +24
   SiteView.saveViewInfo(ViewInfo entity) in c:\webhosting\data\App_Code\SiteView.cs:100
   Control_top.Page_Load(Object sender, EventArgs e) in c:\webhosting\data\Control\top.ascx.cs:49
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +52
   System.Web.UI.Control.OnLoad(EventArgs e) +97
   System.Web.UI.Control.LoadRecursive() +61
   System.Web.UI.Control.LoadRecursive() +134
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +693


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4330.0
XML 地图