页面刷新时的事务死锁错误 [英] Transaction deadlock Error when Page Refreshing

查看:58
本文介绍了页面刷新时的事务死锁错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在asp.net中有一个网页.
该页面需要每3分钟刷新一次.
为此,我有
在网页的页面加载中使用了代码,例如

I Have a Web Page in asp.net .
The Page needs to refresh after every 3 minutes.
For this I have
used the Code in the Page load of the Web page like

Response.AppendHeader("Refresh", "300000")


而且工作也很好,
但是我的问题是,如果两个以上的用户
同时访问该页面
并且页面刷新时.
然后出现事务错误死锁.
那么如何解决此问题.


And is working fine also,
But my problem is that ,If more than two users
accessing that page at same time
and when page is refreshing .
then am getting Transaction error Deadlock.
So how to solve this Issue.

推荐答案

SQL SERVER-如何处理死锁 [
http://blog.sqlauthority.com/2007/05/16/sql-server-fix-error-1205-transaction-process-id-was-deadlocked-on-resources-with-another-process-and-has-been-chosen-as-the-deadlock-victim-rerun-the-transaction/[^]

SQL SERVER - How To Handle Deadlock[^]


这篇关于页面刷新时的事务死锁错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆