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.PartSearchResult.GetAccordion() in D:\TeamCity\buildAgent\work\d5f7f359dfc859b3\Source\HPDC.Storefront\Infrastructure\PartSearchResult\PartSearchResult.cs:line 309 at HPDC.Storefront.PartSearchResult..ctor(Int32 salvageYardId, String route, String postalCode, Int32 sortOrdinal, Int32 pageNumber) in D:\TeamCity\buildAgent\work\d5f7f359dfc859b3\Source\HPDC.Storefront\Infrastructure\PartSearchResult\PartSearchResult.cs:line 40 at HPDC.Storefront.Controllers.TopSearchesController.Index() in D:\TeamCity\buildAgent\work\d5f7f359dfc859b3\Source\HPDC.Storefront\Controllers\TopSearchesController.cs:line 74 ClientConnectionId:499e9816-27c7-4268-b210-1266cb14f7c3 Error Number:547,State:0,Class:16
Home