TMS问题
有关调用实时(JIT)调试而不是此对话框的详细信息,
请参见此消息的结尾。
************** 异常文本**************
System.InvalidOperationException: 无法生成临时类(result=1)。
error CS0009: 未能打开元数据文件“e:\Debug\TMS_winform.exe”--“试图加载格式不正确的程序。”
在https://www.360docs.net/doc/6211796387.html,pile(Assembly parent, String ns, XmlSerializerCompilerParameters xmlParameters, Evidence evidence)
在System.Xml.Serialization.TempAssembly.GenerateAssembly(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, Evidence evidence, XmlSerializerCompilerParameters parameters, Assembly assembly, Hashtable assemblies) 在System.Xml.Serialization.TempAssembly..ctor(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, String location, Evidence evidence)
在System.Xml.Serialization.XmlSerializer.GetSerializersFromCache(XmlMapping[] mappings, Type type)
在System.Xml.Serialization.XmlSerializer.FromMappings(XmlMapping[] mappings, Type type)
在System.Web.Services.Protocols.SoapClientType..ctor(Type type)
在System.Web.Services.Protocols.SoapHttpClientProtocol..ctor()
在TMS_winform.WebReference.Service1..ctor()
在TMS_winform.DBHelper..ctor(String strcon)
在TMS_winform.dal.DAL_WXCXX..ctor()
在TMS_winform.bll.BLL_WXCXX..ctor()
在TMS_winform.UI_frm.JCZL.frm_JCZL_WXCXX..ctor(ProgressBar progressbar)
在TMS_winform.Main_form.CreatFrmMode()
在TMS_winform.Main_form..ctor(TextBox textPWS)
在TMS_winform.Login_form.Form1_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.3053 (netfxsp.050727-3000)
基本代码: file:///C:/WINDOWS/https://www.360docs.net/doc/6211796387.html,/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
TMS_winform
程序集版本: 1.0.0.0
Win32 版本: 1.0.0.0
基本代码: file:///E:/Debug/TMS_winform.exe
----------------------------------------
System.Windows.Forms
程序集版本: 2.0.0.0
Win32 版本: 2.0.50727.3053 (netfxsp.050727-3000)
基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e08 9/System.Windows.Forms.dll
----------------------------------------
System
程序集版本: 2.0.0.0
Win32 版本: 2.0.50727.3053 (netfxsp.050727-3000)
基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
程序集版本: 2.0.0.0
Win32 版本: 2.0.50727.3053 (netfxsp.050727-3000)
基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System .Drawing.dll
----------------------------------------
System.Xml
程序集版本: 2.0.0.0
Win32 版本: 2.0.50727.3053 (netfxsp.050727-3000)
基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.X ml.dll
----------------------------------------
System.Windows.Forms.resources
程序集版本: 2.0.0.0
Win32 版本: 2.0.50727.42 (RTM.050727-4200)
基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_zh-CHS_ b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
System.Web.Services
程序集版本: 2.0.0.0
Win32 版本: 2.0.50727.3053 (netfxsp.050727-3000)
基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Web.Services/2.0.0.0__b03f5f7f11d50a3a/Sy stem.Web.Services.dll
----------------------------------------
System.Configuration
程序集版本: 2.0.0.0
Win32 版本: 2.0.50727.3053 (netfxsp.050727-3000)
基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/S ystem.Configuration.dll
----------------------------------------
System.Data
程序集版本: 2.0.0.0
Win32 版本: 2.0.50727.3053 (netfxsp.050727-3000)
基本代码: file:///C:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data. dll
----------------------------------------
System.XML.resources
程序集版本: 2.0.0.0
Win32 版本: 2.0.50727.42 (RTM.050727-4200)
基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml.resources/2.0.0.0_zh-CHS_b77a5c5619 34e089/System.Xml.resources.dll
----------------------------------------
mscorlib.resources
程序集版本: 2.0.0.0
Win32 版本: 2.0.50727.3053 (netfxsp.050727-3000)
基本代码: file:///C:/WINDOWS/https://www.360docs.net/doc/6211796387.html,/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
************** JIT 调试**************
要启用实时(JIT)调试,
该应用程序或计算机的.config 文件(machine.config)的system.windows.forms 节中必须设置
jitDebugging 值。
编译应用程序时还必须启用
调试。
例如:
启用JIT 调试后,任何无法处理的异常
都将被发送到在此计算机上注册的JIT 调试器,
而不是由此对话框处理。