以文本方式查看主题

-  Foxtable(狐表)  (http://foxtable.com/bbs/index.asp)
--  专家坐堂  (http://foxtable.com/bbs/list.asp?boardid=2)
----  错误提示:引動過程的目標傳回例外狀況  (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=54872)

--  作者:yankunhao
--  发布时间:2014/8/6 14:10:00
--  错误提示:引動過程的目標傳回例外狀況

现在有一个客户端在设定加载树时出现如下错误,请问是什么原因导致的?

 

如需叫用 Just-In-Time (JIT) 偵錯的詳細資料,
請參閱本訊息結尾處 (而非這個對話方塊) 的資訊。

************** 例外狀況文字 **************
System.Reflection.TargetInvocationException: 引動過程的目標傳回例外狀況。 ---> System.Reflection.TargetInvocationException: 引動過程的目標傳回例外狀況。 ---> System.Drawing.Printing.InvalidPrinterException: 未安裝印表機。
   於 System.Drawing.Printing.PrinterSettings.GetHdevmodeInternal(String printer)
   於 System.Drawing.Printing.PrinterSettings.GetHdevmodeInternal()
   於 System.Drawing.Printing.PrinterSettings.GetHdevmode()
   於 System.Drawing.Printing.PageSettings.get_PaperSource()
   於 Foxtable.PrintInfo.get_PaperSource()
   --- 內部例外狀況堆疊追蹤的結尾 ---
   於 System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
   於 System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
   於 System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
   於 System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   於 System.Reflection.RuntimePropertyInfo.GetValue(Object obj, BindingFlags invokeAttr, Binder binder, Object[] index, CultureInfo culture)
   於 System.Reflection.RuntimePropertyInfo.GetValue(Object obj, Object[] index)
   於 Foxtable.gt.a(Object A_0, Boolean A_1, Char A_2, Boolean A_3)
   於 Foxtable.TableProperty.get_PrintInfo()
   --- 內部例外狀況堆疊追蹤的結尾 ---
   於 System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
   於 System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
   於 System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
   於 System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   於 System.Reflection.RuntimePropertyInfo.GetValue(Object obj, BindingFlags invokeAttr, Binder binder, Object[] index, CultureInfo culture)
   於 System.Reflection.RuntimePropertyInfo.GetValue(Object obj, Object[] index)
   於 Foxtable.gt.a(Object A_0, Boolean A_1, Char A_2, Boolean A_3)
   於 Foxtable.Table.f()
   於 Foxtable.g5.b(Object A_0, EventArgs A_1)
   於 System.Windows.Forms.Control.OnClick(EventArgs e)
   於 System.Windows.Forms.Button.OnClick(EventArgs e)
   於 System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   於 System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   於 System.Windows.Forms.Control.WndProc(Message& m)
   於 System.Windows.Forms.ButtonBase.WndProc(Message& m)
   於 System.Windows.Forms.Button.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)


--  作者:Bin
--  发布时间:2014/8/6 14:23:00
--  
尝试设置一个默认打印机看看