Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

NT starting up

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    NT starting up

    I have a nnCron scheduler which automatically launches NT at the beginning of the trading day; today, as usual, I immediately got this message :

    "error - Unable to open trace file "NinjaTrader 6\trace\trace.20070928.txt: could not find a part of the path 'C:\NinjaTrader 6\trace\trace.20070528.txt'

    in the Windows Task Manager, I checked out that NinjaTrader.exe appeared to be executing;
    back to the error window, I clicked over OK button and subsequently got this message :

    "NinjaTrader requires a valid license key to start, do you wish to enter one now ?"; I clicked over YES button, the window disappeared and nothing else happened.

    back to the Windows Task Manager, I saw the NinjaTrader.exe process carrying on for 15 seconds then disappearing as well.

    I then launched NT from the Windows Quick Launch Bar and everything went right.

    I must add that at the end of every trading day, nnCron terminates NinjaTrader execution then powers my PC off without any issue.

    Is there a way I could solve that trace file problem ?

    #2
    Apparently the user environment is not set since <my documents> is not referenced. Not sure if this ever would be possible with Windows but you need to make sure the job is run similar to a "regular user".

    Comment


      #3
      I set the environment path to "My Documents..." which solved the problem. Thank you for your diagnosis.
      Gérard

      Comment


        #4
        Be forewarned: This might not be the only problem you'll experience. We do only support running NT as regular user and not as started by a cron job.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        88 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        48 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        30 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        34 views
        0 likes
        Last Post TheRealMorford  
        Started by Mindset, 02-28-2026, 06:16 AM
        0 responses
        68 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Working...
        X