Visual Studio quitting Debug unexpectedly (IIS error)

0

I came to share a solution that at least worked for me after several attempts. But first I'll explain the problem:

Once I was using windows 7, I had a problem starting a webapp debug when I clicked on the url input of the browser, started a new tab or in which input my view automatically had the debug shut down and the browser was closed (The same procedures have been performed in browsers: IE, Edge, Mozilla, Chrome and Opera)

Output window always showed me IIS errors such as [12712], [6392] among others, always alternating the error but without description.

EventViewer showed me an IIS warning:

  

The directory specified for caching compressed content   C: \ inetpub \ temp \ IIS Temporary Compressed Files \ Clr4IntegratedAppPool   is invalid. Static compression is being disabled.

I changed directory permissions among other things in IIS, but without success and without finding answers in forums from several countries (maybe by searched terms and error codes).

    
asked by anonymous 27.07.2018 / 18:37

1 answer

0

Finally, I came up with the following change that solved the problem in an inexplicable way for me as follows:

In VS go to Tools - > Options - > Projects and Solutions - > Web Projects

Disable the option that says to close Debug when the browser window closes.

Really inexplicable since I did not close the window, iis warning log stopped appearing, and there was no interaction before opening tabs and clicking inputs.

But if you are someone like me who is suffering formatting Windows reinstalling your 30Gb of visual studio swapping version and searching for solution without finding. It worked perfectly for me, no error presented more, the performance of the applications is perfect (Debug and Release).

    
31.07.2018 / 19:49