Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

NinjaTrader8 abruptly exits on startup after "Initializing Database..."

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

    NinjaTrader8 abruptly exits on startup after "Initializing Database..."

    Hi,
    NinjaTrader 8 was working fine until yesterday and today it just exited on startup after "Initializing Database" on the startup screen. Looking at the logs I see the following unhandled exception:

    2022-01-17 12:58:01:403|2|4|Session Break (Version 8.0.23.0)
    2022-01-17 12:58:02:908|1|4|Verifying license at primary server...
    2022-01-17 12:58:03:170|1|4|Type=Simulation State=Verified Start Date=12/31/2004 End Date=11/30/2099
    2022-01-17 12:58:04:783|1|4|Global simulation mode enabled
    2022-01-17 12:58:05:514|1|4|Vendor assembly 'NinjaTrader.Core' version='8.0.23.0' loaded.
    2022-01-17 12:58:05:515|1|4|Vendor assembly 'NinjaTrader.Gui' version='8.0.23.0' loaded.
    2022-01-17 12:58:07:476|1|2|Using IS (is-us-nt-001.ninjatrader.com/31658)
    2022-01-17 12:58:07:494|1|4|Automated trading disabled
    2022-01-17 12:58:07:862|1|32|Order entry hot keys disabled
    2022-01-17 12:58:07:863|1|4|Auto close enabled=False
    2022-01-17 12:58:07:889|0|4|Unhandled exception: The component 'NinjaTrader.Gui.ControlCenter' does not have a resource identified by the URI '/NinjaTrader.Gui;component/controlcenter/controlcenter.xaml'.

    Can someone help me get past this?

    Thanks

    #2
    Hello rajneesh.sehgal,

    I see that you're using an older version of NinjaTrader 8. To update NinjaTrader, please follow the steps below:If the error persists please rename your database with the steps below.
    • Go to My Documents--> NinjaTrader 8--> db--> "NinjaTrader.sdf" file (may only say 'NinjaTrader' depending on your Windows File Explorer settings)
    • 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 - Trading Hours templates, Instrument Lists / Custom Instruments, historical trade execution data, saved Strategy Analyzer backtest results
    Christopher J.NinjaTrader Customer Service

    Comment


      #3
      Thanks Christopher. I uninstall NinjaTrader, deleted the folders and then reinstalled it.

      Now when I launch it I see the splash screen and then it abruptly exists after "Verifying License...". I don't have a license, I am using the free edition. There is nothing available in the logs too.

      Can you please assist?

      Thanks.

      Comment


        #4
        I deleted the SDF file and then it started working

        Comment


          #5
          Hi Christopher,

          I have the same error message on startup. I tried your steps a few times, but didn't work for me.

          Could you please help out?

          Thanks
          Dennis

          This is the log:
          2022-01-30 16:54:57:701|2|4|Session Break (Version 8.0.25.0)
          2022-01-30 16:54:58:927|1|4|Verifying license at primary server...
          2022-01-30 16:54:59:091|1|4|Type=Simulation State=Verified Start Date=1-1-2005 End Date=1-12-2099
          2022-01-30 16:55:02:622|1|4|Global simulation mode enabled
          2022-01-30 16:55:02:833|1|4|Vendor assembly 'ConvergentNT8V3' version='3.0.0.1' loaded.
          2022-01-30 16:55:03:668|1|2|Using IS (is-us-nt-001.ninjatrader.com/31658)
          2022-01-30 16:55:03:676|1|4|Automated trading disabled
          2022-01-30 16:55:03:682|1|4|Auto connecting 'My Interactive Brokers'...
          2022-01-30 16:55:03:693|1|2|My Interactive Brokers: Primary connection=Connecting, Price feed=Connecting
          2022-01-30 16:55:03:749|0|4|Unhandled exception: Exception has been thrown by the target of an invocation.
          2022-01-30 16:55:05:886|0|2|My Interactive Brokers: Unable to connect to IB TraderWorkstation instance. Please check that TWS is running and that it is configured properly to accept API clients. (Logon failed)
          2022-01-30 16:55:05:886|1|2|My Interactive Brokers: Primary connection=Disconnected, Price feed=Disconnected
          2022-01-30 16:55:05:888|1|4|Auto connecting 'My Kinetick'...




          Originally posted by NinjaTrader_ChristopherJ View Post
          Hello rajneesh.sehgal,

          ...

          If the error persists please rename your database with the steps below.
          • Go to My Documents--> NinjaTrader 8--> db--> "NinjaTrader.sdf" file (may only say 'NinjaTrader' depending on your Windows File Explorer settings)
          • 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 - Trading Hours templates, Instrument Lists / Custom Instruments, historical trade execution data, saved Strategy Analyzer backtest results

          Comment


            #6
            Hello,

            Please write into platformsupport[at]ninjatrader[dot]com so we may look further into why this error is occurring on your system.

            Comment

            Latest Posts

            Collapse

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