1、首先,需要了解查看流程视图的配置项在表单引擎的SOA下面。
2、默认配置项为: <add key="FlowDesignSiteUrl" value="http://安装的地址/Default.aspx"/>,该配置是Silverlight模式查看。
3、如果需要图片模式查看,则修改该配置为: <add key="FlowDesignSiteUrl" value="http://安装的地址/Step.aspx"/>就可以了。
配件库 1.5流程设计服务即FlowEngine.svc访问提示:"此集合已经包含方案http的地址。此集合中每个方案中最多只能包含一个地址"。参数名:item。可以参考以下解决方案:
由于WCF 4.0以前的版本基于svc文件的激活并不支持多个地址绑定,比如:localhost + xxx.xxx.xxx。导致最终在生产环境部署出现���题。以下解决方案针对多个基地址的绑定。
打开入口网站的Web.config(不是流程设计服务的Web.config,仅限基于配件库的项目)。添加如下配置:
<system.serviceModel>
<serviceHostingEnvironment>
<baseAddressPrefixFilters>
<add prefix="http://xxx.xxx.xxx"/>
</baseAddressPrefixFilters>
</serviceHostingEnvironment>
</system.serviceModel>
其中的"http://xxx.xxx.xxx"为绑定的生产环境地址。
访问页面/FlowDesigner/StepImage.ashx,报如下错误:
Unable to generate a temporary class (result=1).
error CS0200: Property or indexer 'Beyondbit.FlowDesigner.Models.DesignData.SpyNodes' cannot be assigned to -- it is read only
error CS0200: Property or indexer 'Beyondbit.FlowDesigner.Models.DesignData.SpyNodes' cannot be assigned to -- it is read only
error CS0200: Property or indexer 'Beyondbit.FlowDesigner.Models.DesignData.SpyNodes' cannot be assigned to -- it is read only
error CS0200: Property or indexer 'Beyondbit.FlowDesigner.Models.SpyNode.NodeTasks' cannot be assigned to -- it is read only
解决方案:
需要在服务器上面安装.Net Framework 4.5