System.Runtime.InteropServices.COMException (0x8004E00F): COM+ 无法与 Microsoft 分布式事务协调程序交谈 (异常来自 HRESU

错误信息:

System.Runtime.InteropServices.COMException (0x8004E00F): COM+ 无法与 Microsoft 分布式事务协调程序交谈 (异常来自 HRESULT:0x8004E00F)

解决方案:

1、删除注册表中的键:

     HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/MSDTC

  HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/MSDTC

  HKEY_CLASSES_ROOT/CID(这一项有可能没有)

2、运行CMD,停止MSDTC服务:net stop msdtc

3、重装MSDTC

检测效果,如果还是不行,进行下一步

4、卸载IIS并重装IIS。

重启电脑,检测效果。到这里应该就可以了。

小注:

win7 iis卸载再安装有可能会出现安装失败的现象,请注意。卸载前最好备份C:\Windows\System32\inetsrv\config文件夹与C:\inetpub文件夹。

System.Runtime.InteropServices.COMException (0x8004E00F): COM+ 无法与 Microsoft 分布式事务协调程序交谈 (异常来自 HRESU

时间: 2024-07-31 14:32:37

System.Runtime.InteropServices.COMException (0x8004E00F): COM+ 无法与 Microsoft 分布式事务协调程序交谈 (异常来自 HRESU的相关文章

System.Runtime.InteropServices.COMException

System.Runtime.InteropServices.COMException (0x80040154): Retrieving the COM class factory for component with CLSID {79A2867E-EA02-4683-8199-ED426387BA05} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x800

System.Runtime.InteropServices.COMException (0x800A03EC): 无法访问文件

使用Microsoft.Office.Interop.Excel 操作 今天在服务器部署,操作程序csv文件转xsl文件的时候,遇到一下问题: System.Runtime.InteropServices.COMException (0x800A03EC): 无法访问文件.请尝试下列方法之一: • 确认所指定的文件夹已存在. • 确认文件所在的文件夹不是只读的.• 确认给出的文件名不包含下列字符: < > ? [ ] : | 或 * .• 确认文件/路径名长度不超过 218 个字符.在 Mic

arcgis二次开发遇到System.Runtime.InteropServices.COMException (0x80040228) :异常来自HRESULT:0x80040228

出现此问题只需要在控件上拖入一个LicenseControl就可以了 参考资料:http://yaogu.blog.163.com/blog/static/1849990662012101283256465/

System.Runtime.InteropServices.COMException:“服务器出现意外情况。 (异常来自

.Net MVC导出Excel的时候,一直报错,如题.原因是因为福昕阅读器,这样设置 execl->点击文件>选项>加载项,选择com加载项,把祈福阅读器勾掉. 原文地址:https://www.cnblogs.com/yunquan/p/8674915.html

未能加载文件或程序集“Antlr3.Runtime”或它的某一个依赖项。参数错误。 (异常来自 HRESULT:0x80070057 (E_INVALIDARG))

未能加载文件或程序集“Antlr3.Runtime”或它的某一个依赖项.参数错误. (异常来自 HRESULT:0x80070057 (E_INVALIDARG)) 别的办法都没用,直接删除出问题的dll,再重新引用就好了. 位置:C:\Program Files (x86)\Microsoft Web Tools\Packages\WebGrease.1.1.0\lib

System.Runtime.InteropServices

http://www.readnovel.com/novel/52620/4908.htmlhttp://www.readnovel.com/novel/52620/4909.htmlhttp://www.readnovel.com/novel/52620/4910.htmlhttp://www.readnovel.com/novel/52620/4911.htmlhttp://www.readnovel.com/novel/52620/4912.htmlhttp://www.readnovel

project处理 InteropServices.COMException 异常

project文件无法上传,在上传中的hangfire出现了这个异常 System.Runtime.InteropServices.COMException 这个是因为website的权限是IUser,而DCOM的权限是admin,admin可以操作DCom,但是IUser不可以,所以吧website的权限提升为admin的权限就可以了,但是可能会存在安全隐患的问题 原文地址:https://www.cnblogs.com/weloveshare/p/8405980.html

System.Runtime.Serialization.cs

ylbtech-System.Runtime.Serialization.cs 允许对象控制其自己的序列化和反序列化过程. 1.返回顶部 1. #region 程序集 mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 // C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\msco

System.Runtime.Serialezation.StreamingContext.cs

ylbtech-System.Runtime.Serialezation.StreamingContext.cs 1.返回顶部 1. #region 程序集 mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 // C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.1\mscorli