polynominal
asked on
Lock Outs
I developed two stored procedures on Friday for two seperate Crystal Reports, every time I run them I get a message saying that I am deadlock victime, error 4001, failed to open a rowset. This does not happen for any other stored procedures, only 2 I wrote within an hour of each other. Is there any I can do about this or should I delete them and rewrite them?
If you can wait with second report until the first one finishes, thet will be no deadlock. But if you must run these reports simultaneously, you will probably have to redesign your procedures. There's a simple rule - access tables in the same order - tis way you can get locks, but you will probably avoid deadlocks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi, Thanks for the answers
I am not running the two reports together they are being run seperately, but still lock out individually
I am not running the two reports together they are being run seperately, but still lock out individually
did you tested the nolock option? did it helped or no joy?