Thanks for reply. Can you please send your latest trace files to support 'at' ninjatrader 'dot' com the next time you see this occur?
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
7.0.1000.4 Access Violation Exception in db code
Collapse
X
-
This closed issue in the SQLCE 3.5 SP2 seems to be exactly what's causing the market replay crash and the conditions are also comparable
It seems to have been fixed by Cummulative Update 2 (6 is the latest)
you can also refer to this post on stackoverflow for more info:
Comment
-
I get the same exception randomly under normal operating conditions
So, I see this is considered solved. I get these crashes occasionally on NT 7.0.1000.9.
and I get stack traces like this in the trace file:
Code:2012-12-13 12:46:00:537 in OnUnhandledApplicationException 2012-12-13 12:46:00:580 *************** unhandled exception trapped *************** 2012-12-13 12:46:00:580 Attempted to read or write protected memory. This is often an indication that other memory is corrupt. 2012-12-13 12:46:00:580 System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. at System.Data.SqlServerCe.NativeMethods.CoTaskMemFree(IntPtr ptr) at System.Data.SqlServerCe.Accessor.Dispose() at System.Data.SqlServerCe.Accessor.Finalize()
I see in the NinjaTrader install directory that version 3.5.8085 of System.Data.SqlServerCE.dll is distributed with the application.
It appears when I run NinjaTrader and inspect what dll's are loaded using Process Explorer (Systernals) I find that NT is pulling the version of the System.Data.SqlServerCE from the GAC as opposed to the one it ships with....thus I get this error.
So, is it the approved NT support solution to install SQL CE 3.5, Cumulative Update 6 then, if you have Visual Studio 2010 installed?
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Touch-Ups, Today, 10:36 AM
|
0 responses
5 views
0 likes
|
Last Post
by Touch-Ups
Today, 10:36 AM
|
||
Started by geddyisodin, 04-25-2024, 05:20 AM
|
8 responses
61 views
0 likes
|
Last Post Yesterday, 10:45 AM | ||
Started by jxs_xrj, 01-12-2020, 09:49 AM
|
4 responses
3,289 views
1 like
|
Last Post
by jgualdronc
Today, 10:02 AM
|
||
Can someone turn this thinkscript into a ninjascript. 5PM CST OHL and Previous Day
by Option Whisperer
Started by Option Whisperer, Today, 09:55 AM
|
0 responses
5 views
0 likes
|
Last Post Today, 09:55 AM | ||
Started by halgo_boulder, 04-20-2024, 08:44 AM
|
2 responses
24 views
0 likes
|
Last Post Today, 09:41 AM |
Comment