X龙@China .Net 'blog

需要的不仅仅是工作,而是通过努力得来的美好将来。
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2011年7月29日

摘要: 有时调用com组件时,会返回“HRESULT E_FAIL”错误,这时有可能的错误原因除了代码有错外,另一个原因还可能是我们没有正常配置dcom的属性。如果是后者,我们可以按如下的方法来解决错误: 1)确保“Distributed Transaction Coordinator”服务是开启的。 2) 在运行中录入“dcomcnfg",打开组件服务字符串,选择组件服务--->计算机--->我的电脑--->右击属性--->选择MSDTC--->选择安全配置 勾选事务管理器通信中的允许出站、允许入站和不要求进行验证。 阅读全文

posted @ 2011-07-29 11:23 X龙 阅读(3838) 评论(0) 推荐(0) 编辑

摘要: Increasing Event Log SizeOpen up Event Viewer by typing ineventvwrinto the Start \ Run box, or you can find it under Administrative tools section of Control Panel.You’ll notice over on the right-hand side of the window that the current size of my Application and System Event Logs are 512 KB…Now you 阅读全文

posted @ 2011-07-29 11:22 X龙 阅读(992) 评论(0) 推荐(0) 编辑

点击这里给我发消息http://wp.qq.com/index.html