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

  • NinjaTrader_ChrisL
    replied
    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

    Leave a comment:


  • trader3000a
    started a topic error issue

    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()

Latest Posts

Collapse

Topics Statistics Last Post
Started by rajneesh.sehgal, Today, 12:06 PM
1 response
6 views
0 likes
Last Post NinjaTrader_ChristopherJ  
Started by mo_fi, 01-21-2021, 10:08 PM
22 responses
1,310 views
0 likes
Last Post Wessel
by Wessel
 
Started by ezrollin, 01-12-2022, 03:43 PM
2 responses
31 views
0 likes
Last Post iq200
by iq200
 
Started by Red_70, Today, 11:07 AM
3 responses
9 views
0 likes
Last Post Red_70
by Red_70
 
Started by shodson, Today, 11:08 AM
3 responses
7 views
0 likes
Last Post NinjaTrader_ChelseaB  
Working...
X