By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,854 Members | 833 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,854 IT Pros & Developers. It's quick & easy.

Remote Debugging Setup Revised

P: n/a
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
Share this Question
Share on Google+
1 Reply


P: n/a
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.