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

I never seen this error before

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

    I never seen this error before

    Hello,

    I open this morning my NT platform and after connecting to the data provider got this error: "Failed to execute DB Job 'StrategyUpdateJob' there was an error generating the XML document. Object reference not set to an instance of an object.

    And then NT started to slowdown and stop completely, frozen!! Please help...

    Thanks,

    Alan

    #2
    Hello Alan,

    Thank you for your post.

    Please follow the instructions below to repair the NinjaTrader database.
    • Disconnect NinjaTrader from any open connections via File > Disconnect
    • From the NinjaTrader Control Center window select the menu Tools > Options
    • Select the "Data" tab
    • Press the "Repair DB" button
    • Press the "OK" button

    Comment


      #3
      Thank you Patrick but after I fixed the DB I opened my NT and still got the same error, please help...

      Comment


        #4
        Hello Alan,

        Thank you for your response.

        Please follow the instructions below to reset the NinjaTrader database.
        • Disconnect NinjaTrader from any open connections via File > Disconnect
        • From the NinjaTrader Control Center window select the menu Tools > Options
        • Select the "Data" tab
        • Press the "Reset DB" button
        • Press the "OK" button

        The following data will be removed:
        • Historical orders
        • Historical executions
        • Historical ATM strategy data
        • Saved Strategy Analyzer backtest results

        The following data will be maintained:
        • ATM strategy templates
        • Historical chart data

        Comment


          #5
          Hi Patrick, what should I do in case of this:
          Disconnect NinjaTrader from any open connections via File > Disconnect
          From the NinjaTrader Control Center window select the menu Tools > Options
          Select the "Data" tab
          Press the "Reset DB" button
          Press the "OK" button

          failed?

          Comment


            #6
            Hello Alan,

            Thank you for your response.

            Please rename your database with the following steps :
            • Shutdown NinjaTrader and Go to the Start Menu
            • Select My Documents--> NinjaTrader 7--> DB--> NinjaTrader.SDF.
            • Right click on NinjaTrader.SDF and select "Rename." *Name it "OLDNinjaTrader.SDF."
            • Then restart the software and NinjaTrader will create a fresh database file to use
            • Unfortunately the following items stored in the old database will be lost - ATM Strategy templates, Session templates, Instrument Lists / Custom Instruments, historical trade execution data, saved Strategy Analyzer backtest results

            To prevent running into situations where you can potentially lose important data, we advise to run regular backups via our inbuild backup feature in NinjaTrader - http://www.ninjatrader.com/support/h...up_archive.htm

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by mjairg, 07-20-2023, 11:57 PM
            3 responses
            213 views
            1 like
            Last Post PaulMohn  
            Started by TheWhiteDragon, 01-21-2019, 12:44 PM
            4 responses
            544 views
            0 likes
            Last Post PaulMohn  
            Started by GLFX005, Today, 03:23 AM
            0 responses
            3 views
            0 likes
            Last Post GLFX005
            by GLFX005
             
            Started by XXtrader, Yesterday, 11:30 PM
            2 responses
            12 views
            0 likes
            Last Post XXtrader  
            Started by Waxavi, Today, 02:10 AM
            0 responses
            7 views
            0 likes
            Last Post Waxavi
            by Waxavi
             
            Working...
            X