I have created a new visual web part in SharePoint 2013 as a sandboxed solution. I can see the web part in the Webpart gallery. But when I Click F5 in my VS.net, the web part is working fine. As soon as I stop debugging, the web part is not working. I can see the following error.

The request could not be completed because the specified solution was not found.. - Validating solution failed

How do I fix this error?

1 Answer 1


By default, Visual Studio retracts the Sandbox Solution when you stop debugging. You can control this functionality using the checkbox at the bottom of the SharePoint settings for your project.

enter image description here


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.