Showing posts with label Enable Sandboxed Solutions in SharePoint2010. Show all posts
Showing posts with label Enable Sandboxed Solutions in SharePoint2010. Show all posts

Monday, May 30, 2011

Enable Sandboxed Solutions in SharePoint2010

I was trying to write a simple browser enabled InfoPath form with code behind and like to get this run as Sandboxed solution in SharePoint 2010. When I was publishing this form following error was thrown :
"The form template cannot be published to the Server:MyServerName.Sandboxed Solutions are not enabled on the SharePoint Server Form."
I was searching for this & I found that "Microsoft SharePoint Foundation User Code Service" is required to run the Sandboxed solution to work.
To enable this service go to Central Administration and in Services Section click on Manage Services on Server, start "Microsoft SharePoint Foundation User Code Service".