Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Cant Open Platform After Logging In

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

    Cant Open Platform After Logging In

    I get to the login prompt, it accepts my credentials and then I get this popup "unable to connect to DB: unable to open database file". Have tried rebooting, uninstalling and reinstalling latest version (8.1.1.6), no help. Running Windows 11 v 21H2. It was working fine just last week no issues, no dice today. Not sure what else to try.


    #2
    Hello ricksalinas,

    This looks like an error with the database, so to test, we'd want you to try renaming the database to generate a new one to see if that resolves the error:
    1. Shutdown NinjaTrader and Go to the Start Menu
    2. Select My Documents--> NinjaTrader 8--> db--> "NinjaTrader.sqlite" file (may only say 'NinjaTrader' depending on your Windows File Explorer settings)
    3. Right click on NinjaTrader.sdf and select "Rename" *Name it "OLDNinjaTrader.sqlite"
    4. Then restart the software and NinjaTrader will create a fresh database file to use

    If that does not help please email support[at]ninjatrader.com and attach your current log and trace files from the folders:
    Documents\NinjaTrader 8\log
    Documents\NinjaTrader 8\trace​

    Comment


      #3
      OK so it seemed to be related to OneDrive shenanigans trying to sync that .sqlite file. It wouldn't let me rename the file so I deleted it and restarted NT8 and now its working. Appreciate the help Jesse!

      Comment


        #4
        Hello ricksalinas,

        Thanks for confirming. Just as a side note here, please ensure to keep onedrive closed while using NinjaTrader. You can use onedrive to sync files but it cannot do that while the platform is running as it may corrupt files. You can also disable onedrive from syncing the documents folder to avoid that from happening.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by CaptainJack, 05-29-2026, 05:09 AM
        0 responses
        165 views
        0 likes
        Last Post CaptainJack  
        Started by CaptainJack, 05-29-2026, 12:02 AM
        0 responses
        88 views
        0 likes
        Last Post CaptainJack  
        Started by charlesugo_1, 05-26-2026, 05:03 PM
        0 responses
        128 views
        0 likes
        Last Post charlesugo_1  
        Started by DannyP96, 05-18-2026, 02:38 PM
        1 response
        208 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 05-11-2026, 05:56 AM
        0 responses
        185 views
        0 likes
        Last Post CarlTrading  
        Working...
        X