我在使用公司系统的时出现了问题:系统数据输入没有问题,但要导出数据就会有以下错误提示:这个问题都折腾我很久了,公司IT也看过,.NET Framework 2.0/3.0都装了,还是没法解决。
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at System.Windows.Forms.UnsafeNativeMethods.CoCreateInstance(Guid& clsid, Object punkOuter, Int32 context, Guid& iid)
at System.Windows.Forms.AxHost.CreateWithoutLicense(Guid clsid)
at System.Windows.Forms.AxHost.CreateWithLicense(String license, Guid clsid)
at System.Windows.Forms.AxHost.CreateInstanceCore(Guid clsid)
at System.Windows.Forms.AxHost.CreateInstance()
at System.Windows.Forms.AxHost.GetOcxCreate()
at System.Windows.Forms.AxHost.TransitionUpTo(Int32 state)
at System.Windows.Forms.AxHost.CreateHandle()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.AxHost.EndInit()
at EFResource.Frms.FrmSheet.FrmSlip.InitializeComponent()
at EFResource.Frms.FrmSheet.FrmSlip..ctor(REmployeeInfoArrayVo remployeeInfoArrayVo, FileInfo fileInfoVo, ReportInfoVo reportVo)
at EFResource.Frms.SlipReport.FrmSlipSelect.BtnPreview_Click(Object sender, EventArgs e)
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.4963 (win7RTMGDR.050727-4900)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
EFResource
Assembly Version: 1.0.4371.25925
Win32 Version: 1.0.4371.25925
CodeBase: file:///D:/HRO%20System/EF_V4.16-current/EFResource.exe
----------------------------------------
Frms
Assembly Version: 1.0.4024.31405
Win32 Version: 1.0.4024.31405
CodeBase: file:///D:/HRO%20System/EF_V4.16-current/Frms.DLL
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4961 (win7RTMGDR.050727-4900)
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.4962 (win7RTMGDR.050727-4900)
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.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
EntityVo
Assembly Version: 1.0.4006.20617
Win32 Version: 1.0.4006.20617
CodeBase: file:///D:/HRO%20System/EF_V4.16-current/EntityVo.DLL
----------------------------------------
Uctl
Assembly Version: 1.0.4006.20620
Win32 Version: 1.0.4006.20620
CodeBase: file:///D:/HRO%20System/EF_V4.16-current/Uctl.DLL
----------------------------------------
EFResourceBiz
Assembly Version: 1.0.4006.20614
Win32 Version: 1.0.4006.20614
CodeBase: file:///D:/HRO%20System/EF_V4.16-current/EFResourceBiz.DLL
----------------------------------------
Facade
Assembly Version: 1.0.4371.25911
Win32 Version: 1.0.4371.25911
CodeBase: file:///D:/HRO%20System/EF_V4.16-current/Facade.DLL
----------------------------------------
Dao
Assembly Version: 1.0.4006.20617
Win32 Version: 1.0.4006.20617
CodeBase: file:///D:/HRO%20System/EF_V4.16-current/Dao.DLL
----------------------------------------
OrmLib
Assembly Version: 1.7.2.3683
Win32 Version: 1.7.2.3683
CodeBase: file:///D:/HRO%20System/EF_V4.16-current/OrmLib.DLL
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
Comm
Assembly Version: 1.0.4006.20613
Win32 Version: 1.0.4006.20613
CodeBase: file:///D:/HRO%20System/EF_V4.16-current/Comm.DLL
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Data
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Transactions
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
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.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_32/System.EnterpriseServices/2.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
----------------------------------------
Report
Assembly Version: 1.0.4371.25902
Win32 Version: 1.0.4371.25902
CodeBase: file:///D:/HRO%20System/EF_V4.16-current/Report.DLL
----------------------------------------
AxInterop.OWC11
Assembly Version: 11.0.0.0
Win32 Version: 11.0.0.0
CodeBase: file:///D:/HRO%20System/EF_V4.16-current/AxInterop.OWC11.DLL
----------------------------------------
MSDATASRC
Assembly Version: 7.0.3300.0
Win32 Version: 7.00.9466
CodeBase: file:///C:/Windows/assembly/GAC/MSDATASRC/7.0.3300.0__b03f5f7f11d50a3a/MSDATASRC.dll
----------------------------------------
Microsoft.Office.Interop.Owc11
Assembly Version: 11.0.0.0
Win32 Version: 11.0.5530
CodeBase: file:///C:/Windows/assembly/GAC/Microsoft.Office.Interop.Owc11/11.0.0.0__71e9bce111e9429c/Microsoft.Office.Interop.Owc11.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.