Sharepoint 2010工作流程不发布? [英] Sharepoint 2010 workflow not publishing ?

查看:102
本文介绍了Sharepoint 2010工作流程不发布?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


错误消息:编译工作流时发现错误。
工作流文件已保存但无法运行。



我试过以下步骤不能
解决



第1步



'C:\inetpub \www root \wss \ VirtualDirectories \< Port>')

找到以下条目:

< httpRuntime maxRequestLength =" 51200" />
$


并将其更改为:



< httpRuntime maxRequestLength =" 51200" executionTimeout = QUOT; 300" />


第2步


写主机"增加工作流参数UserDefinedWorkflowMaximumComplexity ..."

$ app = get-spwebapplication http:// SharePointWebSiteXXX

$ app.UserDefinedWorkflowMaximumComplexity = 10000

$ app.Update() 


即使我尝试使用iis重设,即使我无法解决它。


第3步


Checked Central Admin>管理服务申请。 "应用程序管理服务"已启动。 (奇怪)


第4步


1.删除本地以下目录中的所有文件夹:< C: \ Users\USER\AppData \Roaming\Microsoft \SharePoint Designer \ProxyAssemblyCache \>


2.  删除此目录中所有文件夹中的文件位于本地:C:\Users\USER \ AppData \ Local \ Microsoft /\\WebsiteCache \ 


 我尝试了所有以上步骤来解决和发布我的工作流程。但无法发布请给出任何解决方案来解决问题。紧急










< p style ="margin-bottom:2.0pt; text-autospace:none">



解决方案

您好


可以试试吗以下脚本



http://code2care.org/pages/sharepoint-errors-were-found-when-compiling-the-workflow-the- workflow-files-were-saved-but-can-be-run /

 [System.Reflection.Assembly] :: LoadWithPartialN ame(" Microsoft.SharePoint")


new_limit = XXXX(此处将限制设置为数字);


webapp = [Microsoft.SharePoint .Administration.SPWebApplication] ::查找(QUOT; HTTP:// WebAppURL")

Error Message : errors were found when compiling the workflow.the workflow files were saved but cannot be run.

I tried below steps cannot able to resolve.

Step 1

'C:\inetpub\wwwroot\wss\VirtualDirectories\<Port>')
Find the following entry :
<httpRuntime maxRequestLength="51200" />

And change it to :

<httpRuntime maxRequestLength="51200" executionTimeout="300" />

Step 2

Write-Host "Increasing Workflow parameter UserDefinedWorkflowMaximumComplexity..."
$app = get-spwebapplication http://SharePointWebSiteXXX
$app.UserDefinedWorkflowMaximumComplexity = 10000
$app.Update() 

Even i tried with iis reset even though i cannot resolve it.

Step 3

Checked Central Admin > Manage Service Application. The "App Management Service" is started. (weird)

Step 4

1.Deleted all folders in the following directory in local: <C:\Users\USER\AppData\Roaming\Microsoft\SharePoint Designer\ProxyAssemblyCache\>

2. Delete the files in all folders in this directory in local: C:\Users\USER\AppData\Local\Microsoft\WebsiteCache\ 

 I tried all the above steps to resolve and publish my workflow. but cannot able to publish please give any solution to resolve the issuse. its urgent


解决方案

Hi

Can you please try the below script

http://code2care.org/pages/sharepoint-errors-were-found-when-compiling-the-workflow-the-workflow-files-were-saved-but-cannot-be-run/

[System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint")


new_limit = XXXX (Set the limit here as a number);


webapp = [Microsoft.SharePoint.Administration.SPWebApplication]::Lookup("http://WebAppURL")


这篇关于Sharepoint 2010工作流程不发布?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆