以文本方式查看主题 - Foxtable(狐表) (http://foxtable.net/bbs/index.asp) -- 专家坐堂 (http://foxtable.net/bbs/list.asp?boardid=2) ---- 技术问题求助 (http://foxtable.net/bbs/dispbbs.asp?boardid=2&id=149414) |
-- 作者:老瓦老瓦 -- 发布时间:2020/4/30 17:31:00 -- 技术问题求助 我自己编制了一个excel报表,但是每次只能选择十几条记录输出报表,一旦选择超过几十条记录,就会出现错误。 错误信息详细如下,专家给诊断一下是怎么回事? See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.Runtime.InteropServices.ExternalException (0x80004005): A generic error occurred in GDI+. at System.Drawing.Image.Save(Stream stream, ImageCodecInfo encoder, EncoderParameters encoderParams) at System.Drawing.Image.Save(Stream stream, ImageFormat format) at C1.C1Excel.ah.a(Image A_0, ImageFormat A_1) at C1.C1Excel.ah.a(BinaryWriter A_0, Boolean A_1) at C1.C1Excel.ah.b() at C1.C1Excel.C1XLBook.o() at C1.C1Excel.C1XLBook.a(Stream A_0) at C1.C1Excel.C1XLBook.b(String A_0) at C1.C1Excel.C1XLBook.Save(String fileName, FileFormat format) at Foxtable.XLS.Book.Save(String FileName) at Foxtable.XLS.Report.Build() at Foxtable.OOoo_000.ooo0.o0oo.(Object A_0, EventArgs A_1) at C1.Win.C1Ribbon.RibbonButton.OnClick(EventArgs e) at C1.Win.C1Ribbon.RibbonButton.j() at C1.Win.C1Ribbon.a2.m() at C1.Win.C1Ribbon.a2.aw() at C1.Win.C1Ribbon.c.c() at C1.Win.C1Ribbon.c.a(MouseEventArgs A_0) at C1.Framework.XView.OnMouseUp(MouseEventArgs e) at C1.Win.C1Ribbon.c2.c.c(MouseEventArgs A_0) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at C1.Framework.ScrollableControl.WndProc(Message& m) at C1.Win.C1Ribbon.c2.c.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: 4.0.0.0 Win32 Version: 4.0.30319.18063 built by: FX45RTMGDR CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll ---------------------------------------- Foxtable Assembly Version: 2020.4.19.8 Win32 Version: 2020.04.19.8 CodeBase: file:///F:/foxtable%E9%A1%B9%E7%9B%AE%E7%AE%A1%E7%90%86/foxtable.exe ---------------------------------------- Foxtable.Lib Assembly Version: 2019.2.16.1 Win32 Version: 2019.02.16.1 CodeBase: file:///F:/foxtable%E9%A1%B9%E7%9B%AE%E7%AE%A1%E7%90%86/Foxtable.Lib.DLL ---------------------------------------- Microsoft.VisualBasic Assembly Version: 10.0.0.0 Win32 Version: 11.0.50709.17929 built by: FX45RTMREL CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll ---------------------------------------- System Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.34114 built by: FX45W81RTMGDR CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- System.Core Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.17929 built by: FX45RTMREL CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll ---------------------------------------- System.Windows.Forms Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.18036 built by: FX45RTMGDR CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll ---------------------------------------- System.Drawing Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.34270 built by: FX452RTMGDR CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll ---------------------------------------- C1.Win.C1Ribbon.4 Assembly Version: 4.0.20191.359 Win32 Version: 4.0.20191.359 CodeBase: file:///F:/foxtable%E9%A1%B9%E7%9B%AE%E7%AE%A1%E7%90%86/C1.Win.C1Ribbon.4.DLL ---------------------------------------- System.Xml Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.34234 built by: FX452RTMGDR CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll ---------------------------------------- System.Configuration Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.18060 built by: FX45RTMGDR CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll ---------------------------------------- Interop.JinDI_SmsComLib Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///F:/foxtable%E9%A1%B9%E7%9B%AE%E7%AE%A1%E7%90%86/Interop.JinDI_SmsComLib.DLL ---------------------------------------- System.Data Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.17929 built by: FX45RTMREL CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll ---------------------------------------- C1.Win.C1Command.4 Assembly Version: 4.0.20191.359 Win32 Version: 4.0.20191.359 CodeBase: file:///F:/foxtable%E9%A1%B9%E7%9B%AE%E7%AE%A1%E7%90%86/C1.Win.C1Command.4.DLL ---------------------------------------- System.Numerics Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.17929 built by: FX45RTMREL CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll ---------------------------------------- System.Transactions Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.17929 built by: FX45RTMREL CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Transactions/v4.0_4.0.0.0__b77a5c561934e089/System.Transactions.dll ---------------------------------------- System.EnterpriseServices Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.17929 built by: FX45RTMREL CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.EnterpriseServices/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll ---------------------------------------- System.Management Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.17929 built by: FX45RTMREL CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Management/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Management.dll ---------------------------------------- C1.Win.C1Themes.4 Assembly Version: 4.0.20183.338 Win32 Version: 4.0.20183.338 CodeBase: file:///F:/foxtable%E9%A1%B9%E7%9B%AE%E7%AE%A1%E7%90%86/C1.Win.C1Themes.4.DLL ---------------------------------------- C1.Win.4 Assembly Version: 4.0.20191.359 Win32 Version: 4.0.20191.359 CodeBase: file:///F:/foxtable%E9%A1%B9%E7%9B%AE%E7%AE%A1%E7%90%86/C1.Win.4.DLL ---------------------------------------- C1.C1Zip.4 Assembly Version: 4.0.20183.338 Win32 Version: 4.0.20183.338 CodeBase: file:///F:/foxtable%E9%A1%B9%E7%9B%AE%E7%AE%A1%E7%90%86/C1.C1Zip.4.DLL ---------------------------------------- Accessibility Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.17929 built by: FX45RTMREL CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll ---------------------------------------- C1.Win.C1FlexGrid.4 Assembly Version: 4.0.20191.359 Win32 Version: 4.0.20191.359 CodeBase: file:///F:/foxtable%E9%A1%B9%E7%9B%AE%E7%AE%A1%E7%90%86/C1.Win.C1FlexGrid.4.DLL ---------------------------------------- C1.Win.C1Input.4 Assembly Version: 4.0.20191.359 Win32 Version: 4.0.20191.359 CodeBase: file:///F:/foxtable%E9%A1%B9%E7%9B%AE%E7%AE%A1%E7%90%86/C1.Win.C1Input.4.DLL ---------------------------------------- Foxtable.Blank Assembly Version: 0.0.0.0 Win32 Version: 2020.04.19.8 CodeBase: file:///F:/foxtable%E9%A1%B9%E7%9B%AE%E7%AE%A1%E7%90%86/foxtable.exe ---------------------------------------- Interop.MSScriptControl Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///F:/foxtable%E9%A1%B9%E7%9B%AE%E7%AE%A1%E7%90%86/Interop.MSScriptControl.DLL ---------------------------------------- Foxtable.Ribbon Assembly Version: 0.0.0.0 Win32 Version: 2020.04.19.8 CodeBase: file:///F:/foxtable%E9%A1%B9%E7%9B%AE%E7%AE%A1%E7%90%86/foxtable.exe ---------------------------------------- System.Web Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.34280 built by: FX452RTMGDR CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Web/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.dll ---------------------------------------- Foxtable.Blank Assembly Version: 0.0.0.0 Win32 Version: 2020.04.19.8 CodeBase: file:///F:/foxtable%E9%A1%B9%E7%9B%AE%E7%AE%A1%E7%90%86/foxtable.exe ---------------------------------------- Neodynamic.WinControls.BarcodeProfessional Assembly Version: 10.0.2000.0 Win32 Version: 10.0.2018.508 CodeBase: file:///F:/foxtable%E9%A1%B9%E7%9B%AE%E7%AE%A1%E7%90%86/Neodynamic.WinControls.BarcodeProfessional.DLL ---------------------------------------- C1.C1Excel.4 Assembly Version: 4.0.20183.338 Win32 Version: 4.0.20183.338 CodeBase: file:///F:/foxtable%E9%A1%B9%E7%9B%AE%E7%AE%A1%E7%90%86/C1.C1Excel.4.DLL ---------------------------------------- 管理项目1.Public Assembly Version: 0.0.0.0 Win32 Version: 2020.04.19.8 CodeBase: file:///F:/foxtable%E9%A1%B9%E7%9B%AE%E7%AE%A1%E7%90%86/foxtable.exe ---------------------------------------- rn4jtpun Assembly Version: 0.0.0.0 Win32 Version: 4.0.30319.34114 built by: FX45W81RTMGDR CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- C1.Win.Bitmap.4 Assembly Version: 4.0.20191.359 Win32 Version: 4.0.20191.359 CodeBase: file:///F:/foxtable%E9%A1%B9%E7%9B%AE%E7%AE%A1%E7%90%86/C1.Win.Bitmap.4.DLL ---------------------------------------- Microsoft.Office.Interop.Word Assembly Version: 15.0.0.0 Win32 Version: 15.0.4603.1000 CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.Office.Interop.Word/15.0.0.0__71e9bce111e9429c/Microsoft.Office.Interop.Word.dll ---------------------------------------- office Assembly Version: 15.0.0.0 Win32 Version: 15.0.4613.1000 CodeBase: file:///C:/Windows/assembly/GAC_MSIL/office/15.0.0.0__71e9bce111e9429c/office.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. |
-- 作者:狐狸爸爸 -- 发布时间:2020/4/30 17:41:00 -- 例子发上来 |
-- 作者:老瓦老瓦 -- 发布时间:2020/4/30 18:31:00 -- 这个是我的模板 |
-- 作者:老瓦老瓦 -- 发布时间:2020/4/30 18:33:00 -- 模板见附件 |
-- 作者:有点蓝 -- 发布时间:2020/4/30 20:13:00 -- 应该是使用的图片太大,建议把分辨率改小,压缩一下图片 |
-- 作者:老瓦老瓦 -- 发布时间:2020/4/30 23:44:00 -- 好的,谢谢,我试试看 |