I have a website on localhost and I am making a request to SQL Server 15 which is also located on my machine. I am not sure why but the request is getting timed-out while Visual Studio 2019 is running. Please see below:
Execution Timeout Expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
When I close VS and send the request again, the request gets processed successfully as shown below:
I have tried to use Visual Studio Code, but the same issue occurs, i.e only when I close Visual Studio Code the request returns successfully.
I have also increased the commandTimeout
but that is of no help.
There are also no open transactions in the database. I am unable to debug my application in VS. Please help, thank you.