Hello,
I used Visual Studio 2012 to build a SharePoint 2013 solution including a very simple Visual Web Part. I deployed that solution into SharePoint Online (version 16.0.0.2016). When I ran the web part, i got an error message
"Web Part Error: Sandboxed code execution request failed. Correlation ID: xxx"
But when i try with the other solution (same source code), it runs well. It looks like, the SharePoint Online is NOT stable product.
How can I fix this problem? How can I know what exactly happened with very short error message and Correlation ID? Can I have a chance to view logs file of SharePoint Online?
Thanks,

Rajkiran SwainPosted May 15, 2015, 2:32 AM
Prasham SabadraPosted May 15, 2015, 1:28 AM
Please have a look at following link which shows how to get logs in SP online:
http://www.vrdmn.com/2014/03/view-tenant-uls-logs-in-sharepoint.html