随笔分类 -  TroubleShoot

上一页 1 2
关于Wcf事件多次执行的问题
摘要:对于WCF事件的重复调用、消息的重复提示,基本都属于Service Client类定义成全局字段,事件的重复注册造成的。不过我们可以通过一些办法来解决这个问题。这里总结了一下,供参考。一、取消Service Client类定义成全局字段,在每次使用时初始化,调用:using(var myServiceClient = new MyServiceClient()){ myServiceClient.DoSomethingCompleted += (sender, args) => { MessageBox.Show("Doodo"); }; myServiceClien 阅读全文
posted @ 2011-03-17 22:47 欣静赏悦 阅读(482) 评论(0) 推荐(0)
TroubleShoot:SilverLight中Wcf调用时出现Not Found等错误
摘要:一、错误描述:由于项目才接触WCF,配置及调试的过程中,出现的错误,搞的头大,现综合下原因及解决方案。调用时返回Not Found、Request Failed等错误。二、项目环境:SharePoint 2010、SilverLight 4、Sql 2008、Ado.net、WCF三、错误原因:一般是在SharePoint上使用时,易出现以下问题:1、出现跨域问题2、大数据量传递问题3、请求超时问题4、传递实体类不能序列化问题四、解决方案:1、添加clientaccesspolicy.xml文件放在IIS的根目录或应用程序下;检查SL中生成的配置文件xxx.ClientConfig 中endp 阅读全文
posted @ 2011-02-25 23:04 欣静赏悦 阅读(282) 评论(0) 推荐(0)
TroubleShoot:页面上WebPart显示错误
摘要:一、错误描述:Web Part Error: One of the properties of the Web Part has an incorrect format. Windows SharePoint Services cannot deserialize the Web Part. Check the format of the properties and try again.二、错误原因:1、权限配置问题2、C盘空间不足三、解决方案:1、To resolve this issue, make sure that the following permissions are conf 阅读全文
posted @ 2010-12-22 10:23 欣静赏悦 阅读(231) 评论(1) 推荐(0)
TroubleShoot: SharePoint工作流不能自动启动
摘要:一、错误描述: 在定制工作流时,设置了当Item创建或更改时,触发工作流。用系统帐户登录时一直不会触发。二、错误原因: 这是SharePoint的安全机制,阻止了在系统帐户登陆时自动启动工作流。三、解决方案: 更改应用程序池的当前帐户为其他帐户,管理中心——操作(安全配置)——服务帐户——选择应用程序池——更改帐户。 或者换其他帐号启动。 阅读全文
posted @ 2010-11-18 13:48 欣静赏悦 阅读(319) 评论(1) 推荐(0)
TroubleShoot: SharePoint管理中心503错误,由于配置问题,无法加载模块 DLLowssvr.dll
摘要:一、错误描述:SharePoint管理中心503错误,Windows Log错误记录下:日志名称:应用程序来源:IIS-W3SVC-WP事件ID: 2282描述: 由于配置问题,无法加载模块 DLL“C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\isapi\owssvr.dll”。当前配置仅支持加载为 x86 处理器架构构建的映像。数据字段包含错误号。二、解决方案:方案一、修改应用程序池:修改应用程序池“ SharePoint Web Services Root ” 、“ SharePoint C 阅读全文
posted @ 2010-09-20 15:14 欣静赏悦 阅读(1121) 评论(0) 推荐(0)

上一页 1 2