I'm developing an ASP.NET site off of my Windows XP IIS Installation, and whenever I tell visual studio to attach-to-process to the aspnet_wp.exe it starts a new instance of asp.net development server. Is there a way to make it not start asp.net development server since I don't need it to launch anything?
A:
If you want to attach to the IIS worker process then you need to attach to w3wp.exe
.
Andrew Hare
2009-01-08 16:59:24
On Windows XP it's not called w3wp.exe, it's called aspnet_wp.exe
Ken Sykora
2010-08-17 14:42:46
+2
A:
If you right-click the web project and select Properties, there is a Web tab. On there you can select the Server to use when debugging, by default it is set to the Visual Studio Development Server. You probably want to use the Local IIS Web Server instead.
DavGarcia
2009-01-08 17:03:03
they are trying to attach to a running process not debug from scratch
Andrew Hare
2009-01-08 17:42:09
+1
A:
If you want to turn that off all you have to do is change the settings on the project file (using f4 to show the property grid). There is an option that says Always Start When Debugging, set that to false and you should be fine.
dfowler
2010-06-19 07:48:31