JenniferStites

I am not sure the logistics of debugging. I have tried following many books' and websites' instructions and am coming up with different errors. I have access to get directly on the Server through remote support. An existing Web Part is not working. It was written by a programmer that no longer works here. I am trying to even start debugging the code, but am not sure how to do this. I see many places where it say to set configuration to debug, but is this on the server in the web.config file or on the actual project that is on my local machine What needs to be changed in the web.config file What should its' debug processes be set to Any help is welcome. Thank you in advance.

I am using Web Parts and adding them to a SharePoint server. It is in SharePoint that I can no longer look at the Web Part. I am using .NET 1.1 and C# 2003.



Re: SharePoint - Development and Programming Web Part debugging

Ishai Sagi

Jennifer,

To debug a web part you will first need the source code for the web part.

If the server has visual studio installed on it, I suggest you open the project on the server, not on your machine. If that is not possible, you will have to make sure remote debugging is installed and activated on the server, and that the web part was deployed with "debug" build settings. Also, next to the .dll file of the web part the .pdb file should be (either in the GAC or the bin folder).

Finally, the process you need to attach to is w3wp.exe

Good luck






Re: SharePoint - Development and Programming Web Part debugging

lightgone

maybe helpfull addings.

you need to confirm the w3wp.exe is the real one the your sharepoint site run at.

because there may be more than one w3wp.exe in you computers.