Sign up for Office 365
Learn more about Office 365
I have created a simple SharePoint project as a Sandboxed solution and added an empty WebPart to it. Deployed the wsp file to the Office 365 web-site. Added a test page. Then added my custom WebPart to that test page.
When I open the test page, I get the "Web Part Error: Sandboxed code execution request failed." message in the webpart body.
Sometimes the page loads correctly i.e. without this error message.
Any suggestions why I am getting this error message?
Hi Fedor,
Have you had a chance to refer to our Developer resources for help on this issue?
SharePoint Developer Center
SharePoint Online for Office 365: Developer Guide
MSDN: SharePoint Online for Office 365 Developer Guide
Matt Gill
Microsoft Office 365 SharePoint Support
Matt,
I get the same problem with a sandbox web part. It works sometimes OK and other times it displays the message "Web Part Error: Sandboxed code execution request failed."
Because the problem is intermittent surely it cannot be a problem with the web part but must be a problem with the User Code service on Office 365 not unpacking, loading and executing the assembly in the user solution.
It is not an issue with resource usage on the site collection - the site collection is a test collection with a high resource usage assigned.
Peter.
Hi Matt,
I have just posted the same question on the "SharePoint 2010 - Using Visual Studio with SharePoint and other programming" forum:
social.technet.microsoft.com/.../b0a625f7-b996-4910-89ed-c28773f4509c
Fedor.
I've the same problem : my web part works well in the sandbox (on my local VM) and randomly breaks in SharePoint Online...
Same problem here. Any solution so far?
Try adding a try/ctach block in your web part's render method, and log whetever error is thrown into a SharePoint list on your site. Is there any errors being detected?
I have tried this already but no entries were created.
I get the error even with an empty web part. So I think there's no problem with the code itself.
Hi,
I have the same problem since a few days. We developed some silverlight solutions (sandboxed webparts) that woked fine for months. Everything we tried did not lead to any success (new site collection, other account, customer account). Weeks of development seem endangered. On premise or local all works perfect.
Best regards
Hi Everyone,
Could each of you please create a service request from the Support area in the Admin page of portal.microsoftonline.com with information about your sandboxed solution and when you started experiencing the errors? While my team doesn’t provide troubleshooting for custom code, we do support the ability to utilize this custom code and will get the issue escalated if the feature is not working.
I have created the service request (Reference number: 1168111021) .
Best regards,
Fedor Shihantsov
Currently the webpart works correctly on my test Office 365 account.
Regards,
I have the same problems. Do I have to created the service request that my problem to be resolved?