Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

error issue

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

    error issue

    Hi, what's this one mean?
    Error on executing DB command: System.Data.SqlServerCe.SqlCeException (0x80004005): A duplicate value cannot be inserted into a unique index. [ Table name = Executions,Constraint name = PK__Executions__0000000000000300 ] at System.Data.SqlServerCe.SqlCeCommand.ProcessResult s(Int32 hr) at System.Data.SqlServerCe.SqlCeCommand.ExecuteComman dText(IntPtr& pCursor, Boolean& isBaseTableCursor) at System.Data.SqlServerCe.SqlCeCommand.ExecuteComman d(CommandBehavior behavior, String method, ResultSetOptions options) at System.Data.SqlServerCe.SqlCeCommand.ExecuteNonQue ry() at NinjaTrader.Cbi.Execution.DbAdd() at NinjaTrader.Cbi.DB.DBThread()

    #2
    Hi, ttrader3000a, thanks for posting

    This looks like an exception with the strategy execution database insertion. Please first upgrade to the latest version of NinjaTrader by running the installer below:


    After this, remove the strategy instance and re-add it, and then go to Tools>Database management and click "Repair".

    If you are able to consistently reproduce the error, please send it to me at scriptingsupport at ninjatrader.com

    Best regards,
    -ChrisL
    Chris L.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by SheriDi, 04-25-2025, 02:24 PM
    3 responses
    49 views
    0 likes
    Last Post SheriDi
    by SheriDi
     
    Started by aligator, Today, 11:32 AM
    2 responses
    15 views
    0 likes
    Last Post aligator  
    Started by tradeologist, Today, 02:16 PM
    2 responses
    13 views
    0 likes
    Last Post tradeologist  
    Started by kawansantos, Today, 10:29 AM
    2 responses
    14 views
    0 likes
    Last Post kawansantos  
    Started by Perr0Grande, Today, 07:09 AM
    2 responses
    26 views
    0 likes
    Last Post Perr0Grande  
    Working...
    X