SharePoint 2016:沙盒代码执行请求失败((

时间:2017-05-05 08:37:26

标签: sharepoint

在尝试使用SandBox解决方案启动工作流程(2010版)时,我遇到了问题。 工作流程过程开始,然后抛出以下异常: 沙箱工作流程错误:Microsoft.SharePoint.UserCode.SPUserCodeExecutionPipelineFailedException:

Sandboxed code execution request failed
. ---> System.Exception: System.InvalidOperationException    Server stack 
trace:     
at Microsoft.SharePoint.Utilities.Verify.DoFailTag(UInt32 tag, ULSCat 
category, Type type, String format, Object[] args)    
at Microsoft.SharePoint.UserCode.SPUserCodeExecutionHost.ExecuteRequest(Type 
userCodeWrapperType, Guid siteCollectionId, SPUserToken userToken, String 
affinity, SPUserCodeExecutionContext executionContext)    
at Microsoft.SharePoint.UserCode.SPUserCodeExecutionHost.Execute(Type 
userCodeWrapperType, Guid siteCollectionId, SPUserToken userToken, String 
affinity, SPUserCodeExecutionContext executionContext)    
System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)    
 at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)    Exception rethrown
 at [0]:     
 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.Administration.ISPUserCodeExecutionHostProxy.Execute(Type userCodeWrapperType, Guid siteCollectionId, SPUserToken userToken, String affinityBucketName, SPUserCodeExecutionContext executionContext)    
 at Microsoft.SharePoint.UserCode.SPUserCodeExecutionManager.Execute(Type userCodeWrapperType, SPSite site, SPUserCodeExecutionContext executionContext, SPUserCodeActivationSiteInfo activationSite, Boolean isRetry)     -
 -- End of inner exception stack trace ---    
 at Microsoft.SharePoint.UserCode.SPUserCodeExecutionManager.Execute(Type userCodeWrapperType, SPSite site, SPUserCodeExecutionContext executionContext, SPUserCodeActivationSiteInfo activationSite, Boolean isRetry)    
 at Microsoft.SharePoint.UserCode.SPUserCodeExecutionManager.Execute(Type userCodeWrapperType, SPSite site, SPUserCodeExecutionContext executionContext)    
 at Microsoft.SharePoint.WorkflowActions.SPUserCodeWorkflowActivity.ExecuteUserCode()    
 at Microsoft.SharePoint.WorkflowActions.SPUserCodeWorkflowActivity.System.Workflow.ComponentModel.IActivityEventListener<System.Workflow.ComponentModel.ActivityExecutionStatusChangedEventArgs>.OnEvent(Object sender, ActivityExecutionStatusChangedEventArgs e)    
 at System.Workflow.ComponentModel.ActivityExecutorDelegateInfo`1.ActivityExecutorDelegateOperation.Run(IWorkflowCoreRuntime workflowCoreRuntime)    
 at System.Workflow.Runtime.Scheduler.Run()

Microsoft SharePoint Foundation沙盒代码服务已成功启动,没有任何合规性问题

在&#34;服务&#34; Windows控制台&#34; SharePoint用户代码主机&#34;服务运行好了。此服务的帐户已完整

访问Web应用程序的权限并且具有&#34; sa&#34; SQL Server上的权限。

这个问题引起了我的大脑:(请帮助。

0 个答案:

没有答案