Monday, 12 July 2010

VS2010 deployment error Site Url property missing

Overview: Each new developer on a project grabs the solutions/project files from TFS or VSS as in my case. When they try deploy the solution, they receive an error "Error occurred in the deployment step 'Recycle IIS Application pool': Cannot connect to the SharePoint Site: http://... Make sure that this is a valid URL and the SharePoint site is running on the local computer, ... Update the Site URL property on the project."
Resolution: As the error suggest go to the project being deployed and ensure that you local development url is entered in the "Site URL" property. Obviously this setting should not be stored in source control as it will often differ per environment/developer.
Visual Studio 2010 Project properties

1 comments:

Anonymous said...

Thanks a lot . I changed site URL, Error occurred in deployment step 'Recycle IIS Application Pool': Win32: The system cannot find the path specified is gone

Post a comment