Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

How do I recover?

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

    How do I recover?

    I knew I was about to make a risky change, so I made a backup copy of the .cs file first. The change compiled but when run crashes NT. How do I get back to working? Every time I restart NT, it crashes. I presume that the problem is that it has that bad compiled image that it keeps trying to load on the way up.

    Here is what I have tried:
    • Restoring the good file
    • Moving the file out of the way altogether, hoping that would force NT to not load that indicator
    • Updating the save time on the good file, hoping that would force at least a question about recompiling

    Nothing I do seems to get NT to either recompile the bad indicator it has, to skip it, or to get to where I can use NT to recompile it.

    So how do I get back to a working system? There must be a compiled image somewhere that I can delete?

    --EV

    #2
    EV,

    If the issue is caused by a script, then you can delete a workspace file so that it starts without loading any workspaces. The script won't have an opportunity to run and you can delete / edit / compile as needed.


    To delete your workspaces:

    * Please close NinjaTrader and go to your desktop Start menu
    * Open My Documents
    * Go to the NinjaTrader 7 folder
    * Go to the Workspaces folder
    * Right click on _workspaces.xml select Delete
    * Now restart the application and it should start up normally

    That file controls which workspaces load on startup, so will preserve the actual workspace layouts.
    Last edited by NinjaTrader_RyanM1; 01-25-2011, 04:35 PM.
    Ryan M.NinjaTrader Customer Service

    Comment


      #3
      Ryan,

      Thanks for the hint.

      I just edited the parts about my errant indicator out of the two XML files I found there, and now I am back up with minimal loss.

      --EV

      Comment


        #4
        Ryan & EV,

        When I had the same issue I moved the workspaces into a separate folder until I could determine which was making the issue: Some of the workspaces are involved to setup so I always made copies elsewhere to save time setting everything up again if they got corrupted.

        Jon

        Comment


          #5
          Thanks for the reply - Glad you got it sorted.

          I edited my first reply because you can actually delete only one file that controls the workspaces loaded at startup, but still keep your workspaces in tact.
          Ryan M.NinjaTrader Customer Service

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by bortz, 11-06-2023, 08:04 AM
          47 responses
          1,610 views
          0 likes
          Last Post aligator  
          Started by jaybedreamin, Today, 05:56 PM
          0 responses
          9 views
          0 likes
          Last Post jaybedreamin  
          Started by DJ888, 04-16-2024, 06:09 PM
          6 responses
          19 views
          0 likes
          Last Post DJ888
          by DJ888
           
          Started by Jon17, Today, 04:33 PM
          0 responses
          6 views
          0 likes
          Last Post Jon17
          by Jon17
           
          Started by Javierw.ok, Today, 04:12 PM
          0 responses
          16 views
          0 likes
          Last Post Javierw.ok  
          Working...
          X