0

I'm having issues deploying a wsp component, from my solution in VS2015, to my Sharepoint 2016 site. I get the error in the title.

However, when I look in Sharepoint 2016 Central Administration -> System Settings -> Farm Management -> Manage Farm solutions -> , it shows that it is deployed. I retracted myWSP and began the process again, thinking it may be sharepoint not updating and the same thing happen ie not deploying from VS2015 but having status 'Deployed' in central administrator.

Looking at Sharepoint Designer, the files in myWSP are not there so it follows that it did not deploy. So why does central administration show that it is?

My basic problem is I can't deploy from visual studio. I have deployed from this before but it's not deploying now. I tried recycling services in IIS and deploying from SharePoint 2016 Management Shell:

Install-SPSolution -identity myWSP.wsp -GACDeployment

Nothing I've tried is working. What am I doing wrong?

1

To troubleshoot the issue, go Sharepoint 2016 Central Administration -> System Settings -> Farm Management -> Manage Farm solutions, then click on the individual solution, retract the solution and remove the solution.

After this do a fresh deployment from Visual Studio.

More references:

Create SharePoint Project And Deployment Steps Using Visual Studio 2015.

SharePoint 2010 Troubleshooting: Error occurred in deployment step Activate Features.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.