应用程序中发生了无法处理的异常。如果单击“退出”,应用程序将立即关闭。
无法启动服务,原因可能是已被禁用或其相关联设备没有启动。(异常来自HRESULT:0X80070422)。
点击详细内容:
有关调用实时(JIT)调试而不是此对话框的详细信息,
请参见此消息的结尾。
**************
异常文本 **************
System.Runtime.InteropServices.COMException (0x80070422):
无法启动服务,原因可能是已被禁用或与其相关联的设备没有启动。 (异常来自 HRESULT:0x80070422)
   在
System.Management.ThreadDispatch.Start()
   在
System.Management.ManagementScope.Initialize()
   在
System.Management.ManagementObjectSearcher.Initialize()
   在
System.Management.ManagementObjectSearcher.Get()
   在
TS3_Update.SystemInfo.DetectSys()
   在
TS3_Update.frmMain.GetRegistryStr()
   在
TS3_Update.frmMain.frmMain_Load(Object sender, EventArgs e)
   在
System.Windows.Forms.Form.OnLoad(EventArgs e)
   在
System.Windows.Forms.Form.OnCreateControl()
   在
System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   在
System.Windows.Forms.Control.CreateControl()
   在
System.Windows.Forms.Control.WmShowWindow(Message& m)
   在
System.Windows.Forms.Control.WndProc(Message& m)
   在
System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   在
System.Windows.Forms.ContainerControl.WndProc(Message& m)
   在
System.Windows.Forms.Form.WmShowWindow(Message& m)
   在
System.Windows.Forms.Form.WndProc(Message& m)
   在
System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
 
 在 System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
 
 在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr
wparam, IntPtr lparam)

************** 已加载的程序集
**************
mscorlib
    程序集版本: 2.0.0.0
    Win32 版本: 2.0.50727.4984
(win7RTMGDR.050727-4900)
    基本代码: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
TS3_Update
 
  程序集版本: 1.66.2.24
    Win32 版本: 1.66.2.24
    基本代码: file:///F:/gameback/模拟人生3安装/TS3_1.66.2.0240xx_update/TS3_1.66.2.0240xx_update.exe
----------------------------------------
System.Windows.Forms
 
  程序集版本: 2.0.0.0
    Win32 版本: 2.0.50727.4986 (win7RTMGDR.050727-4900)
   
基本代码: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
 
  程序集版本: 2.0.0.0
    Win32 版本: 2.0.50727.4985 (win7RTMGDR.050727-4900)
   
基本代码: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
 
  程序集版本: 2.0.0.0
    Win32 版本: 2.0.50727.4985 (win7RTMGDR.050727-4900)
   
基本代码: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
mscorlib.resources
 
  程序集版本: 2.0.0.0
    Win32 版本: 2.0.50727.4984 (win7RTMGDR.050727-4900)
   
基本代码: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
System.Data
 
  程序集版本: 2.0.0.0
    Win32 版本: 2.0.50727.4927 (NetFXspW7.050727-4900)
   
基本代码: file:///C:/Windows/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Xml
 
  程序集版本: 2.0.0.0
    Win32 版本: 2.0.50727.4927 (NetFXspW7.050727-4900)
   
基本代码: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Management
 
  程序集版本: 2.0.0.0
    Win32 版本: 2.0.50727.4927 (NetFXspW7.050727-4900)
   
基本代码: file:///C:/Windows/assembly/GAC_MSIL/System.Management/2.0.0.0__b03f5f7f11d50a3a/System.Management.dll
----------------------------------------
System.Windows.Forms.resources
 
  程序集版本: 2.0.0.0
    Win32 版本: 2.0.50727.4927 (NetFXspW7.050727-4900)
   
基本代码: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_zh-CHS_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
**************
JIT 调试 **************
要启用实时(JIT)调试,
该应用程序或计算机的 .config 文件(machine.config)的
system.windows.forms 节中必须设置
jitDebugging 值。
编译应用程序时还必须启用
调试。
例如:

<configuration>
    <system.windows.forms jitDebugging="true"
/>
</configuration>
启用 JIT 调试后,任何无法处理的异常
都将被发送到在此计算机上注册的 JIT
调试器,
而不是由此对话框处理。

点击继续后,出现安装界面。手动选择安装目录,点击安装,提示:更新补丁发生错误!请尝试以管理员权限运行补丁程序!

解决方法:系统服务里启动该服务 Windows Management Instrumentation

“System.Runtime.InteropServices.COMException (0x80070422): 无法启动服务”解决方法的更多相关文章

  1. System.Runtime.InteropServices.COMException: Exception from HRESULT: 0x800AC472

    更新至服务器后运行出错: System.Runtime.InteropServices.COMException: Exception from HRESULT: 0x800AC472 解决方法 注册 ...

  2. System.Runtime.InteropServices.COMException (0x800706BA) 解决方法

    提示“操作失败:无法获取MAC地址.”错误的解决方法. .NET 获取 MAC地址可能会遇到   System.Runtime.InteropServices.COMException (0x8007 ...

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

    使用Microsoft.Office.Interop.Excel 操作 今天在服务器部署,操作程序csv文件转xsl文件的时候,遇到一下问题: System.Runtime.InteropServic ...

  4. System.Runtime.InteropServices.COMException 检索COM类工厂中CLSID{xxxxxxxxx}的组件时失败解决方法

    iis7.5中设定应用程序池中<进程模型>中<标识>为localSystem 提示:System.Runtime.InteropServices.COMException: 命 ...

  5. Visual Studio 2008 – ASP.NET “System.Runtime.InteropServices.COMException”

    The Issue When openning an existing ASP.NET project for the first time in Visual Studio 2008 it retu ...

  6. VS2008,System.Runtime.InteropServices.COMException (0x800401F3): Invalid class string (Exception from HRESULT: 0x800401F3 (CO_E_CLASSSTRING))

    在VS2008环境中编译调试运行不报错,但在发布的exe文件运行就报错 System.Runtime.InteropServices.COMException (0x800401F3): Invali ...

  7. excel System.Runtime.InteropServices.COMException (0x80010105): 服务器出现意外情况。 (异常来自 HRESULT:0x80010105 (RPC_E

    System.Runtime.InteropServices.COMException (0x80010105): 服务器出现意外情况. (异常来自 HRESULT:0x80010105 (RPC_E ...

  8. “System.Runtime.InteropServices.COMException”类型的第一次机会异常在 System.Windows.Forms.dll 中发生

    最近做一个winform项目,在里面用了webbrowser控件进行html文档打印,遇到了标题所示问题.根据查到的一些资料,在调试>异常>查找中输入“System.Runtime.Int ...

  9. System.Runtime.InteropServices.COMException

    System.Runtime.InteropServices.COMException (0x80040154): Retrieving the COM class factory for compo ...

随机推荐

  1. Maven 环境变量设置

    下载Maven 官方下载地址:http://maven.apache.org/download.html 选择你所希望下载的版本,并保存到常用安装目录.这里以Maven 3.2.2 (Binary z ...

  2. 实现类似printf这样的函数

    来源:http://www.vimer.cn/2009/12/cc%E5%AE%9E%E7%8E%B0%E5%A4%9A%E5%8F%82%E6%95%B0%E5%87%BD%E6%95%B0%E7% ...

  3. (转)关于android设备管理器的一些分析

    转自http://bbs.pediy.com/showthread.php?t=183692 想必很多人都知道轰动一时android木马OBAD,该木马利用android设备管理器的漏洞,当用户激活设 ...

  4. CentOS7安装Openvswitch 2.3.1 LTS

    CentOS7安装Openvswitch 2.3.0 LTS,centos7openvswitch 一.环境: 宿主机:windows 8.1 update 3 虚拟机:vmware 11 虚拟机操作 ...

  5. 条件注释判断IE浏览器版本

    lt,lte,gt,gte分别表示什么 lt:小于当前版本 lte:小于或等于当前版本,包括本身 gt:大于当前版本 gte:大于或等于当前版本,包括本身 使用格式 // 如IE9以下(不包括IE9加 ...

  6. android 使用动画 Button移动后不响应点击事件的解决办法

    animation3.setAnimationListener(new Animation.AnimationListener() { @Override public void onAnimatio ...

  7. SVN常见问题及解决方法(转载)

    svn常见符号 黄色感叹号(有冲突):--这是有冲突了,冲突就是说你对某个文件进行了修改,别人也对这个文件进行了修改,别人抢在你提交之前先提交了,这时你再提交就会被提示发生冲突,而不允许你提交,防止你 ...

  8. 【node】---socket---网络通信---【巷子】

    1.什么是一个socket? 网络上两个程序通过一个双向的通信连接实现数据交换,这个连接的一端称为socket 2.http与socket的区别 在以前我们实现数据交换已经有了HTTP协议,为什么还要 ...

  9. pandas的merge方法

    数据合并时可以使用merge方法,对两个dataFrame根据某一个series合并,这个方法非常好用,只要找到了合并的标准,新的数据就可以重构出来. 1.命令: pd.merge() on:列名,j ...

  10. lampp and testrail

    https://wyzx.testrail.net szllq2000 http://129.0.1.228/testrail/ http://docs.gurock.com/testrail-adm ...