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() |
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
error issue
Collapse
X
-
error issue
Hi, what's this one mean?
Tags: None
-
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,
-ChrisLChris L.NinjaTrader Customer Service
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by SheriDi, 04-25-2025, 02:24 PM
|
3 responses
49 views
0 likes
|
Last Post
![]()
by SheriDi
Today, 05:02 PM
|
||
Started by aligator, Today, 11:32 AM
|
2 responses
15 views
0 likes
|
Last Post
![]()
by aligator
Today, 03:43 PM
|
||
Started by tradeologist, Today, 02:16 PM
|
2 responses
13 views
0 likes
|
Last Post
![]()
by tradeologist
Today, 02:48 PM
|
||
Started by kawansantos, Today, 10:29 AM
|
2 responses
14 views
0 likes
|
Last Post
![]()
by kawansantos
Today, 02:32 PM
|
||
Started by Perr0Grande, Today, 07:09 AM
|
2 responses
26 views
0 likes
|
Last Post
![]()
by Perr0Grande
Today, 02:02 PM
|
Comment