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?
    BertrandNinjaTrader Customer Service

    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?
        BertrandNinjaTrader Customer Service

        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 judysamnt7, 03-13-2023, 09:11 AM
          4 responses
          57 views
          0 likes
          Last Post DynamicTest  
          Started by ScottWalsh, Today, 06:52 PM
          4 responses
          36 views
          0 likes
          Last Post ScottWalsh  
          Started by olisav57, Today, 07:39 PM
          0 responses
          7 views
          0 likes
          Last Post olisav57  
          Started by trilliantrader, Today, 03:01 PM
          2 responses
          19 views
          0 likes
          Last Post helpwanted  
          Started by cre8able, Today, 07:24 PM
          0 responses
          9 views
          0 likes
          Last Post cre8able  
          Working...
          X