您的位置:首页 > 运维架构

“System.Runtime.InteropServices.COMException (0x80070422): 无法启动服务”解决方法

2015-01-23 12:11 549 查看
应用程序中发生了无法处理的异常。如果单击“退出”,应用程序将立即关闭。
无法启动服务,原因可能是已被禁用或其相关联设备没有启动。(异常来自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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐