I get the following error when starting a request.
*
System.Data.SqlClient.SqlException: Timed out.The wait period expires before the operation is completed or the server is not responding. in System.Data.SqlClient.SqlConnection.OnError (SqlException exception exception, logical connection breaks)
Is this a connection timeout or a command timeout?
TIA
It looks like a team timeout. If you have a connection timeout, you will see from the stack trace that he selected from the SqlConnection.Open call. Any other timeout will be a command timeout.
, . - - sqlexception, .
, ? . , . , .
How long does the request take when starting from SSMS?
If you are fast, then the problem can be a dead end.
Do you use any transactions? Do you share the database with other applications / users?
More information would be very helpful.
Source: https://habr.com/ru/post/1744190/More articles:Transition from CodeRush to ReSharper (or vice versa). Any resources / help for the transition? - visual-studioPsexec, cmd and batch file - scriptingПрограммный доступ к CIL для типа .NET - reflectionWorking with time zones in C - cWhy do I even need to serialize first? - c #How to group a record in a database and a spreadsheet to write in a single "transaction", - javaМожно ли отправить обновление для приложения в AppStore без потери отзывов? - iphoneGrails deploys on Tomcat6 - tomcatDoes visual help insert extra spaces? - visual-studio-2010Changing the hash of an Android web view without reloading the page - javascriptAll Articles