Remote debugging - 2008 steps

·         Log on to Server as local admin account e.g. User,

o   Run Visual Studio remote debugger remotely (Deployed to Dev workstation as part of Visual Studio install, can be installed on server).

o   Transport qualifier will be shown in first line as <User>@<Server>

o   Add Developer to Permissions in remote debugger. (Menu item)

o   Optionally - Use IISApp.vbs to determine which process ID is hosting your website

·         On Developer Machine

o   Add new local User (with same password as Server) to your local machine as an Administrator

o   Allow cross user debugging

§  Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Machine Debug Manager]
"AllowLaunchAsOtherUser"=dword:00000001

o   Open VS

o   Open Debug->Attach to Processes (Ctrl-Alt-P)

o   In the transport Qualifier change from your local machine to the value shown on remote machine as <User>@<Server>

o   Click Refresh

o   Jump down to w3wp.exe, select the correct process ID

Add comment

  Country flag


  • Comment
  • Preview
Loading