Solved

Visual Studio 2005 cannot "Attach to Process" for IIS for remote debugging

Posted on 2009-05-05
8
1,239 Views
Last Modified: 2013-11-26
I am trying to perform remote debugging using Visual Studio 2005.

Visual Studio Remote Debugging Monitor starts successfully on the remote computer (the one with IIS).  I run it remotely from my local computer.
It gives me a server name which I assume is a virtual server of the form DOMAINNAME\username@LOCALCOMPUTERNAME.
In Visual Studio, I load my classic ASP file, the click on Debug - Attach To Process.
I enter the above virtual server name as qualifier.  I make sure both "Show processes for all users" and "Show processes in all sessions" are checked.

All of the instructions I have found at MSDN and other places tell me that I should be able to select w3wp.exe (the IIS 6 process on the remote server) and then perform debugging.

Unfortunately, the w3wp.exe process is not listed.  In fact, the processes listed appear to be the ones on my LOCAL computer.

Can someone tell me why I am not seeing the necessary process?

I have administrative permissions on both machines and am in the group "debugger users".  There is no firewall between the machines.

(An attempt to use the Remote Debugger Configuration Wizard to "run as service" resulted in successful configuration but failed due to invalid logon, so I am trying to make the manual connection work.)
0
Comment
Question by:netsmithcentral
  • 5
  • 3
8 Comments
 
LVL 96

Expert Comment

by:Bob Learned
ID: 24314620
You didn't mention whether you changed the "Qualifier" to the remote machine name, to see the processes on that machine...


Attach-to-Process.png
0
 
LVL 12

Author Comment

by:netsmithcentral
ID: 24314862
It is supposed to work with the "virtual server" name supplied by the Remote Debugger Monitor.
However, yes, I did try using the name of the remote IIS server and received an error message that the remote debugger monitor was not running on that machine.
0
 
LVL 12

Author Comment

by:netsmithcentral
ID: 24314885
Additional comment:  I know the "virtual server" name is supposed to work as the Qualifier because this gives the ability for multiple simultaneous debugging session, each run off a different virtual server.  I have found documentation to the at effect.
0
How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

 
LVL 96

Expert Comment

by:Bob Learned
ID: 24314973
Have you read anything about the remote debugger monitor (msvsmon.exe)?

How to: Set Up Remote Debugging
http://msdn.microsoft.com/en-us/library/bt727f1t.aspx

"To enable remote debugging, you can do one of two things:

   -- Install the Remote Debugging Monitor (msvsmon.exe) on the remote computer and start it when you begin debugging.

   -- Run the Remote Debugging Monitor remotely from a share."
0
 
LVL 12

Author Comment

by:netsmithcentral
ID: 24355992
I have read everything I can find about the remote debugger.  I have employed both the methods described by TheLearnedOne but it is simply NOT working as advertised.  Which is why we post.
0
 
LVL 96

Expert Comment

by:Bob Learned
ID: 24357472
"it is simply NOT working as advertised" only begins to describe your problem.  Are you saying that you got msvsmon.exe up and running on the remote machine, and still can't attach to the process?
0
 
LVL 12

Author Comment

by:netsmithcentral
ID: 24359647
Yes.
0
 
LVL 12

Accepted Solution

by:
netsmithcentral earned 0 total points
ID: 24366155
Well, I am withdrawing this question.  Apparently due to modifications to the operating system, specifically for WinXP, remote debugging is no longer possible for classic ASP in Visual Studio 2005.  I installed Visual Studio 2005 on the IIS server machine and access it via Remote Desktop Connection for "local" debugging.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A basic question.. “What is the Garbage Collector?” The usual answer given back: “Garbage collector is a background thread run by the CLR for freeing up the memory space used by the objects which are no longer used by the program.” I wondered …
This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question