谁能帮我解决这个错误。如何调试这个?我制作了一个在我的机器上运行良好的代码。但是在我朋友的机器上,它给出了这个运行时错误。我在我的代码中使用互操作库来制作 ppt。
有关调用的详细信息,请参阅此消息的末尾
即时 (JIT) 调试,而不是此对话框。
************** 异常文本 **************
System.Runtime.InteropServices.COMException (0x800702E4):检索具有 CLSID {91493441-5A91-11CF-8700-00AA0060263B} 的组件的 COM 类工厂失败,原因是以下错误:800702e4 请求的操作需要提升。(来自 HRESULT 的异常:0x800702E4)。
在 CTGOV.Form1.Export2PPT(Int32 tempIndex)
在 CTGOV.Form1.btnDone_Click(对象发送者,EventArgs e)
在 System.Windows.Forms.Button.OnMouseUp(MouseEventArgs 事件)
在 System.Windows.Forms.Control.WmMouseUp(消息和 m,MouseButtons 按钮,Int32 点击)
在 System.Windows.Forms.Control.WndProc(消息和 m)
在 System.Windows.Forms.ButtonBase.WndProc(消息和 m)
在 System.Windows.Forms.Button.WndProc(消息和 m)
在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd,Int32 msg,IntPtr wparam,IntPtr lparam)
************** 加载的程序集 **************
mscorlib
程序集版本:4.0.0.0
Win32 版本:4.0.30319.269 (RTMGDR.030319-2600)
代码库:file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
--------------------------------------
中国政府
程序集版本:1.0.0.0
Win32版本:1.0.0.0
代码库:file:///C:/TrialsVision(trial%20version)/CTGOV.exe
--------------------------------------
System.Windows.Forms
程序集版本:4.0.0.0
Win32 版本:4.0.30319.278 构建者:RTMGDR
代码库:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
--------------------------------------
系统绘图
程序集版本:4.0.0.0
Win32 版本:4.0.30319.282 构建者:RTMGDR
代码库:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
--------------------------------------
系统
程序集版本:4.0.0.0
Win32 版本:4.0.30319.269 构建者:RTMGDR
代码库:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
--------------------------------------
系统数据
程序集版本:4.0.0.0
Win32 版本:4.0.30319.237 (RTMGDR.030319-2300)
代码库:file:///C:/Windows/Microsoft.Net/assembly/GAC_64/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
--------------------------------------
系统核心
程序集版本:4.0.0.0
Win32 版本:4.0.30319.233 构建者:RTMGDR
代码库:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
--------------------------------------
系统文件
程序集版本:4.0.0.0
Win32 版本:4.0.30319.233 构建者:RTMGDR
代码库:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
--------------------------------------
Microsoft.VisualBasic.PowerPacks.Vs
程序集版本:10.0.0.0
Win32版本:10.0.30319.1
代码库:file:///C:/TrialsVision(trial%20version)/Microsoft.VisualBasic.PowerPacks.Vs.DLL
--------------------------------------
系统.数值
程序集版本:4.0.0.0
Win32 版本:4.0.30319.1 构建者:RTMRel
代码库:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll
--------------------------------------
微软.mshtml
程序集版本:7.0.3300.0
Win32 版本:7.0.3300.0
代码库:file:///C:/Windows/assembly/GAC/Microsoft.mshtml/7.0.3300.0__b03f5f7f11d50a3a/Microsoft.mshtml.dll
--------------------------------------
系统配置
程序集版本:4.0.0.0
Win32 版本:4.0.30319.1 (RTMRel.030319-0100)
代码库:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
--------------------------------------
离子.Zip
汇编版本:1.9.1.5
Win32版本:1.9.1.5
代码库:file:///C:/TrialsVision(trial%20version)/Ionic.Zip.DLL
--------------------------------------
System.Xml.Linq
程序集版本:4.0.0.0
Win32 版本:4.0.30319.1 构建者:RTMRel
代码库:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll
--------------------------------------
Microsoft.Office.Interop.PowerPoint
程序集版本:14.0.0.0
Win32版本:14.0.4754.1000
代码库:file:///C:/Windows/assembly/GAC_MSIL/Microsoft.Office.Interop.PowerPoint/14.0.0.0__71e9bce111e9429c/Microsoft.Office.Interop.PowerPoint.dll
--------------------------------------
办公室
程序集版本:14.0.0.0
Win32版本:14.0.4760.1000
代码库:file:///C:/Windows/assembly/GAC_MSIL/office/14.0.0.0__71e9bce111e9429c/office.dll
--------------------------------------
Microsoft.Office.Interop.Graph
程序集版本:14.0.0.0
Win32版本:14.0.4756.1000
代码库:file:///C:/Windows/assembly/GAC_MSIL/Microsoft.Office.Interop.Graph/14.0.0.0__71e9bce111e9429c/Microsoft.Office.Interop.Graph.dll
--------------------------------------
System.Data.DataSetExtensions
程序集版本:4.0.0.0
Win32 版本:4.0.30319.1 构建者:RTMRel
代码库:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Data.DataSetExtensions/v4.0_4.0.0.0__b77a5c561934e089/System.Data.DataSetExtensions.dll
--------------------------------------
************** JIT 调试 **************
要启用即时 (JIT) 调试,为此的 .config 文件
应用程序或计算机 (machine.config) 必须具有
在 system.windows.forms 部分设置的 jitDebugging 值。
应用程序还必须通过调试进行编译
启用。
例如:
启用 JIT 调试后,任何未处理的异常
将发送到计算机上注册的 JIT 调试器
而不是由该对话框处理。
