I've had an ongoing issue with the following exception when calling SubmitChanges() on a data context:
"Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. The statement has been terminated."
This is happening on an ASP.NET web application that is being used by 5-100 concurrent users. Note that increasing the timeout period for the site/database has not helped and the queries being run are very simple and fast. I've gone so far as to remove the timeout period altogether which causes the site to hang indefinitely when the error occurs.
Other aspects of this problem:
- It's intermittent and can't be reproduced reliably
- It only occurs in a couple of different methods, never any others
- Increasing or removing the timeout period does not help
- Rebooting the server and restarting the MSSQL database hasn't helped
This seems like it might be a concurrency/deadlocking issue but I have no idea how to debug it or fix it. Any ideas?