Summary : SharePoint 2013 Error – An unknown exception occurred while
executing a sandboxed code solution request in the worker
process.\r\n|0,Error adding Sandbox solutions in SharePoint 2013, Error
Creating Sandbox Visual WebPart on Windows 2012 + SharePoint 2013 +
Domain Controller
Today while Creating a Sandbox WebPart using the new Visual WebPart Template of Visual studio 2012 I encountered the following error, while adding the webpart on SharePoint 2013 site page.
Error – “An unknown exception occurred while executing a sandboxed code solution request in the worker process.\r\n|0″
The Webpart didn’t had much of a code to generate any error so the first thing I did was to look at the account used for Sandbox service running on the farm.The account looked ok and had proper permissions to the web application that I was deploying to.So the next thing I did was to google the error and see if anyone had an similar issue like that
Well to my surprise there was not much on the web about it but I still got the reason for the occurrence of this error. The reason for my error was that SharePoint 2013 does not support installation on to a domain controller which in fact was my setup for the environment. I had SharePoint 2013 + Domain Controller on Windows 2012.
Unfortunately there is no way to fix this error other than creating an environment with a Domain on a separate server than SharePoint 2013. Read more about this on the technet article below –
http://technet.microsoft.com/en-us/library/ee667264.aspx
Today while Creating a Sandbox WebPart using the new Visual WebPart Template of Visual studio 2012 I encountered the following error, while adding the webpart on SharePoint 2013 site page.
Error – “An unknown exception occurred while executing a sandboxed code solution request in the worker process.\r\n|0″
The Webpart didn’t had much of a code to generate any error so the first thing I did was to look at the account used for Sandbox service running on the farm.The account looked ok and had proper permissions to the web application that I was deploying to.So the next thing I did was to google the error and see if anyone had an similar issue like that
Well to my surprise there was not much on the web about it but I still got the reason for the occurrence of this error. The reason for my error was that SharePoint 2013 does not support installation on to a domain controller which in fact was my setup for the environment. I had SharePoint 2013 + Domain Controller on Windows 2012.
Unfortunately there is no way to fix this error other than creating an environment with a Domain on a separate server than SharePoint 2013. Read more about this on the technet article below –
http://technet.microsoft.com/en-us/library/ee667264.aspx
0 comments:
Post a Comment