Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

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:
    https://ninjatrader.com/GetStarted

    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 mohawkTrader, 05-13-2022, 11:08 AM
    3 responses
    16 views
    0 likes
    Last Post StealthM93  
    Started by facuevasm, Today, 08:43 AM
    0 responses
    7 views
    0 likes
    Last Post facuevasm  
    Started by Bobin, Today, 06:35 AM
    0 responses
    2 views
    0 likes
    Last Post Bobin
    by Bobin
     
    Started by ematias, Today, 08:03 AM
    2 responses
    8 views
    0 likes
    Last Post ematias
    by ematias
     
    Started by viaketodiet, Today, 08:28 AM
    0 responses
    1 view
    0 likes
    Last Post viaketodiet  
    Working...
    X