I am deploying a solution by Visual Studio.
I get the error during Retraction:

The solution does not have a WSP file associated with it.

I tried to do IISRESET and also to restart the server.

2 Answers 2


This solved my problem:

remove-spsolution -identity {name of wsp file.wsp} -force

Make sure

  1. Open the debug/release folder and make sure a WSP file is generated
  2. Open central admins -> system settings -> farm solutions. If a solution with the name exists, then retract and remove it.
  3. Check log files

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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