Problem: I can't debug my SharePoint projects using Visual Studio 2010 (VS). I get the error "Could not load the Web.config configuration file. Check the file for any malformed XML elements, and try again. The following error occurred: Cannot connect to the SharePoint site. If you moved this project to a new computer or if the Url of the SharePoint site has chnaged since you created the project, update the Site Url property of the project." in VS when I try debug.
Initial Hypothesis: I recenctly renamed all my VS projects in my VS solution. The error tells me to check the "Site Url" on each of my projects. I missed the project that was set as my start up project.
Resolution: Set the "Site Url" property in VS on the projects.
thanks for the post! this solved my problem! :)
ReplyDeletegreetings,
Flo
Hi, thanks for the info. I have a question: Is there a way to debug the same web application by two concurrent developers using 2 WFE's (1 server for each programmer) ?
ReplyDelete