Click here to Skip to main content
15,991,686 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Error: A deadlock was detected while trying to lock variables "System::InteractiveMode" for read access and variables "User::AccessTables" for read/write access. A lock cannot be acquired after 16 attempts. The locks timed out.


What I have tried:

Could please suggest me how to resolve that eroor.
Posted
Updated 2-Aug-17 0:36am

1 solution

This can't be solved without seeing your code but you might forgot to call Unlock somewhere or uses locking for long tasks.

Maybe Todd McDermid's Blog: Use ReadOnlyVariables and ReadWriteVariables properties in Scripts[^] is helpful because it explains how to avoid locking at all.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900