As you start working with a handy sandbox solutions in SharePoint, you may get the following error when trying to debug your code right from Visual Studio:
Error occurred in deployment step 'Add Solution': The site collection containing this sandboxed solution has exceeded its daily resource usage quota
Some sites, for example Project Web Application site collection will right away come pre-configured not to allow any sandbox solution on it.
Here is how to address it:
1. Navigate to Central Administration
2. Click Application Management on a quick launch
3. Click on Configure quotas and locks
4. Click the drop down to select a new site collection
5. Ensure the Web Application is set to the web application where your solution will be installed
6. From URL pick the site collection where you plan on installing your sandbox solution
7. Click OK
8. Scroll down to Sandboxed Solutions Resource Quota
9. Set the value of Limit maximum usage per day to to 300
10. Click OK
You’re done, try deploying your solution again and you should see no problems.
Enjoy!



