Exception
System.Exception: PartSearchResult.GetAccordion() ---> System.Exception: PartSearch.GetModelLookupList() ---> System.Data.SqlClient.SqlException: The INSERT statement conflicted with the FOREIGN KEY constraint "FK_Quote_Account". The conflict occurred in database "StoreFront", table "dbo.Account", column 'A_ID'. 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.SqlDataReader.TryHasMoreRows(Boolean& moreRows) at System.Data.SqlClient.SqlDataReader.TryReadInternal(Boolean setTimeout, Boolean& more) at System.Data.SqlClient.SqlDataReader.Read() at HPDC.Storefront.PartSearch.GetModelLookupList(Lookup currentLookup) in D:\TeamCity\buildAgent\work\d5f7f359dfc859b3\Source\HPDC.Storefront\Infrastructure\PartSearch\PartSearch.cs:line 214 --- End of inner exception stack trace --- at HPDC.Storefront.PartSearch.GetModelLookupList(Lookup currentLookup) in D:\TeamCity\buildAgent\work\d5f7f359dfc859b3\Source\HPDC.Storefront\Infrastructure\PartSearch\PartSearch.cs:line 250 at HPDC.Storefront.PartSearchResult.GetAccordion() in D:\TeamCity\buildAgent\work\d5f7f359dfc859b3\Source\HPDC.Storefront\Infrastructure\PartSearchResult\PartSearchResult.cs:line 251 --- End of inner exception stack trace --- 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
Home