467,926 Members | 1,715 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,926 developers. It's quick & easy.

Remote Debugging Setup Revised

CK
Hello All,
I have been trying to setup remote debugging for web part development by
running through the steps in the following documentation:
Debugging Web Parts:
http://msdn.microsoft.com/library/de...ugwebparts.asp
Debug Settings and Preparation:
http://msdn.microsoft.com/library/de...reparation.asp
unfortunately, I have not had any success. My current setup is as follows:

The main issue that I'm having is whenever I try to attach the w3wp.exe
process w/ CLR as the program type, I get the following error: "Unable to
attach to the process. The debugger is not properly installed. Run setup
to install or repair the debugger."

I believe I have remote debugging setup on both the local and remote
machine. I've ran msvsmon.exe (which was installed w/ vs 2003) on the
remote machine by sharing the folder that its located in on my local
machine. I've also tried running the msvsmon.exe (which was installed w/
the vs 2005) that is located on the remote machine. Any help would be
greatly appreciated.

Thanks,
~CK


Oct 17 '06 #1
  • viewed: 1733
Share:
1 Reply
To enable remote debugging on the SPS server, you need to install the remote
debugging components from vs, be a member of the "Debugger Users" group and
modify the SharePoint web.config to run at full trust with debug set to true.
On the client machine, add the target url to the list of trusted sites in
IE. Then in VS, enable remote debugging and setup a post build event to
copy the assemblies and pdb files to the bin folder of the site you are debugging.
For more details, check out this link:

http://blogs.imason.com/scott.howlet...10/14/209.aspx

John F. Holliday
Principal Architect - Information Worker Solutions
Idea Integration, Inc.
Hello All,

I have been trying to setup remote debugging for web part development
by

running through the steps in the following documentation:

Debugging Web Parts:

http://msdn.microsoft.com/library/de...ry/en-us/odc_S
P2003_ta/html/sharepoint_debugwebparts.asp

Debug Settings and Preparation:

http://msdn.microsoft.com/library/de...ry/en-us/vsdeb
ug/html/_core_Debugging_Preparation.asp

unfortunately, I have not had any success. My current setup is as
follows:

The main issue that I'm having is whenever I try to attach the
w3wp.exe process w/ CLR as the program type, I get the following
error: "Unable to attach to the process. The debugger is not
properly installed. Run setup to install or repair the debugger."

I believe I have remote debugging setup on both the local and remote
machine. I've ran msvsmon.exe (which was installed w/ vs 2003) on the
remote machine by sharing the folder that its located in on my local
machine. I've also tried running the msvsmon.exe (which was installed
w/ the vs 2005) that is located on the remote machine. Any help would
be greatly appreciated.

Thanks,
~CK

Nov 20 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Ian McCarty | last post: by
1 post views Thread by Zanna | last post: by
1 post views Thread by Chris Raudabaugh | last post: by
7 posts views Thread by | last post: by
reply views Thread by CK | last post: by
reply views Thread by Peted | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.