Linq row not found or changed

Error Message: Row not found or changed. Stack Trace: at System.Data.Linq.ChangeProcessor.SubmitChanges(ConflictMode failureMode) at System.Data.Linq.DataContext.SubmitChanges(ConflictMode failureMode) This occurs seemingly randomly. I get emailed these errors, and the URL reported always seems to work for me and should be functioning for everyone else as well. I can fix this error by: Going to my dbml layout Selecting … Read more

How to maintain page scroll position after a page postback in asp.net

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="Server"> <meta http-equiv="refresh" content="4" /> <script type="text/javascript"> var xPos1, yPos1; var prm = Sys.WebForms.PageRequestManager.getInstance(); prm.add_pageLoading(pageLoadingHandler); prm.add_pageLoaded(pageLoaded); function pageLoaded(sender, args) { $get('<%=Panel_Users.ClientID %>').scrollLeft = xPos1; $get('<%=Panel_Users.ClientID %>').scrollTop = yPos1; } function pageLoadingHandler(sender, args) { xPos1 = $get('<%=Panel_Users.ClientID %>').scrollLeft yPos1 = $get('<%=Panel_Users.ClientID %>').scrollTop; } </script> </asp:Content> Doesn’t work, where am I going wrong <asp:ScriptManager … Read more

ASP.Net MVC4 configuration error after installing MySQL Connector .NET

I’m creating a MVC4 web application project.When i’m using empty project and simply run it on browser it works fine.But the problem is when i’m trying to create a Internet application project instead of Empty project.Once i created internet application project and when trying to run it on browser it shows following configuration error.As i understood it’s something related to MySQL connector assembly reference.Anyhow following is the error.