以文本方式查看主题

-  Foxtable(狐表)  (http://www.foxtable.com/bbs/index.asp)
--  专家坐堂  (http://www.foxtable.com/bbs/list.asp?boardid=2)
----  发布后的程序,第二次运行报错  (http://www.foxtable.com/bbs/dispbbs.asp?boardid=2&id=98232)

--  作者:puresky
--  发布时间:2017/3/26 21:48:00
--  发布后的程序,第二次运行报错

报错情况如下:请帮助解决! 电脑是win7系统

 

有关调用实时(JIT)调试而不是此对话框的详细信息,
请参见此消息的结尾。

************** 异常文本 **************
System.AccessViolationException: 尝试读取或写入受保护的内存。这通常指示其他内存已损坏。
   在 C1.Win.C1Ribbon.ay.DrawThemeTextEx(IntPtr A_0, IntPtr A_1, Int32 A_2, Int32 A_3, String A_4, Int32 A_5, Int32 A_6, f& A_7, k& A_8)
   在 C1.Win.C1Ribbon.cq.a(Graphics A_0, String A_1, Font A_2, Rectangle A_3, Int32 A_4, Color A_5, Boolean A_6, Boolean A_7)
   在 C1.Win.C1Ribbon.dw.b(Graphics A_0, Rectangle A_1)
   在 C1.Framework.a3.a(Graphics A_0, Rectangle A_1)
   在 C1.Framework.a3.c(Graphics A_0, Rectangle A_1)
   在 C1.Framework.a3.a(Graphics A_0, Rectangle A_1)
   在 C1.Framework.a3.c(Graphics A_0, Rectangle A_1)
   在 C1.Framework.a3.a(Graphics A_0, Rectangle A_1)
   在 C1.Win.C1Ribbon.f.a.a(Graphics A_0, Rectangle A_1)
   在 C1.Framework.a3.c(Graphics A_0, Rectangle A_1)
   在 C1.Framework.a3.a(Graphics A_0, Rectangle A_1)
   在 C1.Framework.XView.OnPaint(PaintEventArgs e)
   在 C1.Win.C1Ribbon.C1Ribbon.OnPaint(PaintEventArgs e)
   在 System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)
   在 System.Windows.Forms.Control.WmPaint(Message& m)
   在 System.Windows.Forms.Control.WndProc(Message& m)
   在 C1.Framework.ScrollableControl.WndProc(Message& m)
   在 C1.Win.C1Ribbon.C1Ribbon.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.4927 (NetFXspW7.050727-4900)
    基本代码: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Foxtable
    程序集版本: 2017.3.18.1
    Win32 版本: 2017.03.18.1
    基本代码: file:///C:/Users/simon/Documents/Foxtable项目/传染病、死亡登记/Publish/asd.exe
----------------------------------------
Foxtable.Lib
    程序集版本: 2017.3.16.1
    Win32 版本: 2017.03.16.1
    基本代码: file:///C:/Users/simon/Documents/Foxtable项目/传染病、死亡登记/Publish/Foxtable.Lib.DLL
----------------------------------------
System.Windows.Forms
    程序集版本: 2.0.0.0
    Win32 版本: 2.0.50727.4927 (NetFXspW7.050727-4900)
    基本代码: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    程序集版本: 2.0.0.0
    Win32 版本: 2.0.50727.4927 (NetFXspW7.050727-4900)
    基本代码: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    程序集版本: 2.0.0.0
    Win32 版本: 2.0.50727.4927 (NetFXspW7.050727-4900)
    基本代码: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Microsoft.VisualBasic
    程序集版本: 8.0.0.0
    Win32 版本: 8.0.50727.4927 (NetFXspW7.050727-4900)
    基本代码: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System.Data
    程序集版本: 2.0.0.0
    Win32 版本: 2.0.50727.4927 (NetFXspW7.050727-4900)
    基本代码: file:///C:/Windows/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Xml
    程序集版本: 2.0.0.0
    Win32 版本: 2.0.50727.4927 (NetFXspW7.050727-4900)
    基本代码: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Configuration
    程序集版本: 2.0.0.0
    Win32 版本: 2.0.50727.4927 (NetFXspW7.050727-4900)
    基本代码: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
mscorlib.resources
    程序集版本: 2.0.0.0
    Win32 版本: 2.0.50727.4927 (NetFXspW7.050727-4900)
    基本代码: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
System.Management
    程序集版本: 2.0.0.0
    Win32 版本: 2.0.50727.4927 (NetFXspW7.050727-4900)
    基本代码: file:///C:/Windows/assembly/GAC_MSIL/System.Management/2.0.0.0__b03f5f7f11d50a3a/System.Management.dll
----------------------------------------
C1.Win.C1Ribbon.2
    程序集版本: 2.0.20161.147
    Win32 版本: 2.0.20161.147
    基本代码: file:///C:/Users/simon/Documents/Foxtable项目/传染病、死亡登记/Publish/C1.Win.C1Ribbon.2.DLL
----------------------------------------
Interop.JinDI_SmsComLib
    程序集版本: 1.0.0.0
    Win32 版本: 1.0.0.0
    基本代码: file:///C:/Users/simon/Documents/Foxtable项目/传染病、死亡登记/Publish/Interop.JinDI_SmsComLib.DLL
----------------------------------------
C1.Win.C1Command.2
    程序集版本: 2.0.20161.147
    Win32 版本: 2.0.20161.147
    基本代码: file:///C:/Users/simon/Documents/Foxtable项目/传染病、死亡登记/Publish/C1.Win.C1Command.2.DLL
----------------------------------------
System.Transactions
    程序集版本: 2.0.0.0
    Win32 版本: 2.0.50727.4927 (NetFXspW7.050727-4900)
    基本代码: file:///C:/Windows/assembly/GAC_32/System.Transactions/2.0.0.0__b77a5c561934e089/System.Transactions.dll
----------------------------------------
System.EnterpriseServices
    程序集版本: 2.0.0.0
    Win32 版本: 2.0.50727.4927 (NetFXspW7.050727-4900)
    基本代码: file:///C:/Windows/assembly/GAC_32/System.EnterpriseServices/2.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
----------------------------------------
System.Design
    程序集版本: 2.0.0.0
    Win32 版本: 2.0.50727.4927 (NetFXspW7.050727-4900)
    基本代码: file:///C:/Windows/assembly/GAC_MSIL/System.Design/2.0.0.0__b03f5f7f11d50a3a/System.Design.dll
----------------------------------------
Accessibility
    程序集版本: 2.0.0.0
    Win32 版本: 2.0.50727.4927 (NetFXspW7.050727-4900)
    基本代码: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
C1.Win.C1FlexGrid.2
    程序集版本: 2.0.20161.147
    Win32 版本: 2.0.20161.147
    基本代码: file:///C:/Users/simon/Documents/Foxtable项目/传染病、死亡登记/Publish/C1.Win.C1FlexGrid.2.DLL
----------------------------------------
Foxtable.Blank
    程序集版本: 0.0.0.0
    Win32 版本: 2017.03.18.1
    基本代码: file:///C:/Users/simon/Documents/Foxtable项目/传染病、死亡登记/Publish/asd.exe
----------------------------------------
Interop.MSScriptControl
    程序集版本: 1.0.0.0
    Win32 版本: 1.0.0.0
    基本代码: file:///C:/Users/simon/Documents/Foxtable项目/传染病、死亡登记/Publish/Interop.MSScriptControl.DLL
----------------------------------------
C1.Win.C1Input.2
    程序集版本: 2.0.20161.147
    Win32 版本: 2.0.20161.147
    基本代码: file:///C:/Users/simon/Documents/Foxtable项目/传染病、死亡登记/Publish/C1.Win.C1Input.2.DLL
----------------------------------------
Foxtable.Ribbon
    程序集版本: 0.0.0.0
    Win32 版本: 2017.03.18.1
    基本代码: file:///C:/Users/simon/Documents/Foxtable项目/传染病、死亡登记/Publish/asd.exe
----------------------------------------
System.Web
    程序集版本: 2.0.0.0
    Win32 版本: 2.0.50727.4927 (NetFXspW7.050727-4900)
    基本代码: file:///C:/Windows/assembly/GAC_32/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll
----------------------------------------
System.Windows.Forms.resources
    程序集版本: 2.0.0.0
    Win32 版本: 2.0.50727.4927 (NetFXspW7.050727-4900)
    基本代码: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_zh-CHS_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------

************** JIT 调试 **************
要启用实时(JIT)调试,
该应用程序或计算机的 .config 文件(machine.config)的 system.windows.forms 节中必须设置
jitDebugging 值。
编译应用程序时还必须启用
调试。

例如:

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

启用 JIT 调试后,任何无法处理的异常
都将被发送到在此计算机上注册的 JIT 调试器,
而不是由此对话框处理。


--  作者:有点色
--  发布时间:2017/3/26 23:43:00
--  

重新发布一次啊,永远都是第二次执行的时候会报错?

 

 


--  作者:puresky
--  发布时间:2017/3/27 14:21:00
--  
是的!


--  作者:有点色
--  发布时间:2017/3/27 14:38:00
--  
 发布一个空白项目,测试是否有问题。