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


source to share





All Articles