views:

1911

answers:

4

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
On Windows XP it's not called w3wp.exe, it's called aspnet_wp.exe
Ken Sykora
+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
they are trying to attach to a running process not debug from scratch
Andrew Hare
A: 

Thank you David. Small hint, big help.

+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