Error occurred in deployment step 'Recycle IIS Application Pool'
Error occurred in deployment step 'Recycle IIS Application Pool': Cannot connect to the SharePoint site: http://YOUR_SITE_NAME/. Make sure that this is a valid URL and the SharePoint site is running on the local computer. If you moved this project to a new computer or if the URL of the SharePoint site has changed since you created the project, update the Site URL property of the project.
This is because, when we create a new SharePoint project, Visual Studio asks us the URI of a valid SharePoint web application in which deploy and save that URI into project properties. Moving the solution and all project files you must update manually that address.
To do it, you have to select the project from the "Solution Explorer" toolbox and then open the property toolbox. Over there you'll find a property called "Site URL", which must be changed with the new address of your new SharePoint 2010 web application.
Take care to open the property toolbox (visible in figure) and NOT the project property using a right click of the mouse.
Wednesday, September 8, 2010
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment