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 Halmix, Today, 07:12 AM
    0 responses
    8 views
    0 likes
    Last Post Halmix
    by Halmix
     
    Started by Bobin, Today, 06:39 AM
    0 responses
    12 views
    0 likes
    Last Post Bobin
    by Bobin
     
    Started by KirkHammett, Today, 03:23 AM
    0 responses
    6 views
    0 likes
    Last Post KirkHammett  
    Started by eleven, Yesterday, 10:06 PM
    0 responses
    40 views
    0 likes
    Last Post eleven
    by eleven
     
    Started by ezrollin, Yesterday, 08:12 PM
    7 responses
    75 views
    0 likes
    Last Post bltdavid  
    Working...
    X