以文本方式查看主题

-  Foxtable(狐表)  (http://foxtable.net/bbs/index.asp)
--  专家坐堂  (http://foxtable.net/bbs/list.asp?boardid=2)
----  我的窗口管理运行不了啊,错误提示,,求,,,  (http://foxtable.net/bbs/dispbbs.asp?boardid=2&id=10922)

--  作者:jackshen888
--  发布时间:2011/6/29 22:06:00
--  我的窗口管理运行不了啊,错误提示,,求,,,
图片点击可在新窗口打开查看 [窗口运行不了,,提示这个,,是什么原因

--  作者:jackshen888
--  发布时间:2011/6/29 22:48:00
--  

Details

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.BadImageFormatException: Bad class token.
   at Foxtable.WinForm.Form.O1ll1O10lO0l(ControlCollection O11OlO0l, DataRow O0Ol1Ol01, Int32 Ol01)
   at Foxtable.WinForm.Form.Create()
   at Foxtable.WinForm.Form.Ol1l(C1MainPage O0l0Ol11, Int32 O, Int32 O)
   at Foxtable.WinForm.Form.Open(Int32 O, Int32 O)
   at Foxtable.WinForm.Form.Show(Int32 O, Int32 O)
   at Foxtable.FormsManager.Ol11Ol10011Oll(Object Ol1l01, EventArgs O)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Foxtable
    Assembly Version: 2011.7.5.1
    Win32 Version: 2011.07.05.1
    CodeBase: file:///D:/foxtable/Trial/foxtable.exe
----------------------------------------
Foxtable.Lib
    Assembly Version: 2011.7.5.1
    Win32 Version: 2011.07.05.1
    CodeBase: file:///D:/foxtable/Trial/Foxtable.Lib.DLL
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Microsoft.VisualBasic
    Assembly Version: 8.0.0.0
    Win32 Version: 8.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System.Data
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Management
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Management/2.0.0.0__b03f5f7f11d50a3a/System.Management.dll
----------------------------------------
C1.Win.C1Ribbon.2
    Assembly Version: 2.0.20102.279
    Win32 Version: 2.0.20102.279
    CodeBase: file:///D:/foxtable/Trial/C1.Win.C1Ribbon.2.DLL
----------------------------------------
C1.Win.C1Command.2
    Assembly Version: 2.0.20102.19458
    Win32 Version: 2.0.20102.19458
    CodeBase: file:///D:/foxtable/Trial/C1.Win.C1Command.2.DLL
----------------------------------------
System.Transactions
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Transactions/2.0.0.0__b77a5c561934e089/System.Transactions.dll
----------------------------------------
System.EnterpriseServices
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.EnterpriseServices/2.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
----------------------------------------
System.Configuration
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
Accessibility
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
C1.Win.C1FlexGrid.2
    Assembly Version: 2.6.20102.554
    Win32 Version: 2.6.20102.554
    CodeBase: file:///D:/foxtable/Trial/C1.Win.C1FlexGrid.2.DLL
----------------------------------------
1868db6f.Project
    Assembly Version: 0.0.0.0
    Win32 Version: 2011.07.05.1
    CodeBase: file:///D:/foxtable/Trial/foxtable.exe
----------------------------------------
1868db6f.DataTable.入库单
    Assembly Version: 0.0.0.0
    Win32 Version: 2011.07.05.1
    CodeBase: file:///D:/foxtable/Trial/foxtable.exe
----------------------------------------
Foxtable.Blank
    Assembly Version: 0.0.0.0
    Win32 Version: 0.0.0.0
    CodeBase: file:///D:/foxtable/Trial/Catch/Foxtable.Blank.dll
----------------------------------------
1868db6f.DataTable.出库单
    Assembly Version: 0.0.0.0
    Win32 Version: 2011.07.05.1
    CodeBase: file:///D:/foxtable/Trial/foxtable.exe
----------------------------------------
1868db6f.DataTable.打色通知单
    Assembly Version: 0.0.0.0
    Win32 Version: 2011.07.05.1
    CodeBase: file:///D:/foxtable/Trial/foxtable.exe
----------------------------------------
1868db6f.DataTable.销售订单
    Assembly Version: 0.0.0.0
    Win32 Version: 2011.07.05.1
    CodeBase: file:///D:/foxtable/Trial/foxtable.exe
----------------------------------------
Interop.ADOX
    Assembly Version: 2.8.0.0
    Win32 Version: 2.8.0.0
    CodeBase: file:///D:/foxtable/Trial/Interop.ADOX.DLL
----------------------------------------
Interop.ADODB
    Assembly Version: 2.8.0.0
    Win32 Version: 2.8.0.0
    CodeBase: file:///D:/foxtable/Trial/Interop.ADODB.DLL
----------------------------------------
CustomMarshalers
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_32/CustomMarshalers/2.0.0.0__b03f5f7f11d50a3a/CustomMarshalers.dll
----------------------------------------
Interop.MSScriptControl
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///D:/foxtable/Trial/Interop.MSScriptControl.DLL
----------------------------------------
1868db6f.Form
    Assembly Version: 0.0.0.0
    Win32 Version: 2011.07.05.1
    CodeBase: file:///D:/foxtable/Trial/foxtable.exe
----------------------------------------
C1.Win.C1Input.2
    Assembly Version: 2.0.20102.33248
    Win32 Version: 2.0.20102.33248
    CodeBase: file:///D:/foxtable/Trial/C1.Win.C1Input.2.DLL
----------------------------------------
System.Design
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Design/2.0.0.0__b03f5f7f11d50a3a/System.Design.dll
----------------------------------------
Foxtable.Ribbon
    Assembly Version: 0.0.0.0
    Win32 Version: 2011.07.05.1
    CodeBase: file:///D:/foxtable/Trial/foxtable.exe
----------------------------------------
System.Web
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll
----------------------------------------
Neodynamic.WinControls.BarcodeProfessional
    Assembly Version: 6.0.2000.0
    Win32 Version: 6.0.2000.15
    CodeBase: file:///D:/foxtable/Trial/Neodynamic.WinControls.BarcodeProfessional.DLL
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.


 


--  作者:jackshen888
--  发布时间:2011/6/29 22:48:00
--  

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.InvalidProgramException: Common Language Runtime detected an invalid program.
   at Foxtable.WinForm.Form.O1ll1O10lO0l(ControlCollection O11OlO0l, DataRow O0Ol1Ol01, Int32 Ol01)
   at Foxtable.WinForm.Form.Create()
   at Foxtable.WinForm.Form.Ol1l(C1MainPage O0l0Ol11, Int32 O, Int32 O)
   at Foxtable.WinForm.Form.Open(Int32 O, Int32 O)
   at Foxtable.WinForm.Form.Show(Int32 O, Int32 O)
   at Foxtable.FormsManager.Ol11Ol10011Oll(Object Ol1l01, EventArgs O)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Foxtable
    Assembly Version: 2011.7.5.1
    Win32 Version: 2011.07.05.1
    CodeBase: file:///D:/foxtable/Trial/foxtable.exe
----------------------------------------
Foxtable.Lib
    Assembly Version: 2011.7.5.1
    Win32 Version: 2011.07.05.1
    CodeBase: file:///D:/foxtable/Trial/Foxtable.Lib.DLL
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Microsoft.VisualBasic
    Assembly Version: 8.0.0.0
    Win32 Version: 8.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System.Data
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Management
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Management/2.0.0.0__b03f5f7f11d50a3a/System.Management.dll
----------------------------------------
C1.Win.C1Ribbon.2
    Assembly Version: 2.0.20102.279
    Win32 Version: 2.0.20102.279
    CodeBase: file:///D:/foxtable/Trial/C1.Win.C1Ribbon.2.DLL
----------------------------------------
C1.Win.C1Command.2
    Assembly Version: 2.0.20102.19458
    Win32 Version: 2.0.20102.19458
    CodeBase: file:///D:/foxtable/Trial/C1.Win.C1Command.2.DLL
----------------------------------------
System.Transactions
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Transactions/2.0.0.0__b77a5c561934e089/System.Transactions.dll
----------------------------------------
System.EnterpriseServices
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.EnterpriseServices/2.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
----------------------------------------
System.Configuration
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
Accessibility
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
C1.Win.C1FlexGrid.2
    Assembly Version: 2.6.20102.554
    Win32 Version: 2.6.20102.554
    CodeBase: file:///D:/foxtable/Trial/C1.Win.C1FlexGrid.2.DLL
----------------------------------------
1868db6f.Project
    Assembly Version: 0.0.0.0
    Win32 Version: 2011.07.05.1
    CodeBase: file:///D:/foxtable/Trial/foxtable.exe
----------------------------------------
1868db6f.DataTable.入库单
    Assembly Version: 0.0.0.0
    Win32 Version: 2011.07.05.1
    CodeBase: file:///D:/foxtable/Trial/foxtable.exe
----------------------------------------
Foxtable.Blank
    Assembly Version: 0.0.0.0
    Win32 Version: 0.0.0.0
    CodeBase: file:///D:/foxtable/Trial/Catch/Foxtable.Blank.dll
----------------------------------------
1868db6f.DataTable.出库单
    Assembly Version: 0.0.0.0
    Win32 Version: 2011.07.05.1
    CodeBase: file:///D:/foxtable/Trial/foxtable.exe
----------------------------------------
1868db6f.DataTable.打色通知单
    Assembly Version: 0.0.0.0
    Win32 Version: 2011.07.05.1
    CodeBase: file:///D:/foxtable/Trial/foxtable.exe
----------------------------------------
1868db6f.DataTable.销售订单
    Assembly Version: 0.0.0.0
    Win32 Version: 2011.07.05.1
    CodeBase: file:///D:/foxtable/Trial/foxtable.exe
----------------------------------------
Interop.ADOX
    Assembly Version: 2.8.0.0
    Win32 Version: 2.8.0.0
    CodeBase: file:///D:/foxtable/Trial/Interop.ADOX.DLL
----------------------------------------
Interop.ADODB
    Assembly Version: 2.8.0.0
    Win32 Version: 2.8.0.0
    CodeBase: file:///D:/foxtable/Trial/Interop.ADODB.DLL
----------------------------------------
CustomMarshalers
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_32/CustomMarshalers/2.0.0.0__b03f5f7f11d50a3a/CustomMarshalers.dll
----------------------------------------
Interop.MSScriptControl
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///D:/foxtable/Trial/Interop.MSScriptControl.DLL
----------------------------------------
1868db6f.Form
    Assembly Version: 0.0.0.0
    Win32 Version: 2011.07.05.1
    CodeBase: file:///D:/foxtable/Trial/foxtable.exe
----------------------------------------
C1.Win.C1Input.2
    Assembly Version: 2.0.20102.33248
    Win32 Version: 2.0.20102.33248
    CodeBase: file:///D:/foxtable/Trial/C1.Win.C1Input.2.DLL
----------------------------------------
System.Design
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Design/2.0.0.0__b03f5f7f11d50a3a/System.Design.dll
----------------------------------------
Foxtable.Ribbon
    Assembly Version: 0.0.0.0
    Win32 Version: 2011.07.05.1
    CodeBase: file:///D:/foxtable/Trial/foxtable.exe
----------------------------------------
System.Web
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll
----------------------------------------
Neodynamic.WinControls.BarcodeProfessional
    Assembly Version: 6.0.2000.0
    Win32 Version: 6.0.2000.15
    CodeBase: file:///D:/foxtable/Trial/Neodynamic.WinControls.BarcodeProfessional.DLL
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.


 


--  作者:狐狸爸爸
--  发布时间:2011/6/30 7:45:00
--  

--  作者:jackshen888
--  发布时间:2011/6/30 22:02:00
--  

谢谢,,,按照此方法解决了,,