Debug an ASP.NET Application on a Remote IIS Server

I am trying to debug an ASP.NET application for my company's internal portal on a remote IIS v7 server running on a Win 2008R2 server. The IIS server is on the same local network as my development workstation.

Mostly the portal works, however there is one function that does not work correctly when publishing to a remote server.

If I debug the application locally using either the Visual Studio development server or the local IISExpress server, the function works as expected, so it seems to me that I need to debug from a remote IIS server.

I installed the Visual Studio 2010 Remote Debugger (msvsmon.exe, x64) on the remote server and published my web application there. I am running msvsmon on a remote server as administrator.

On my local Win7 development machine, I have a portal solution open in VS 2010 from my local hard drive, I can connect to the remote debugger from Visual Studio using Tools | Join the Process menu and I selected the w3wp.exe file in the attach process. The msvsmon application on the remote server shows that I am connected.

Back in Visual Studio on my local machine, I set a breakpoint on the Page_Load method (where I suspect my code is the problem), however my debug options are for start, continue, step, jump, etc. disabled.

I am clearly missing some step or concept here, but I do not understand what it is.

+3
asp.net remote-debugging


source to share


No one has answered this question yet

Check out similar questions:

29
Can't get remote debug from VS2010
nineteen
Remote debugging in visual studio: remote debugger does not support this version of windows
7
Remote Debugging in Visual Studio 2017
6
Visual Studio 2010 Remote Debugging - Unable to Connect: Access Denied
1
Remote debugging from VS2013 becomes impossible to connect to remote debug monitor
1
Remote debug asp.net web app with external IP
0
How does ad hoc (not as a service) launch the Visual Studio 2010 Remote Debugger (msvsmon.exe) without a UI (i.e. from PsExec)?
0
Can't connect to remote debugger
0
remote debugging in visual studio cannot connect
0
Remote debugging in VisualStudio with msvsmon.exe



All Articles
Loading...
X
Show
Funny
Dev
Pics