Exception
System.Exception: PartSearchResult.GetAccordion() ---> System.Exception: PartSearch.GetModelLookupList() ---> System.IndexOutOfRangeException: Model at System.Data.ProviderBase.FieldNameLookup.GetOrdinal(String fieldName) at System.Data.SqlClient.SqlDataReader.GetOrdinal(String name) at System.Data.SqlClient.SqlDataReader.get_Item(String name) at HPDC.Storefront.PartSearch.GetModelLookupList(Lookup currentLookup) in D:\TeamCity\buildAgent\work\d5f7f359dfc859b3\Source\HPDC.Storefront\Infrastructure\PartSearch\PartSearch.cs:line 216 --- 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