Contents
What was the error in recycle IIs Deployment step?
Error occurred in deployment step ‘Recycle IIS Application Pool’: Cannot connect to the SharePoint site: Make sure that this is a valid URL and the SharePoint site is running on the local computer.
Is there an error in recycle application pool?
But the issue which I am facing while deploying the website from Visual Studio is in the step ‘Recycle Application Pool’, with the below listed error message.
How to recycle IIs by iisreset on command prompt?
1) First close the solution which you are deploying. 2) Recycling IIS by IISRESET on command prompt it worked for me. Try to publish solution to *.wsp file and deploy or update solution via powershell or sp command line. After that try to deploy it from Visual Studio.
We have more than 3 developers working on a single solution file. Because of this, we cannot add them all in the site collection administrator menu. When I deploy with administrator credentials in Visual Studio, I am able to successfully deploy to the particular SharePoint Application. When I login with any of these users, I am not able to.
After copying this directory back from the older version of the project and modifying the csproj file to include the references to the package directory, the error solved and the solution can be deployed again. I added the following settings to the csproj file to restore the binding to the package directory.
What to do if IIS has changed in Visual Studio?
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. Permission check for the user account against the content database. Run Visual studio using the administrator account. Reset IIS and the corresponding website.
What to do if error occurred in Deployment step?
Uninstall and remove your solution from the farm using Uninstall-SPSolution and Remove-SPSolution cmdlet. Make sure all of your features are gone from the farm with Get-SPFeature cmdlet The other scenarios are explained here: http://praveenbattula.blogspot.in/2013/07/error-occurred-in-deployment-step.html Before Sorry for my english.