Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

What does this error message mean and what should be done to resolve the issue?

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

    What does this error message mean and what should be done to resolve the issue?

    Could you please tell me what this error message means?

    Failed to execute DB job 'StrategyUpdateJob': A foreign key value cannot be inserted because a corresponding primary key value does not exist. [Foreign key constraint name = FK_nt_strategy2execution_000000000000028B ]

    What is the solution to this problem?

    #2
    mbesha, this usually points to an issue with the database file. When did it occur on your setup?

    Can you please retry after disconnecting and repairing the database under Tools > Options > Data?

    Comment


      #3
      The problem occurred after I did a restore and even after trying to repair the DB, I still get the same error message.

      Comment


        #4
        Would you mind contacting us via Help >> Mail to Support so we could review your trace and log files further?

        Comment


          #5
          possible solution

          I encountered a similar error. It was because I was trying to add an instrument with a blank string as the name (bungle during a roll from one futures month to the next)

          Comment

          Latest Posts

          Collapse

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