I was debugging an ASP.Net application using VisualStudio and attaching the debugger to the w3p process.
Sometimes, the list of processes to attach to, does not show the w3p process.
How-I-fixed-it:
Here are some steps, that made the w3p process appear again in the list:
- Rebuild the solution
- Restart VisualStudio
- Logout from Windows and log in again
- Open the web application to be debugged in a browser window (this finally solved the problem on my computer)
This list of steps is a "best-of" the solution, i collected from the following sources:
http://stackoverflow.com/questions/1983439/why-cant-i-attach-to-the-w3wp-exe-process-when-i-turn-off-just-my-code-in-vs201
http://stackoverflow.com/questions/4313206/cannot-attach-debugger-to-w3wp
This blog is about problems i encountered in everyday life and how i fixed them or worked around them. Sometimes i also just post things to let people out there know about something i think it might be of interest for others than me....
Showing posts with label Visual Studio 2010. Show all posts
Showing posts with label Visual Studio 2010. Show all posts
Tuesday, September 15, 2015
Friday, September 26, 2014
Visual Studio 2010 wont start after uninstall .NET-Framework 4.5 / Unknwon error
I did some tests with .NET-Framework 4.5 on my computer. After uninstalling it, i recognized, my Visual Studio 2010 does not start any more. It shown an "Unkonwn error" message box at startup an then closes again.
How-I-fixed-it:
I found out, that uninstalling .NET 4.5 also uninstall .NET Framework 4. I re-installed .NET 4 from http://www.microsoft.com/de-de/download/details.aspx?id=17718 and Visual Studio was working fine.
I found the right hints here:
http://chanmingman.wordpress.com/2012/05/10/unknown-error-to-prevent-vs-2010-from-start-after-uninstall-vs-11-beta/
How-I-fixed-it:
I found out, that uninstalling .NET 4.5 also uninstall .NET Framework 4. I re-installed .NET 4 from http://www.microsoft.com/de-de/download/details.aspx?id=17718 and Visual Studio was working fine.
I found the right hints here:
http://chanmingman.wordpress.com/2012/05/10/unknown-error-to-prevent-vs-2010-from-start-after-uninstall-vs-11-beta/
Subscribe to:
Posts (Atom)