开发者

SQL Compact 4.0 crashing

I have application which do multiple accessing to DB (SqlCompact 4.0). And sometimes application crashed with the next record in Event Viewer.

Application: MyApp.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.AccessViolationException
Stack:
   at System.Data.SqlServerCe.NativeMethodsHelper.SafeRelease(IntPtr ByRef)
   at System.Data.SqlServerCe.NativeMethods.SafeRelease(IntPtr ByRef)
   at System.Data.SqlServerCe.SqlCeCommand.ReleaseNativeInterfaces()
   at System.Data.SqlServerCe.SqlCeCommand.Dispose(Boolean)
   at System.Data.SqlServerCe.SqlCeCommand.Finalize()

P.S. Multiple accessing means that there are N tasks(Task Parallel Library) which add records in DB开发者_如何学编程.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜