views:

330

answers:

3

This is a repost from the msdn forums that got no good results.

In VSeWSS 1.3 on VS 2008, the "Attach to IIS Worker Processes" seems to always be grayed out (Build -> Quick Deploy Solution).

This forces me to run iisapp from the command line, note the PID of my w3wp process, hit Ctrl-Alt-P in VS to bring up the Attach to Process dialog, sort by PID, locate the PID i obtained earlier, and hit ok.

What am I missing?

A: 

For some reason, I run into the same issue when I have multiple instances of w3wp running (which is obviously going to be the case if you are hosting Central Admin and your SSP in seperate app pools.) I recommend just closing all w3wp processes that aren't executing the code you are attempting to debug; close VS, reset IIS, open VS and try again.

Jason Watts
A: 

Can you share your VSeWSS project structure? The quick deploy commands only grey out when VSeWSS detects that you aren't in a VSeWSS project.

Paul Andrew
+1  A: 

In order to get the "Attach to worker process" to not be grayed out, I have to select the project node in solution explorer. (This is the only project in this solution.) If I select a sub-folder or file the option is grayed out.

Chloraphil