Visual Studio 2010 freezes when asp.net site debugging starts

I have a problem with Visual Studio 2010 on Windows 7 x64. When I started debugging the asp.net site, it stopped working. Only the solution restarts IIS. Does anyone know about this?

thanks

+4
source share
4 answers

As Peter mentioned, manual connection through the Attach to Process dialog should work.

Another option is to temporarily upgrade the project to the .NET Framework version 4.0. In the IDE, this can be done in the Build section of the project properties.

We are still studying the problem to find a longer-term solution.

Sorry for the inconvenience caused by this issue.

+2
source

This M $ Connect article directly points to the topic: http://connect.microsoft.com/VisualStudio/feedback/details/556000/vs-2010-hangs-when-debugging-asp-net-3-5-web-application- or-website

In addition to the various intermediate solutions offered, it seems that the official Microsoft VS 2010 HotFix is โ€‹โ€‹available here: http://archive.msdn.microsoft.com/KB2106584/Release/ProjectReleases.aspx?ReleaseId=4834 .

NTN

+1
source

Here is a workaround that helped me:

Go to Debug-> Attach to Process. If the "Attach to" field says "Automatically: source code", click the "Select ..." button. In the Select Code Type dialog box, change the Automatically Detect Code Type for Debugging option to Debug These Code Types and select ONLY options for the project. For me it was "Managed (v2.0, v1.1, v1.0)." Click OK. Then click Cancel in the Attach to Process dialog box.

At this point, I can now do F5 Debugging.

Hope this helps!

0
source

For what is worth, I had this problem this morning out of nowhere. In my case, I convert the database to web pages, and one of the folders of one of the projects in my solution now has more than 200 thousand html pages. As soon as I turned off my solution and deleted the project with debugging giant folders, it worked again.

This is not like what happens when doing a global search, and vs 2010 is trying to find a folder with a huge number of files.

-1
source

Source: https://habr.com/ru/post/1308745/


All Articles