During the ASP.NET execution of my app, it seems SQL 2008 Express holds some lock, and I get
Timeout expired. The timeout period elapsed prior to completion ofthe operation or the server is not responding
Maybe some of my query is not optimized. Visual Studio crashes with:
Microsoft Visual Studio may be unstable now. It is recommended thatyou save all files and exit.
I need to see what query is blocking my tables, but I have the Express version. How can I do?
Thanks
You can query against the sys.dm_tran_locks dynamic view to obtain this information. Go here on MSDN to lean more.
exec sp_lock
and
exec sp_who2
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With