Created sample webpart and i run that application, i am getting the following error.
-
Hi, Error occurred in deployment step 'Recycle IIS Application Pool': Cannot connect to the SharePoint site: http://thomas/. 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. Thank you.
-
Hi, Error occurred in deployment step 'Recycle IIS Application Pool': Cannot connect to the SharePoint site: http://thomas/. 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. Thank you.
IS there a DNS entry for this SharePoint install? Is it the same as your computername, or did you create a web app called Thomas on a machine with a totally different name. Likely you will need to create an entry in your "hosts" file located at C:\Windows\System32\drivers\etc - that points the name "thomas" to the necessary IP address (or 127.0.0.1 if you are on the same machine as the web app).
-
Hi, Error occurred in deployment step 'Recycle IIS Application Pool': Cannot connect to the SharePoint site: http://thomas/. 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. Thank you.
1st copy your sharepoint site url and then go to your webpart solution explorer ,just click on solutionexplorer and press f4 key change the site name(past the sp site url on siteurl) it will works Anand