Sign up for Office 365
Learn more about Office 365
I am experiencing an issue that customized web parts are not working in SharePoint Online and is totally affecting our production environment.
Is anyone else experiencing this as well? Our vendor has written web pats using the sandbox model and calling the SharePoint object model.
The thing is, everything was working perfectly normal yesterday and also its affecting both production and staging environments - we have two office 365 environments and not a different site collection.
Thanks for the feedback.
Thanks to all that suggested answers and replies.
A ticket was raised and since MS support did not find any problems with the customized sandbox web parts he therefore initiated an internal sandbox service restart request. After that everything went back to normal. Taking it mind it took at least 10 hrs before we were back up and running.
Classic SharePoint resolution is to restart the application service, just wish there was some faster way this could have been resolved. The business was impacted by 1 work day - Which gets me thinking, does the SLA even cover non functioning services? In MS hosting teams mind, there were no issues with the servers, just that they couldn't highlight issues with the Sandbox service ...
You need to us more details.
What is the error?
Wwhat does these webparts do that has stopped working ?
are you able to loign to your site?
The web parts will retrieve content from SharePoint lists / libraries located on subsites within the same site collection.
Built in a sandbox environment and uses the SharePoint Object Model, so mostly server side. One of the errors that is spit out are:
Error occured. Please find your administrator.Error: System.NotSupportedException: Specified method is not supported. Server stack trace: at Microsoft.Online.SharePoint.IdentityModel.RpsMembershipProvider.GetUser(String username, Boolean userIsOnline) at Microsoft.SharePoint.Administration.Claims.SPClaimProviderManager.GetProviderUserKey(String encodedSuffix) at Microsoft.SharePoint.Utilities.SPUtility.GetFullUserKeyFromFullName(String fullName) at Microsoft.SharePoint.SPGlobal.CreateSPRequestAndSetIdentity(SPSite site, String name, Boolean bNotGlobalAdminCode, String strUrl, Boolean bNotAddToContext, Byte UserToken, String userName, Boolean bIgnoreTokenTimeout, Boolean bAsAnonymous) at Microsoft.SharePoint.SPWeb.InitializeSPRequest() at Microsoft.SharePoint.SPWeb.InitWeb() at Microsoft.SharePoint.SPWeb.get_RegionalSettings() at Microsoft.SharePoint.SPWeb_SubsetProxy.RegionalSettings__get() at Microsoft.SharePoint.SPWeb_SubsetProxy.get_RegionalSettings() at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object& outArgs) at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext) Exception rethrown at : at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) at Microsoft.SharePoint.SPWeb_SubsetProxy.get_RegionalSettings() at Microsoft.SharePoint.SPWeb.RegionalSettings__get() at Microsoft.SharePoint.SPWeb.get_RegionalSettings() at tForce.sandbox.webpart.didyouknow.Did_you_know.Did_you_know.Render(HtmlTextWriter writer)
What I cannot grasp is, everything was working perfectly yesterday but today it just stuffed up. Only the customized web parts using SP Web Services and out of web parts are working ok.
Is there any changes about your SharePoint Online service before the web part stopping to work? Based on the current situation, please try to delete and re-publish the web part to your site and see if it works normally.
Here's a video about developing and deploy web part in SharePoint online for your reference:
I’m glad to hear that the issue has been resolved. Thank you for sharing the information with us.
I understand the inconvenience caused by this issue, and will forward your comments to our feedback collecting team. Many features of current programs were designed and upgraded based on customer feedback.