PDA

View Full Version : Loading NT problem


Harry
05-25-2010, 12:50 PM
After loading (session start) of NT 7.0.0.16 - and before connection I regularly (but not always) get the following error message (excerpt from trace file):

2010-05-25 19:38:15:046 UI (re)load complete, took 9,3 secs, 26,0 secs after app start
2010-05-25 19:38:26:015 UI (re)load complete, took 0,5 secs, 37,0 secs after app start
2010-05-25 20:03:45:796 Code.Editor.OnLoad: Failed to reference 'NinjaTrader.Custom, Version=7.0.0.16, Culture=neutral, PublicKeyToken=null': System.IO.FileNotFoundException: Das angegebene Modul wurde nicht gefunden. (Ausnahme von HRESULT: 0x8007007E)
bei System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
bei System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
bei System.Reflection.Assembly.InternalLoad(AssemblyNa me assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
bei System.Reflection.Assembly.InternalLoadFrom(String assemblyFile, Evidence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm, Boolean forIntrospection, StackCrawlMark& stackMark)
bei System.Reflection.Assembly.LoadFrom(String assemblyFile)
bei NinjaTrader.Code.Editor.OnLoad(Object sender, EventArgs e)
2010-05-25 20:20:39:468 UI (re)load complete, took 1,5 secs, 2570,4 secs after app start
2010-05-25 20:22:48:343 UI (re)load complete, took 0,7 secs, 2699,3 secs after app start

After this error message funny things happen and I need to shut down NT. The point is that this error message only sometimes shows up. When I just restarted NT and reloaded the same workspace a second time, no error message occured.

NinjaTrader_Kyle
05-25-2010, 01:15 PM
Hi Harry,

Thank you for your post.

From the Control Center, please click Tools > Edit NinjaScript > Indicator.
In the edit indicator menu, double click on any indicator to load the code window.
In the code window, right click and select Compile.

Do your indicators compile successfully?

Harry
05-25-2010, 03:24 PM
Currently no problem, but I did not get the error message either, when restarting NT.

NinjaTrader_Kyle
05-25-2010, 03:28 PM
Hi Harry,

Thank you for the clarification.

Should this occur again in the future, please send a note to Support [AT] NinjaTrader [DOT] com with 'ATTN: Kyle' in the subject line.

In the message, please include the following:
1.) A link to this thread.

2.) The workspace you are using. (My Documents > NinjaTrader 7 > Workspaces)

3.) Your trace file from that date. (My Documents > NinjaTrader 7 > Trace)