Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- System.Data.Entity.Infrastructure.DbUpdateException: An error occurred while updating the entries. See the inner exception for details. ---> System.Data.Entity.Core.UpdateException: An error occurred while updating the entries. See the inner exception for details. ---> System.InvalidOperationException: Error occurred during execution of DbCommand. See inner exception for more detailed information. Command information: Command Text: INSERT [dbo].[CfdInvestmentsMetaData]([CfdTradeId], [AccountID], [PipValue], [Volume], [OpenPrice], [CfdSymbolName], [OpenTradeValue], [OpenTradeDateTime], [CloseTradeDateTime], [External], [CreatedOn], [PNL])
- VALUES (@0, @1, @2, @3, @4, @5, @6, @7, NULL, @8, @9, @10)
- SELECT [Id]
- FROM [dbo].[CfdInvestmentsMetaData]
- WHERE @@ROWCOUNT > 0 AND [Id] = scope_identity()
- Command Type: Text
- Command Timeout: 100
- Transaction: True
- DataSource: .
- Database Name: BinOp_851_forex
- Server Version: 10.50.2500
- Connection State: Open
- Parameters: 11 item(s)
- Parameter Name: @0 DbType: Int64 Direction: Input IsNullable: True Size: 0 SqlDbType: BigInt Type Name: Value: 3216
- -------------------------------------------------------------------------
- Parameter Name: @1 DbType: Int32 Direction: Input IsNullable: True Size: 0 SqlDbType: Int Type Name: Value: 572
- -------------------------------------------------------------------------
- Parameter Name: @2 DbType: Decimal Direction: Input IsNullable: True Size: 0 SqlDbType: Decimal Type Name: Value: 0.0000898946
- -------------------------------------------------------------------------
- Parameter Name: @3 DbType: Decimal Direction: Input IsNullable: True Size: 0 SqlDbType: Decimal Type Name: Value: 0.09
- -------------------------------------------------------------------------
- Parameter Name: @4 DbType: Decimal Direction: Input IsNullable: True Size: 0 SqlDbType: Decimal Type Name: Value: 1.1721
- -------------------------------------------------------------------------
- Parameter Name: @5 DbType: String Direction: Input IsNullable: True Size: 50 SqlDbType: NVarChar Type Name: Value: EURUSD
- -------------------------------------------------------------------------
- Parameter Name: @6 DbType: Decimal Direction: Input IsNullable: True Size: 0 SqlDbType: Decimal Type Name: Value: 10548.900000
- -------------------------------------------------------------------------
- Parameter Name: @7 DbType: DateTime2 Direction: Input IsNullable: True Size: 0 SqlDbType: DateTime2 Type Name: Value: 2017-07-27T08:04:46 Utc DateTime
- -------------------------------------------------------------------------
- Parameter Name: @8 DbType: Boolean Direction: Input IsNullable: True Size: 0 SqlDbType: Bit Type Name: Value: False
- -------------------------------------------------------------------------
- Parameter Name: @9 DbType: DateTime2 Direction: Input IsNullable: True Size: 0 SqlDbType: DateTime2 Type Name: Value: 2017-07-27T08:06:44 Utc DateTime
- -------------------------------------------------------------------------
- Parameter Name: @10 DbType: Decimal Direction: Input IsNullable: True Size: 0 SqlDbType: Decimal Type Name: Value: -0.31
- -------------------------------------------------------------------------
- . ---> System.Data.SqlClient.SqlException: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
- The statement has been terminated. ---> System.ComponentModel.Win32Exception: The wait operation timed out
- --- End of inner exception stack trace ---
- at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
- at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
- at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
- at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
- at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
- at System.Data.SqlClient.SqlDataReader.get_MetaData()
- at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
- at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds, Boolean describeParameterEncryptionRequest)
- at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite)
- at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
- at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
- at System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
- at System.Data.Common.DbCommand.ExecuteReader(CommandBehavior behavior)
- at Glimpse.Ado.AlternateType.GlimpseDbCommand.ExecuteDbDataReader(CommandBehavior behavior)
- at System.Data.Common.DbCommand.ExecuteReader(CommandBehavior behavior)
- at System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.<Reader>b__c(DbCommand t, DbCommandInterceptionContext`1 c)
- at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext,TResult](TTarget target, Func`3 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed)
- --- End of inner exception stack trace ---
- at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext,TResult](TTarget target, Func`3 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed)
- at System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.Reader(DbCommand command, DbCommandInterceptionContext interceptionContext)
- at System.Data.Entity.Internal.InterceptableDbCommand.ExecuteDbDataReader(CommandBehavior behavior)
- at System.Data.Common.DbCommand.ExecuteReader(CommandBehavior behavior)
- at System.Data.Entity.Core.Mapping.Update.Internal.DynamicUpdateCommand.Execute(Dictionary`2 identifierValues, List`1 generatedValues)
- at System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update()
- --- End of inner exception stack trace ---
- at System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update()
- at System.Data.Entity.Core.EntityClient.Internal.EntityAdapter.<Update>b__2(UpdateTranslator ut)
- at System.Data.Entity.Core.EntityClient.Internal.EntityAdapter.Update[T](T noChangesResult, Func`2 updateFunction)
- at System.Data.Entity.Core.EntityClient.Internal.EntityAdapter.Update()
- at System.Data.Entity.Core.Objects.ObjectContext.<SaveChangesToStore>b__35()
- at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess)
- at System.Data.Entity.Core.Objects.ObjectContext.SaveChangesToStore(SaveOptions options, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction)
- at System.Data.Entity.Core.Objects.ObjectContext.<>c__DisplayClass2a.<SaveChangesInternal>b__27()
- at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation)
- at System.Data.Entity.Core.Objects.ObjectContext.SaveChangesInternal(SaveOptions options, Boolean executeInExistingTransaction)
- at System.Data.Entity.Core.Objects.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement