Exception
System.Data.SqlClient.SqlException (0x80131904): The INSERT statement conflicted with the FOREIGN KEY constraint "FK_Quote_Account". The conflict occurred in database "StoreFront", table "dbo.Account", column 'A_ID'. The statement has been terminated. at System.Data.SqlClient.SqlConnection.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.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout, Boolean asyncWrite) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at HPDC.Storefront.LogIt.CreateLog(String request, String procedureName, String exception) in D:\TeamCity\buildAgent\work\d5f7f359dfc859b3\Source\HPDC.Storefront\Infrastructure\Tools\LogIt.cs:line 93 at HPDC.Storefront.LogIt.LogException(HttpRequest request, String procedureName, Exception exception) in D:\TeamCity\buildAgent\work\d5f7f359dfc859b3\Source\HPDC.Storefront\Infrastructure\Tools\LogIt.cs:line 45 at HPDC.Storefront.Controllers.StoreManagerController.CreateCart(Int64 AccountId, Int64& CartId) in D:\TeamCity\buildAgent\work\d5f7f359dfc859b3\Source\HPDC.Storefront\Controllers\StoreManagerController.cs:line 351 at HPDC.Storefront.Controllers.StoreManagerController.CreateGuestCookie(String StoreName) in D:\TeamCity\buildAgent\work\d5f7f359dfc859b3\Source\HPDC.Storefront\Controllers\StoreManagerController.cs:line 183 at HPDC.Storefront.Controllers.PartDetailController.IndexSEO() in D:\TeamCity\buildAgent\work\d5f7f359dfc859b3\Source\HPDC.Storefront\Controllers\PartDetailController.cs:line 75 ClientConnectionId:fc5d22a8-27e7-4fe5-b7ad-45e9e0ef7a3b Error Number:547,State:0,Class:16
Home