I am receiving this error when I try to debug the application connecting through VPN.Any suggestions please
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.
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.
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.
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.
Increase timeout of the Application Pool of your website on IIS from 90 to 120 (or even more), then restart IIS
Make sure the pool for your website worked again after you restarted IIS
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