Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Intermittent startup problems
Collapse
X
-
Thanks for the report egan857, the System.Data dll was that added in by you? Looks like this would be from a newer target framework than the supported 3.5 one here. What should be then used as reference is the file from the 2.0 framework instead of the 4.0 / 4.5 one. Then please see if this issue would still occur for the setup.
-
This is very similar to a problem encountered less than two months ago. Then, NT Support said the problem was related to my .NET installation, even though there was no indication that the .NET installation was faulty. I only have trace files dating back to 10/15, but this problem occurred on 10/19, 10/28, 10/29, 10/30, 10/31, 11/1, and 11/4. The problem did not occur on the other dates, and I got a clean startup after the faulty startup on 11/4. So there's no way this problem is caused by a faulty .NET installation, which was "repaired" in September.
Leave a comment:
-
Intermittent startup problems
Hi, some times NinjaTrader just doesn't start up properly and other times it does. That wouldn't be a really bad problem if it would just display an error message that it didn't start up properly so I'd know to restart the program. Instead, everything looks just fine and then no trades are placed.
There are two problems here: one is that the program isn't starting up properly, and the other is that there's no indication that the program started up improperly. The second problem is more important.
Attached are two trace files, both very small. The first one is from Friday, when the system gave me no indication that there was any problem and didn't place any trades. The other is from today, when it started up with a problem and I noticed it because I looked in the trace file and restarted the program. The second startup worked just fine. Here's a snippet from Friday's trace file (line 115):
2013-11-01 07:27:26:061 Code.Editor.OnLoad: Failed to reference 'C:\Program Files (x86)\NinjaTrader 7\bin\NinjaTrader.Core.dll': System.ApplicationException: Could not load exported type data for assembly 'NinjaTrader.Core, Version=7.0.1000.16, Culture=neutral, PublicKeyToken=null'. ---> System.TypeLoadException: Method 'OnMaterialized' in type 'NinjaTrader.Cbi.Order' from assembly 'NinjaTrader.Core, Version=7.0.1000.16, Culture=neutral, PublicKeyToken=null' does not have an implementation.
at System.Reflection.Assembly._GetExportedTypes()
at k..ctor(Assembly A_0, String A_1, String A_2, String A_3, Boolean A_4)
--- End of inner exception stack trace ---
at k..ctor(Assembly A_0, String A_1, String A_2, String A_3, Boolean A_4)
at ActiproSoftware.SyntaxEditor.Addons.DotNet.Dom.Ass emblyCodeRepository.a.a(c A_0, ResolveEventHandler A_1)
at ActiproSoftware.SyntaxEditor.Addons.DotNet.Dom.Ass emblyCodeRepository.a.a(c A_0, ResolveEventHandler A_1)
at ActiproSoftware.SyntaxEditor.Addons.DotNet.Dom.Ass emblyCodeRepository.Add(String assemblyName, DotNetProjectResolver projectResolver)
at ActiproSoftware.SyntaxEditor.Addons.DotNet.Dom.Dot NetProjectResolver.AddExternalReference(String assemblyName)
at NinjaTrader.Code.Editor.OnLoad(Object sender, EventArgs e)
2013-11-01 07:27:26:123 Code.Editor.OnLoad: Failed to reference 'C:\Program Files (x86)\NinjaTrader 7\bin\WilsonORMapper.dll': System.ApplicationException: Could not load exported type data for assembly 'WilsonORMapper, Version=4.2.2.0, Culture=neutral, PublicKeyToken=null' and type 'Wilson.ORMapper.ObjectSpace'. ---> System.BadImageFormatException: Could not load file or assembly 'file:///C:\Program Files (x86)\NinjaTrader 7\bin\System.Data.dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
File name: 'file:///C:\Program Files (x86)\NinjaTrader 7\bin\System.Data.dll'
at System.Signature._GetSignature(SignatureStruct& signature, Void* pCorSig, Int32 cCorSig, IntPtr fieldHandle, IntPtr methodHandle, IntPtr declaringTypeHandle)
at System.Signature..ctor(RuntimeMethodHandle methodHandle, RuntimeTypeHandle declaringTypeHandle)
at System.Reflection.RuntimeMethodInfo.get_Signature( )
at System.Reflection.RuntimeMethodInfo.FetchNonReturn Parameters()
at System.Reflection.RuntimeMethodInfo.GetParameters( )
at ai..ctor(k A_0, Type A_1)
at k..ctor(Assembly A_0, String A_1, String A_2, String A_3, Boolean A_4)Tags: None
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by DannyP96, 05-18-2026, 02:38 PM
|
1 response
29 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 05-11-2026, 05:56 AM
|
0 responses
117 views
0 likes
|
Last Post
by CarlTrading
05-11-2026, 05:56 AM
|
||
|
Started by CarlTrading, 05-10-2026, 08:12 PM
|
0 responses
69 views
0 likes
|
Last Post
by CarlTrading
05-10-2026, 08:12 PM
|
||
|
Started by Hwop38, 05-04-2026, 07:02 PM
|
0 responses
227 views
0 likes
|
Last Post
by Hwop38
05-04-2026, 07:02 PM
|
||
|
Started by CaptainJack, 04-24-2026, 11:07 PM
|
0 responses
419 views
0 likes
|
Last Post
by CaptainJack
04-24-2026, 11:07 PM
|

Leave a comment: