Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

error when rolling "unable to write readonly database"

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

    error when rolling "unable to write readonly database"

    I'm trying to roll over the futures contract and receiving this error.

    Unhandled exception: attempt to write to a readonly database
    Attached Files

    #2
    Me too, then quits and needs to be restarted.
    eDanny
    NinjaTrader Ecosystem Vendor - Integrity Traders

    Comment


      #3
      Here's the solution from Ninja, I had a .sqlite file instead of the .sdf file. use this info at your own risk but the roll over worked for me and charts seem to be fine at this point.

      I'm unfamiliar with this particular error, but it seems to be referencing the database. I'd like you to create a brand new database file and see if the issue persists. We advise that you rename your database using the following steps :
      • Shutdown NinjaTrader and navigate to the Start Menu
      • Select 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

      To prevent running into situations where you can potentially lose important data in the future, we advise running regular backups via our inbuilt backup feature in NinjaTrader.

      Please feel free to write in with any additional items we may assist with. Thank you for choosing NinjaTrader.

      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