tag:blogger.com,1999:blog-6082652835152798567.post7103549326940881369..comments2024-03-19T00:55:43.409-07:00Comments on Sql server, .net and c# video tutorial: Retry logic for deadlock exceptionsUnknownnoreply@blogger.comBlogger3125tag:blogger.com,1999:blog-6082652835152798567.post-1645649643245809622017-05-27T11:17:55.786-07:002017-05-27T11:17:55.786-07:00I finally got the program to run. I had to use thi...I finally got the program to run. I had to use this solution from the web -<br /> ~/App_Start/RouteConfig.cs.<br /><br /> The followint line of code in this file must be changed:<br /><br /> From: settings.AutoRedirectMode =RedirectMode.Permanent;<br /><br /> To: settings.AutoRedirectMode = RedirectMode.Off;Joe Regallishttps://www.blogger.com/profile/04151850514299502679noreply@blogger.comtag:blogger.com,1999:blog-6082652835152798567.post-24731955571689303902017-05-27T09:41:25.670-07:002017-05-27T09:41:25.670-07:00When I click the button on Webform1 or Webform2, I...When I click the button on Webform1 or Webform2, I get the message "Deadlock Occurred. ZERO attempts left. Please try later" immediately. It does not say "Updating....".Joe Regallishttps://www.blogger.com/profile/04151850514299502679noreply@blogger.comtag:blogger.com,1999:blog-6082652835152798567.post-50523989205638739212017-03-04T19:56:26.366-08:002017-03-04T19:56:26.366-08:00Hey Venkat,
When I run this Part 85 example, the ...Hey Venkat,<br /><br />When I run this Part 85 example, the Webform1.aspx just hangs after displaying "Updating ...". I know it gets into the success anonymous function(), because I added a text message to see if it did (see snippet). It never executes the "lblMessage.text(data.d.Message);" statement, though. It just stops there. I'm running Visual Studio 2015 and jQuery 3.1.1 (I also jQuery 1.11.2, but had the same problem).<br /><br />Snippet ...<br /><br /> success: function (data) {<br /> lblMessage.css('color', 'magenta');<br /> lblMessage.text('Now at the top in Webform1\'s success anonymous() function ...');<br /> // ***** We\'ve reached here successfully! ***** //<br /> lblMessage.text(data.d.Message);<br /> <br /><br />Any Ideas? Cheers,<br /><br />David<br /><br />david.bailey@technologist.com<br />Anonymousnoreply@blogger.com