Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to start debugging on the web server. The operation has timed out

I am receiving this error when I try to debug the application connecting through VPN.Any suggestions please

like image 631
Chaitu Avatar asked Feb 15 '18 17:02

Chaitu


People also ask

Could not start debugging on the web server?

Open your project properties and make sure that the project is configured to connect to the correct Web server and launch URL. (Open Properties > Web > Servers or Properties > Debug depending on your project type.) If that does not work or you are debugging remotely, follow steps in Check your IIS Configuration.

Why I cannot debug in Visual Studio?

Go to Tools->Options->Debugging->General and see if the option "Use Managed compatibility mode" is selected. If it is, uncheck it and try again.

How do I enable debugging in Visual Studio?

In the Visual Studio toolbar, make sure the configuration is set to Debug. To start debugging, select the profile name in the toolbar, such as <project profile name>, IIS Express, or <IIS profile name> in the toolbar, select Start Debugging from the Debug menu, or press F5.


2 Answers

To solve this I did reset of IIS as per below command:

iisreset /stop
iisreset /start

If not simply rebooting the system will also work.

like image 65
Khushi4.net Avatar answered Sep 28 '22 08:09

Khushi4.net


Increase timeout of the Application Pool of your website on IIS from 90 to 120 (or even more), then restart IIS

Increase timeout of the Application Pool of your website on IIS from 90 to 120 or more then restart IIS

Make sure the pool for your website worked again after you restarted IIS

like image 25
Bashar Abu Shamaa Avatar answered Sep 28 '22 07:09

Bashar Abu Shamaa