Remote Debugging Setup Revised

C

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/d...c_SP2003_ta/html/sharepoint_debugwebparts.asp
Debug Settings and Preparation:
http://msdn.microsoft.com/library/d.../vsdebug/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
 
J

John F. Holliday

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.howlett/archive/2004/10/14/209.aspx

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,969
Messages
2,570,161
Members
46,708
Latest member
SherleneF1

Latest Threads

Top