System.Runtime.InteropServices.COMException (0x800706BA) 解决方法
2013-08-27 19:04
573 查看
提示“操作失败:无法获取MAC地址。”错误的解决方法。
.NET 获取 MAC地址可能会遇到
System.Runtime.InteropServices.COMException (0x800706BA)
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext()
错误,解决办法是:
在服务里,DCOM Server Process Launcher 这个服务启动就好了。
有两种方法:
1.在“控制面板” 的 “管理工具” 的“服务”中启用 DCOM Server Process Launcher。
2.在“开始/运行”中输入msconfig,打开“系统配置实用程序”对话框,再点开上面的“服务”选项卡,找到“DCOM Server Process Launcher”,在它的前面打上钩,“确定”后重启系统。
.NET 获取 MAC地址可能会遇到
System.Runtime.InteropServices.COMException (0x800706BA)
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext()
错误,解决办法是:
在服务里,DCOM Server Process Launcher 这个服务启动就好了。
有两种方法:
1.在“控制面板” 的 “管理工具” 的“服务”中启用 DCOM Server Process Launcher。
2.在“开始/运行”中输入msconfig,打开“系统配置实用程序”对话框,再点开上面的“服务”选项卡,找到“DCOM Server Process Launcher”,在它的前面打上钩,“确定”后重启系统。
相关文章推荐
- System.Runtime.InteropServices.COMException的解决方法
- System.Runtime.InteropServices.COMException的解决方法
- System.Runtime.InteropServices.COMException 检索COM类工厂中CLSID{xxxxxxxxx}的组件时失败解决方法
- System.Runtime.InteropServices.COMException 检索COM类工厂中CLSID{xxxxxxxxx}的组件时失败解决方法
- “System.Runtime.InteropServices.COMException (0x80070422): 无法启动服务”解决方法
- Asp.Net操作Word内容“System.Runtime.InteropServices.COMException: 命令失败”的解决方法
- Visual Studio 2008项目System.Runtime.InteropServices.COMException解决方法
- c#程序在部分电脑运行异常解决方法(System.Runtime.InteropServices.COMException (0x80070422): 无法启动服务)
- windows server 2008 x6 System.Runtime.InteropServices.COMException (0x800A03EC)處理方法
- 解决System.Runtime.Interopservices.COMException问题
- “System.Runtime.InteropServices.COMException”解决之道
- 完美解决“换另一台电脑上用VS2008继续开发web项目时出现“System.Runtime.InteropServices.COMException”,然后是加载不了项目。”
- 解决System.Runtime.Interopservices.COMException问题
- System.Runtime.InteropServices.COMException解决办法
- 完美解决“换另一台电脑上用VS2008继续开发web项目时出现“System.Runtime.InteropServices.COMException”,然后是加载不了项目。”
- System.Runtime.InteropServices.COMException (0x80010105): 服务器出现意外情况 问题的解决
- System.Runtime.InteropServices.COMException(0x8004020F): The server rejected one or more recipient addresses.
- System.Runtime.InteropServices.COMException (0x80010105): 服务器出现意外情况。 (异常来自 HRESULT:0x80010105 (RPC_E
- “System.Runtime.InteropServices.COMException”类型的第一次机会异常在 ESRI.ArcGIS.Version.dll 中发生
- System.Runtime.InteropServices.COMException: 服务器出现意外情况