Solved

deadlocked

Posted on 2004-09-30
5
257 Views
Last Modified: 2010-04-06
I'm getting this error:

Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][ODBC SQL Server Driver][SQL Server]Your transaction (process ID #398) was deadlocked with another process and has been chosen as the deadlock victim. Rerun your transaction.
/export_to_excel.asp, line 18

I have an ASP page that goes against SQL Server 7.0.

It runs a stored proc and returns the result into the page. The page works sometimes and the other times it brings back the above error.

Also I have the feature on the page to export the result to excel and it's giving me the same problem.



0
Comment
Question by:jaze95
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 23

Expert Comment

by:apresto
ID: 12190581
Heres a couple of little articles on it:

http://www.winnetmag.com/Article/ArticleID/14027/14027.html

http://p2p.wrox.com/archive/sql_server/2002-10/9.asp

dont know if it has anything to do with it but you werent getting any other replies so i thought id give you something to do ;o)
0
 
LVL 49

Assisted Solution

by:Roonaan
Roonaan earned 125 total points
ID: 12197734
Does ASP support synchronize as Java does?

Otherwise caching could be usefull, if that is doable in your situation. This will remove some load from the export_to_excel.asp as you have stored the already generated stuff elsewhere. The change of having deadlocks on the export function should therefor be somewhat less.

-r-
0
 
LVL 2

Author Comment

by:jaze95
ID: 12217337
It's happening on the page with the export to excel feature. That page isn't coming up
0
 
LVL 2

Author Comment

by:jaze95
ID: 12217795
I submit some dates that run's a stored proc and returns a result to a page. On this page I have a button that will allow a user to export to excel.

0
 
LVL 34

Accepted Solution

by:
arbert earned 125 total points
ID: 12218802
This is more of a SQL problem than an ASP problem...

I would suggest running SQL Profiler to determine what's causing the deadlocks...
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
PHP email variable syntax 3 53
Contact Forms for Website 6 87
JQuery tracking event. 3 91
Cordova Camera plugin fails 2 194
Preface In the first article: A Better Website Login System (http://www.experts-exchange.com/A_2902.html) I introduced the EE Collaborative Login System and its intended purpose. In this article I will discuss some of the design consideratio…
JavaScript has plenty of pieces of code people often just copy/paste from somewhere but never quite fully understand. Self-Executing functions are just one good example that I'll try to demystify here.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question