以文本方式查看主题

-  Foxtable(狐表)  (http://foxtable.com/bbs/index.asp)
--  专家坐堂  (http://foxtable.com/bbs/list.asp?boardid=2)
----  来电录音盒示例改的程序,错误提示有关问题。  (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=77821)

--  作者:zhchling
--  发布时间:2015/11/26 7:41:00
--  来电录音盒示例改的程序,错误提示有关问题。
我用来电录音盒示例改的程序, 来电弹屏之后,提示下面错误1,紧接着提示错误2。  

请问错误是什么意思? 我应该从哪些方面入手?



错误1:
----------------

.NET Framework 版本:2.0.50727.3655
Foxtable 版本:2015.11.11.1
错误所在事件:
详细错误信息:
Failed to enable constraints. One or more rows contain values violating non-null, unique, or foreign-key constraints.



错误2:
--------------------




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.Runtime.InteropServices.Marshal.PtrToStructureHelper(IntPtr ptr, Object structure, Boolean allowValueClasses)
   at System.Runtime.InteropServices.Marshal.PtrToStructure(IntPtr ptr, Type structureType)
   at UserCode.FormEventReport.DefWndProc(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ContainerControl.WndProc(Message& m)
   at System.Windows.Forms.Form.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.3655 (GDR.050727-3600)
    CodeBase: file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Foxtable
    Assembly Version: 2015.11.11.1
    Win32 Version: 2015.11.11.1
    CodeBase: file:///D:/foxtable/开发版/foxtable.exe
----------------------------------------
Foxtable.Lib
    Assembly Version: 2014.10.23.1
    Win32 Version: 2014.10.23.1
    CodeBase: file:///D:/foxtable/开发版/Foxtable.Lib.DLL
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3645 (GDR.050727-3600)
    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.3644 (GDR.050727-3600)
    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.3644 (GDR.050727-3600)
    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.3053 (netfxsp.050727-3000)
    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.3053 (netfxsp.050727-3000)
    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.3654 (GDR.050727-3600)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
C1.Win.C1Ribbon.2
    Assembly Version: 2.0.20102.279
    Win32 Version: 2.0.20102.279
    CodeBase: file:///D:/foxtable/开发版/C1.Win.C1Ribbon.2.DLL
----------------------------------------
Interop.JinDI_SmsComLib
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///D:/foxtable/开发版/Interop.JinDI_SmsComLib.DLL
----------------------------------------
System.Management
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Management/2.0.0.0__b03f5f7f11d50a3a/System.Management.dll
----------------------------------------
C1.Win.C1Command.2
    Assembly Version: 2.0.20102.19458
    Win32 Version: 2.0.20102.19458
    CodeBase: file:///D:/foxtable/开发版/C1.Win.C1Command.2.DLL
----------------------------------------
System.Transactions
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    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.3053 (netfxsp.050727-3000)
    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.3654 (GDR.050727-3600)
    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.3053 (netfxsp.050727-3000)
    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/开发版/C1.Win.C1FlexGrid.2.DLL
----------------------------------------
Foxtable.Blank
    Assembly Version: 0.0.0.0
    Win32 Version: 2015.11.11.1
    CodeBase: file:///D:/foxtable/开发版/foxtable.exe
----------------------------------------
Interop.MSScriptControl
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///D:/foxtable/开发版/Interop.MSScriptControl.DLL
----------------------------------------
C1.Win.C1Input.2
    Assembly Version: 2.0.20102.33248
    Win32 Version: 2.0.20102.33248
    CodeBase: file:///D:/foxtable/开发版/C1.Win.C1Input.2.DLL
----------------------------------------
System.Design
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3645 (GDR.050727-3600)
    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: 2015.11.11.1
    CodeBase: file:///D:/foxtable/开发版/foxtable.exe
----------------------------------------
System.Web
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3658 (GDR.050727-3600)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll
----------------------------------------
旅游管理项目.Project
    Assembly Version: 0.0.0.0
    Win32 Version: 2015.11.11.1
    CodeBase: file:///D:/foxtable/开发版/foxtable.exe
----------------------------------------
旅游管理项目.DataTable.ABHHiMNhe7JQq0MI3
    Assembly Version: 0.0.0.0
    Win32 Version: 2015.11.11.1
    CodeBase: file:///D:/foxtable/开发版/foxtable.exe
----------------------------------------
旅游管理项目.DataTable.AJeJq2TD2cqeLOlb5
    Assembly Version: 0.0.0.0
    Win32 Version: 2015.11.11.1
    CodeBase: file:///D:/foxtable/开发版/foxtable.exe
----------------------------------------
旅游管理项目.DataTable.APppvcDOSUZIG4f7n
    Assembly Version: 0.0.0.0
    Win32 Version: 2015.11.11.1
    CodeBase: file:///D:/foxtable/开发版/foxtable.exe
----------------------------------------
旅游管理项目.DataTable.AqDir6xhq7vYSJQvp
    Assembly Version: 0.0.0.0
    Win32 Version: 2015.11.11.1
    CodeBase: file:///D:/foxtable/开发版/foxtable.exe
----------------------------------------
旅游管理项目.DataTable.AFarx4DJ4P54MTaHL
    Assembly Version: 0.0.0.0
    Win32 Version: 2015.11.11.1
    CodeBase: file:///D:/foxtable/开发版/foxtable.exe
----------------------------------------
旅游管理项目.DataTable.Ae0l7VPmWlilAVpty
    Assembly Version: 0.0.0.0
    Win32 Version: 2015.11.11.1
    CodeBase: file:///D:/foxtable/开发版/foxtable.exe
----------------------------------------
旅游管理项目.Ribbon
    Assembly Version: 0.0.0.0
    Win32 Version: 2015.11.11.1
    CodeBase: file:///D:/foxtable/开发版/foxtable.exe
----------------------------------------
旅游管理项目.Public
    Assembly Version: 0.0.0.0
    Win32 Version: 2015.11.11.1
    CodeBase: file:///D:/foxtable/开发版/foxtable.exe
----------------------------------------
旅游管理项目.Form.30283fdf
    Assembly Version: 0.0.0.0
    Win32 Version: 2015.11.11.1
    CodeBase: file:///D:/foxtable/开发版/foxtable.exe
----------------------------------------
Neodynamic.WinControls.BarcodeProfessional
    Assembly Version: 6.0.2000.0
    Win32 Version: 6.0.2000.15
    CodeBase: file:///D:/foxtable/开发版/Neodynamic.WinControls.BarcodeProfessional.DLL
----------------------------------------
C1.Win.C1Chart.2
    Assembly Version: 2.0.20102.20187
    Win32 Version: 2.0.20102.20187
    CodeBase: file:///D:/foxtable/开发版/C1.Win.C1Chart.2.DLL
----------------------------------------
旅游管理项目.Table.b41fe48c
    Assembly Version: 0.0.0.0
    Win32 Version: 2015.11.11.1
    CodeBase: file:///D:/foxtable/开发版/foxtable.exe
----------------------------------------
Foxtable.Ribbon
    Assembly Version: 0.0.0.0
    Win32 Version: 2015.11.11.1
    CodeBase: file:///D:/foxtable/开发版/foxtable.exe
----------------------------------------
uz5w2lav
    Assembly Version: 0.0.0.0
    Win32 Version: 2.0.50727.3644 (GDR.050727-3600)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
C1.C1Zip.2
    Assembly Version: 2.1.20102.69
    Win32 Version: 2.1.20102.69
    CodeBase: file:///D:/foxtable/开发版/C1.C1Zip.2.DLL
----------------------------------------
旅游管理项目.Table.3002c022
    Assembly Version: 0.0.0.0
    Win32 Version: 2015.11.11.1
    CodeBase: file:///D:/foxtable/开发版/foxtable.exe
----------------------------------------
旅游管理项目.Table.384d9ece
    Assembly Version: 0.0.0.0
    Win32 Version: 2015.11.11.1
    CodeBase: file:///D:/foxtable/开发版/foxtable.exe
----------------------------------------
旅游管理项目.Table.39096d5c
    Assembly Version: 0.0.0.0
    Win32 Version: 2015.11.11.1
    CodeBase: file:///D:/foxtable/开发版/foxtable.exe
----------------------------------------
旅游管理项目.Table.490cd4ce
    Assembly Version: 0.0.0.0
    Win32 Version: 2015.11.11.1
    CodeBase: file:///D:/foxtable/开发版/foxtable.exe
----------------------------------------
旅游管理项目.Table.75522da9
    Assembly Version: 0.0.0.0
    Win32 Version: 2015.11.11.1
    CodeBase: file:///D:/foxtable/开发版/foxtable.exe
----------------------------------------
旅游管理项目.Table.873ce6be
    Assembly Version: 0.0.0.0
    Win32 Version: 2015.11.11.1
    CodeBase: file:///D:/foxtable/开发版/foxtable.exe
----------------------------------------
旅游管理项目.Table.9f37a799
    Assembly Version: 0.0.0.0
    Win32 Version: 2015.11.11.1
    CodeBase: file:///D:/foxtable/开发版/foxtable.exe
----------------------------------------
旅游管理项目.Table.b41fe48c
    Assembly Version: 0.0.0.0
    Win32 Version: 2015.11.11.1
    CodeBase: file:///D:/foxtable/开发版/foxtable.exe
----------------------------------------
旅游管理项目.Table.d799debd
    Assembly Version: 0.0.0.0
    Win32 Version: 2015.11.11.1
    CodeBase: file:///D:/foxtable/开发版/foxtable.exe
----------------------------------------
旅游管理项目.Table.efb8a922
    Assembly Version: 0.0.0.0
    Win32 Version: 2015.11.11.1
    CodeBase: file:///D:/foxtable/开发版/foxtable.exe
----------------------------------------
旅游管理项目.Form
    Assembly Version: 0.0.0.0
    Win32 Version: 2015.11.11.1
    CodeBase: file:///D:/foxtable/开发版/foxtable.exe
----------------------------------------
旅游管理项目.Ribbon
    Assembly Version: 0.0.0.0
    Win32 Version: 2015.11.11.1
    CodeBase: file:///D:/foxtable/开发版/foxtable.exe
----------------------------------------
旅游管理项目.DataTable.ABHHiMNhe7JQq0MI3
    Assembly Version: 0.0.0.0
    Win32 Version: 2015.11.11.1
    CodeBase: file:///D:/foxtable/开发版/foxtable.exe
----------------------------------------
旅游管理项目.DataTable.AJeJq2TD2cqeLOlb5
    Assembly Version: 0.0.0.0
    Win32 Version: 2015.11.11.1
    CodeBase: file:///D:/foxtable/开发版/foxtable.exe
----------------------------------------
旅游管理项目.DataTable.APppvcDOSUZIG4f7n
    Assembly Version: 0.0.0.0
    Win32 Version: 2015.11.11.1
    CodeBase: file:///D:/foxtable/开发版/foxtable.exe
----------------------------------------
旅游管理项目.DataTable.AqDir6xhq7vYSJQvp
    Assembly Version: 0.0.0.0
    Win32 Version: 2015.11.11.1
    CodeBase: file:///D:/foxtable/开发版/foxtable.exe
----------------------------------------
旅游管理项目.DataTable.AFarx4DJ4P54MTaHL
    Assembly Version: 0.0.0.0
    Win32 Version: 2015.11.11.1
    CodeBase: file:///D:/foxtable/开发版/foxtable.exe
----------------------------------------
旅游管理项目.DataTable.Ae0l7VPmWlilAVpty
    Assembly Version: 0.0.0.0
    Win32 Version: 2015.11.11.1
    CodeBase: file:///D:/foxtable/开发版/foxtable.exe
----------------------------------------
旅游管理项目.Project
    Assembly Version: 0.0.0.0
    Win32 Version: 2015.11.11.1
    CodeBase: file:///D:/foxtable/开发版/foxtable.exe
----------------------------------------
Interop.JRO
    Assembly Version: 2.6.0.0
    Win32 Version: 2.6.0.0
    CodeBase: file:///D:/foxtable/开发版/Interop.JRO.DLL
----------------------------------------
旅游管理项目.Ribbon
    Assembly Version: 0.0.0.0
    Win32 Version: 2015.11.11.1
    CodeBase: file:///D:/foxtable/开发版/foxtable.exe
----------------------------------------
Foxtable.Ribbon
    Assembly Version: 0.0.0.0
    Win32 Version: 2015.11.11.1
    CodeBase: file:///D:/foxtable/开发版/foxtable.exe
----------------------------------------
旅游管理项目.Form.2648b529
    Assembly Version: 0.0.0.0
    Win32 Version: 2015.11.11.1
    CodeBase: file:///D:/foxtable/开发版/foxtable.exe
----------------------------------------
旅游管理项目.Form.7145d7dd
    Assembly Version: 0.0.0.0
    Win32 Version: 2015.11.11.1
    CodeBase: file:///D:/foxtable/开发版/foxtable.exe
----------------------------------------
旅游管理项目.Form.6db91e44
    Assembly Version: 0.0.0.0
    Win32 Version: 2015.11.11.1
    CodeBase: file:///D:/foxtable/开发版/foxtable.exe
----------------------------------------
旅游管理项目.Form.6db91e44
    Assembly Version: 0.0.0.0
    Win32 Version: 2015.11.11.1
    CodeBase: file:///D:/foxtable/开发版/foxtable.exe
----------------------------------------
旅游管理项目.Form.d58ea334
    Assembly Version: 0.0.0.0
    Win32 Version: 2015.11.11.1
    CodeBase: file:///D:/foxtable/开发版/foxtable.exe
----------------------------------------
旅游管理项目.Form.aec46432
    Assembly Version: 0.0.0.0
    Win32 Version: 2015.11.11.1
    CodeBase: file:///D:/foxtable/开发版/foxtable.exe
----------------------------------------
旅游管理项目.Form.9a90c92e
    Assembly Version: 0.0.0.0
    Win32 Version: 2015.11.11.1
    CodeBase: file:///D:/foxtable/开发版/foxtable.exe
----------------------------------------

************** 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.


--  作者:zhchling
--  发布时间:2015/11/26 7:42:00
--  

图片点击可在新窗口打开查看此主题相关图片如下:1111.png
图片点击可在新窗口打开查看
[此贴子已经被作者于2015/11/26 7:42:39编辑过]

--  作者:zhchling
--  发布时间:2015/11/26 7:43:00
--  

图片点击可在新窗口打开查看此主题相关图片如下:222.png
图片点击可在新窗口打开查看
[此贴子已经被作者于2015/12/2 15:43:25编辑过]

--  作者:zhchling
--  发布时间:2015/11/26 7:44:00
--  
新安装的foxtable,    .net sp2
--  作者:zhchling
--  发布时间:2015/11/26 7:52:00
--  
还有过如下提示:


图片点击可在新窗口打开查看此主题相关图片如下:444.png
图片点击可在新窗口打开查看

--  作者:大红袍
--  发布时间:2015/11/26 10:29:00
--  

只有来电弹屏的时候,才报错?那不用这个功能是否都正常。

 

具体联系一下QQ800014337测试咨询


--  作者:Hyphen
--  发布时间:2015/11/26 10:53:00
--  
来电弹屏后做了什么事情,提示是表字段非空或者是键值关联失败,写入或者修改出错
--  作者:zhchling
--  发布时间:2015/12/2 15:43:00
--  
出现这个错误后,  点 continue  , 可以继续运行。

目前还没找到错误原因。


有没有能忽略错误的代码? 或者模拟点按  continue


图片点击可在新窗口打开查看此主题相关图片如下:222.png
图片点击可在新窗口打开查看
[此贴子已经被作者于2015/12/2 15:43:39编辑过]

--  作者:大红袍
--  发布时间:2015/12/2 15:45:00
--  

加上try catch代码

 

http://www.foxtable.com/help/topics/2070.htm