Tuesday, 19 May 2015

error occurred in deployment step recycle iis application pool cannot connect to the sharepoint site remote site

1st : Restart IIS:
iisreset

2nd: 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.

3rd: If the web site is open successfully then you should Restart visual studio.

4th Option, 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.
Open WSS_Content
Security
Users
Add new user

5th
Restart the SharePoint 2010 User Code Host service resolved the issue. :SPUserCodeV4

restart-service SPUserCodeV4