Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Unhandled exception when trying to add an instrument

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

    Unhandled exception when trying to add an instrument

    When I try to add a new stock symbol or do a futures rollover, I get the following pop-up:

    "Unhandled exception: attempt to write a readonly database
    attempt to write a readonly database"

    If I exit Ninjatrader and go to my Documents>Ninjatrader 8 >db folder and delete the sqlite file, and then restart Ninjatrader, I can add the symbols.

    Do I have to delete this sqlite database every day or is there another way?

    #2
    Hello steviez314159,

    Thank you for posting.

    You should not be required to create a new database each time. Please close NinjaTrader then within the db folder please right click on the NinjaTrader.sqlite file->Properties->Uncheck "Read-only" then click Ok then open NinjaTrader.

    Let me know if I may be of further assistance.
    Christopher J.NinjaTrader Customer Service

    Comment


      #3
      That attribute has always been unchecked.

      Comment


        #4
        So I may look into this further please go to Help->Email Support and be sure to include Attn: Chris Jameson in the Subject line, a link to this thread in the body and a check in the box for "Log and trace files".

        Thanks in advance.
        Christopher J.NinjaTrader Customer Service

        Comment


          #5
          I just tried to do that and got an error message;

          "There was an error sending a mail message. An error occurred while attempting to establish an SSL or TLS connection."

          My mail app is eM Client and a new message pops up with the subject line and the forum link , but no attachments. If you tell me where those log and trace files are, I'll attach them manually and send the message.

          Comment


            #6
            I have received your files and sent you a follow up email regarding this issue.
            Christopher J.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

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