Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Unhandled Exception Error when doing Futures Rollover

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

    Unhandled Exception Error when doing Futures Rollover

    When I click the "Rollover" button to do the automatic futures rollover, the program crashes. It usually closes too quickly, but I see an error box that says something like "Unhandled Exception trying to write to a read-only database".

    Any ideas?

    #2
    Hello steviez314159,

    Thanks for reporting an issue.

    May I confirm you are updated to 8.1.1.3? (Help -> About)
    If you are not, please update first, and confirm the error can be reproduced.


    Then, please Try running the database repair.
    Tools -> Database Management -> DB Repair -> Repair.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      It hadn't been, but I updated it and got the same error.

      When I try Repair database, I get error:

      "Failed to repair DB: Access to the path: 'C\Users\steve\documents\NinjaTrader 8\db\NinjaTrader.Old.sqlite' is denied.

      Comment


        #4
        Hello steviez314159,

        There could be an issue with permissions on the Windows filesystem.

        You might try giving EVERYONE (all caps) 'Full control' permissions to the Documents\NinjaTrader 8\ folder.
        https://www.thewindowsclub.com/chang...-in-windows-10

        It could also be an issue with the User Access Control (UAC). You could try setting this to never notify me.
        Chelsea B.NinjaTrader Customer Service

        Comment


          #5
          I ended up doing a clean install of NT instead. Seems to work ok now. Thanks

          Comment


            #6
            steviez314159 says:
            "Failed to repair DB: Access to the path: 'C\Users\steve\documents\NinjaTrader 8\db\NinjaTrader.Old.sqlite' is denied.
            The identified file is "Old". That seems odd. NinjaTrader_ChelseaB, is that expected or "unexpected"? And why?

            Thanks.
            Multi-Dimensional Managed Trading
            jeronymite
            NinjaTrader Ecosystem Vendor - Mizpah Software

            Comment


              #7
              Hello jeronymite,

              This is caused by running the db repair or db reset. NinjaTrader attempts to rename the existing db to old, and creates a new db.
              Chelsea B.NinjaTrader Customer Service

              Comment


                #8
                Thanks, NinjaTrader_ChelseaB.

                Thanks.
                Multi-Dimensional Managed Trading
                jeronymite
                NinjaTrader Ecosystem Vendor - Mizpah Software

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by NullPointStrategies, Today, 05:17 AM
                0 responses
                25 views
                0 likes
                Last Post NullPointStrategies  
                Started by argusthome, 03-08-2026, 10:06 AM
                0 responses
                121 views
                0 likes
                Last Post argusthome  
                Started by NabilKhattabi, 03-06-2026, 11:18 AM
                0 responses
                64 views
                0 likes
                Last Post NabilKhattabi  
                Started by Deep42, 03-06-2026, 12:28 AM
                0 responses
                41 views
                0 likes
                Last Post Deep42
                by Deep42
                 
                Started by TheRealMorford, 03-05-2026, 06:15 PM
                0 responses
                46 views
                0 likes
                Last Post TheRealMorford  
                Working...
                X