If you working on a SharePoint 2013 Visual Studio 2012 project.
And after you have created a Visual web part then you tried to deploy to SharePoint
Site collection. May you got the following error:
Error occurred in deployment step 'Recycle IIS Application Pool': Cannot connect to the SharePoint site: http://servername/. 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.
- First you should open the web site and check wither it is opening in the browser or not. If it’s not work then you should check the SharePoint servers are running.
- Second, If the web site is open successfully then you should Restart visual studio.
- Finally, if the site is open successfully and you had Restarted visual studio. then you should check if the current user on the web content database is owner. If not then add the current user to the web content database with owner role.
That error also occurs if the port of the admin site has changed (e.g. if you ran the repair feature of the install)
ReplyDeleteThank you, the third step was my solution.
ReplyDeleteYou must check other scenarios as well along with you mentioned above. Read all scenarios here: http://praveenbattula.blogspot.in/2013/07/error-occurred-in-deployment-step.html
ReplyDeletestill facing the issue
ReplyDeleteI got this error, and he stated that he "forgot to give my account sysadmin rights on server". Hopefully this is another scenario to consider.
ReplyDeleteI got this error when I changed my password. Logging out and back in resolved the issue.
ReplyDeleteThanks so much! Worked great
ReplyDeleteOnline Business Directory
sharepoint is a web based collaborative platform.it is basically an intranet and content management system.you can get more information at sharepoint online training.Read More Atsharepoint online training
ReplyDeleteI am getting the same problem with Visual Studio 2015 for SP2013, when deploying the web service (asmx). Getting the error
ReplyDelete"Error occurred in deployment step 'Recycle IIS Application Pool': The local SharePoint server is not available. Check that the server is running and connected to the SharePoint farm"
Whatever we gathered information from the blogs, we should implement that in practically then only we can understand that exact thing clearly on sharepoint training classes, but it’s no need to do it, because you have explained the concepts very well. It was crystal clear, keep sharing..
ReplyDeleteperde modelleri
ReplyDeletesms onay
TURKCELL MOBİL ÖDEME BOZDURMA
NFT NASİL ALINIR
ankara evden eve nakliyat
trafik sigortası
dedektör
web sitesi kurma
aşk kitapları
smm panel
ReplyDeletesmm panel
iş ilanları blog
instagram takipçi satın al
hirdavatciburada.com
beyazesyateknikservisi.com.tr
servis
tiktok jeton hile
Good content. You write beautiful things.
ReplyDeletemrbahis
sportsbet
mrbahis
hacklink
taksi
vbet
vbet
sportsbet
hacklink