R8 future query error
Posted: Mon Sep 15, 2014 1:47 pm
What meaneth this error? I had to comment out all the future query stuff to get the page to work.
Server Error in '/' Application.
The incoming tabular data stream (TDS) remote procedure call (RPC) protocol stream is incorrect. Too many parameters were provided in this RPC request. The maximum is 2100.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Data.SqlClient.SqlException: The incoming tabular data stream (TDS) remote procedure call (RPC) protocol stream is incorrect. Too many parameters were provided in this RPC request. The maximum is 2100.
Source Error:
Line 535: .Future<Product>();
Line 536:
Line 537: futureQuery.ToList();
Line 538: }
Line 539:
Source File: c:\inetpub\wwwroot\rangerjoes_gold\ConLib\CategoryGridPage4.ascx.cs Line: 537
Stack Trace:
[SqlException (0x80131904): The incoming tabular data stream (TDS) remote procedure call (RPC) protocol stream is incorrect. Too many parameters were provided in this RPC request. The maximum is 2100.]
System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) +392
System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) +815
System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) +4515
System.Data.SqlClient.SqlDataReader.TryConsumeMetaData() +61
System.Data.SqlClient.SqlDataReader.get_MetaData() +138
System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) +6738869
System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds) +6741487
System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite) +586
System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) +107
System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) +288
System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior) +180
System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader() +23
NHibernate.AdoNet.AbstractBatcher.ExecuteReader(IDbCommand cmd) +845
NHibernate.Driver.BatcherDataReaderWrapper..ctor(IBatcher batcher, IDbCommand command) +69
NHibernate.Driver.BasicResultSetsCommand.GetReader(Nullable`1 commandTimeout) +471
NHibernate.Impl.MultiCriteriaImpl.GetResultsFromDatabase(IList results) +206
[GenericADOException: Failed to execute multi criteria[SQL: SELECT this_.ProductId as ProductId61_3_, this_.RowVersion as RowVersion61_3_, this_.StoreId as StoreId61_3_, this_.Name as Name61_3_, this_.Price as Price61_3_, this_.CostOfGoods as CostOfGo6_61_3_, this_.MSRP as MSRP61_3_, this_.Weight as Weight61_3_, this_.Length as Length61_3_, this_.Width as Width61_3_, this_.Height as Height61_3_, this_.ManufacturerId as Manufac12_61_3_, this_.Sku as Sku61_3_, this_.ModelNumber as ModelNu14_61_3_, this_.WebpageId as WebpageId61_3_, this_.TaxCodeId as TaxCodeId61_3_, this_.ShippableId as Shippab17_61_3_, this_.WarehouseId as Warehou18_61_3_, this_.InventoryModeId as Invento19_61_3_, this_.InStock as InStock61_3_, this_.AvailabilityDate as Availab21_61_3_, this_.InStockWarningLevel as InStock22_61_3_, this_.ThumbnailUrl as Thumbna23_61_3_, this_.ThumbnailAltText as Thumbna24_61_3_, this_.ImageUrl as ImageUrl61_3_, this_.ImageAltText as ImageAl26_61_3_, this_.Summary as Summary61_3_, this_.Description as Descrip28_61_3_, this_.ExtendedDescription as Extende29_61_3_, this_.VendorId as VendorId61_3_, this_.CreatedDate as Created31_61_3_, this_.LastModifiedDate as LastMod32_61_3_, this_.IsFeatured as IsFeatured61_3_, this_.IsProhibited as IsProhi34_61_3_, this_.AllowReviews as AllowRe35_61_3_, this_.AllowBackorder as AllowBa36_61_3_, this_.WrapGroupId as WrapGro37_61_3_, this_.ExcludeFromFeed as Exclude38_61_3_, this_.DisablePurchase as Disable39_61_3_, this_.MinQuantity as MinQuan40_61_3_, this_.MaxQuantity as MaxQuan41_61_3_, this_.VisibilityId as Visibil42_61_3_, this_.IconUrl as IconUrl61_3_, this_.IconAltText as IconAlt44_61_3_, this_.IsGiftCertificate as IsGiftC45_61_3_, this_.UseVariablePrice as UseVari46_61_3_, this_.MinimumPrice as Minimum47_61_3_, this_.MaximumPrice as Maximum48_61_3_, this_.HidePrice as HidePrice61_3_, this_.HandlingCharges as Handlin50_61_3_, this_.EnableGroups as EnableG51_61_3_, this_.Title as Title61_3_, this_.MetaDescription as MetaDes53_61_3_, this_.MetaKeywords as MetaKey54_61_3_, this_.SearchKeywords as SearchK55_61_3_, this_.HtmlHead as HtmlHead61_3_, this_.GTIN as GTIN61_3_, this_.GoogleCategory as GoogleC58_61_3_, this_.Condition as Condition61_3_, this_.Gender as Gender61_3_, this_.AgeGroup as AgeGroup61_3_, this_.Color as Color61_3_, this_.Size as Size61_3_, this_.AdwordsGrouping as Adwords64_61_3_, this_.AdwordsLabels as Adwords65_61_3_, this_.ExcludedDestination as Exclude66_61_3_, this_.AdwordsRedirect as Adwords67_61_3_, this_.PublishFeedAsVariants as Publish68_61_3_, this_.OrderBy as OrderBy61_3_, kit2_.ProductId as ProductId55_0_, kit2_.ItemizeDisplay as ItemizeD2_55_0_, specials3_.ProductId as ProductId5_, specials3_.SpecialId as SpecialId5_, specials3_.SpecialId as SpecialId74_1_, specials3_.ProductId as ProductId74_1_, specials3_.Price as Price74_1_, specials3_.StartDate as StartDate74_1_, specials3_.EndDate as EndDate74_1_, subscripti4_.ProductId as ProductId76_2_, subscripti4_.Name as Name76_2_, subscripti4_.IsOptional as IsOptional76_2_, subscripti4_.Description as Descript4_76_2_, subscripti4_.OneTimeCharge as OneTimeC5_76_2_, subscripti4_.OneTimeChargeModeId as OneTimeC6_76_2_, subscripti4_.OneTimeChargeTaxCodeId as OneTimeC7_76_2_, subscripti4_.OptionalPaymentFrequencies as Optional8_76_2_, subscripti4_.PaymentFrequencyTypeId as PaymentF9_76_2_, subscripti4_.NumberOfPayments as NumberO10_76_2_, subscripti4_.PaymentFrequency as Payment11_76_2_, subscripti4_.PaymentFrequencyUnitId as Payment12_76_2_, subscripti4_.RecurringCharge as Recurri13_76_2_, subscripti4_.RecurringChargeModeId as Recurri14_76_2_, subscripti4_.RepeatDiscounts as RepeatD15_76_2_, subscripti4_.RecurringChargeSpecified as Recurri16_76_2_, subscripti4_.GroupId as GroupId76_2_, subscripti4_.TaxCodeId as TaxCodeId76_2_ FROM ac_Products this_ left outer join ac_Kits kit2_ on this_.ProductId=kit2_.ProductId left outer join ac_Specials specials3_ on this_.ProductId=specials3_.ProductId left outer join ac_SubscriptionPlans subscripti4_ on this_.ProductId=subscripti4_.ProductId WHERE this_.ProductId in (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?,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61_3_, this_.CostOfGoods as CostOfGo6_61_3_, this_.MSRP as MSRP61_3_, this_.Weight as Weight61_3_, this_.Length as Length61_3_, this_.Width as Width61_3_, this_.Height as Height61_3_, this_.ManufacturerId as Manufac12_61_3_, this_.Sku as Sku61_3_, this_.ModelNumber as ModelNu14_61_3_, this_.WebpageId as WebpageId61_3_, this_.TaxCodeId as TaxCodeId61_3_, this_.ShippableId as Shippab17_61_3_, this_.WarehouseId as Warehou18_61_3_, this_.InventoryModeId as Invento19_61_3_, this_.InStock as InStock61_3_, this_.AvailabilityDate as Availab21_61_3_, this_.InStockWarningLevel as InStock22_61_3_, this_.ThumbnailUrl as Thumbna23_61_3_, this_.ThumbnailAltText as Thumbna24_61_3_, this_.ImageUrl as ImageUrl61_3_, this_.ImageAltText as ImageAl26_61_3_, this_.Summary as Summary61_3_, this_.Description as Descrip28_61_3_, this_.ExtendedDescription as Extende29_61_3_, this_.VendorId as VendorId61_3_, this_.CreatedDate as Created31_61_3_, this_.LastModifiedDate as LastMod32_61_3_, this_.IsFeatured as IsFeatured61_3_, this_.IsProhibited as IsProhi34_61_3_, this_.AllowReviews as AllowRe35_61_3_, this_.AllowBackorder as AllowBa36_61_3_, this_.WrapGroupId as WrapGro37_61_3_, this_.ExcludeFromFeed as Exclude38_61_3_, this_.DisablePurchase as Disable39_61_3_, this_.MinQuantity as MinQuan40_61_3_, this_.MaxQuantity as MaxQuan41_61_3_, this_.VisibilityId as Visibil42_61_3_, this_.IconUrl as IconUrl61_3_, this_.IconAltText as IconAlt44_61_3_, this_.IsGiftCertificate as IsGiftC45_61_3_, this_.UseVariablePrice as UseVari46_61_3_, this_.MinimumPrice as Minimum47_61_3_, this_.MaximumPrice as Maximum48_61_3_, this_.HidePrice as HidePrice61_3_, this_.HandlingCharges as Handlin50_61_3_, this_.EnableGroups as EnableG51_61_3_, this_.Title as Title61_3_, this_.MetaDescription as MetaDes53_61_3_, this_.MetaKeywords as MetaKey54_61_3_, this_.SearchKeywords as SearchK55_61_3_, this_.HtmlHead as HtmlHead61_3_, this_.GTIN as GTIN61_3_, this_.GoogleCategory as GoogleC58_61_3_, this_.Condition as Condition61_3_, this_.Gender as Gender61_3_, this_.AgeGroup as AgeGroup61_3_, this_.Color as Color61_3_, this_.Size as Size61_3_, this_.AdwordsGrouping as Adwords64_61_3_, this_.AdwordsLabels as Adwords65_61_3_, this_.ExcludedDestination as Exclude66_61_3_, this_.AdwordsRedirect as Adwords67_61_3_, this_.PublishFeedAsVariants as Publish68_61_3_, this_.OrderBy as OrderBy61_3_, kit2_.ProductId as ProductId55_0_, kit2_.ItemizeDisplay as ItemizeD2_55_0_, productopt3_.ProductId as ProductId5_, productopt3_.ProductOptionId as ProductO1_5_, productopt3_.ProductOptionId as ProductO1_67_1_, productopt3_.ProductId as ProductId67_1_, productopt3_.OptionId as OptionId67_1_, productopt3_.OrderBy as OrderBy67_1_, subscripti4_.ProductId as ProductId76_2_, subscripti4_.Name as Name76_2_, subscripti4_.IsOptional as IsOptional76_2_, subscripti4_.Description as Descript4_76_2_, subscripti4_.OneTimeCharge as OneTimeC5_76_2_, subscripti4_.OneTimeChargeModeId as OneTimeC6_76_2_, subscripti4_.OneTimeChargeTaxCodeId as OneTimeC7_76_2_, subscripti4_.OptionalPaymentFrequencies as Optional8_76_2_, subscripti4_.PaymentFrequencyTypeId as PaymentF9_76_2_, subscripti4_.NumberOfPayments as NumberO10_76_2_, subscripti4_.PaymentFrequency as Payment11_76_2_, subscripti4_.PaymentFrequencyUnitId as Payment12_76_2_, subscripti4_.RecurringCharge as Recurri13_76_2_, subscripti4_.RecurringChargeModeId as Recurri14_76_2_, subscripti4_.RepeatDiscounts as RepeatD15_76_2_, subscripti4_.RecurringChargeSpecified as Recurri16_76_2_, subscripti4_.GroupId as GroupId76_2_, subscripti4_.TaxCodeId as TaxCodeId76_2_ FROM ac_Products this_ left outer join ac_Kits kit2_ on this_.ProductId=kit2_.ProductId left outer join ac_ProductOptions productopt3_ on this_.ProductId=productopt3_.Product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, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) ORDER BY productopt3_.OrderBy asc;
SELECT this_.ProductId as ProductId61_3_, this_.RowVersion as RowVersion61_3_, this_.StoreId as StoreId61_3_, this_.Name as Name61_3_, this_.Price as Price61_3_, this_.CostOfGoods as CostOfGo6_61_3_, this_.MSRP as MSRP61_3_, this_.Weight as Weight61_3_, this_.Length as Length61_3_, this_.Width as Width61_3_, this_.Height as Height61_3_, this_.ManufacturerId as Manufac12_61_3_, this_.Sku as Sku61_3_, this_.ModelNumber as ModelNu14_61_3_, this_.WebpageId as WebpageId61_3_, this_.TaxCodeId as TaxCodeId61_3_, this_.ShippableId as Shippab17_61_3_, this_.WarehouseId as Warehou18_61_3_, this_.InventoryModeId as Invento19_61_3_, this_.InStock as InStock61_3_, this_.AvailabilityDate as Availab21_61_3_, this_.InStockWarningLevel as InStock22_61_3_, this_.ThumbnailUrl as Thumbna23_61_3_, this_.ThumbnailAltText as Thumbna24_61_3_, this_.ImageUrl as ImageUrl61_3_, this_.ImageAltText as ImageAl26_61_3_, this_.Summary as Summary61_3_, this_.Description as Descrip28_61_3_, this_.ExtendedDescription as Extende29_61_3_, this_.VendorId as VendorId61_3_, this_.CreatedDate as Created31_61_3_, this_.LastModifiedDate as LastMod32_61_3_, this_.IsFeatured as IsFeatured61_3_, this_.IsProhibited as IsProhi34_61_3_, this_.AllowReviews as AllowRe35_61_3_, this_.AllowBackorder as AllowBa36_61_3_, this_.WrapGroupId as WrapGro37_61_3_, this_.ExcludeFromFeed as Exclude38_61_3_, this_.DisablePurchase as Disable39_61_3_, this_.MinQuantity as MinQuan40_61_3_, this_.MaxQuantity as MaxQuan41_61_3_, this_.VisibilityId as Visibil42_61_3_, this_.IconUrl as IconUrl61_3_, this_.IconAltText as IconAlt44_61_3_, this_.IsGiftCertificate as IsGiftC45_61_3_, this_.UseVariablePrice as UseVari46_61_3_, this_.MinimumPrice as Minimum47_61_3_, this_.MaximumPrice as Maximum48_61_3_, this_.HidePrice as HidePrice61_3_, this_.HandlingCharges as Handlin50_61_3_, this_.EnableGroups as EnableG51_61_3_, this_.Title as Title61_3_, this_.MetaDescription as MetaDes53_61_3_, this_.MetaKeywords as MetaKey54_61_3_, this_.SearchKeywords as SearchK55_61_3_, this_.HtmlHead as HtmlHead61_3_, this_.GTIN as GTIN61_3_, this_.GoogleCategory as GoogleC58_61_3_, this_.Condition as Condition61_3_, this_.Gender as Gender61_3_, this_.AgeGroup as AgeGroup61_3_, this_.Color as Color61_3_, this_.Size as Size61_3_, this_.AdwordsGrouping as Adwords64_61_3_, this_.AdwordsLabels as Adwords65_61_3_, this_.ExcludedDestination as Exclude66_61_3_, this_.AdwordsRedirect as Adwords67_61_3_, this_.PublishFeedAsVariants as Publish68_61_3_, this_.OrderBy as OrderBy61_3_, kit2_.ProductId as ProductId55_0_, kit2_.ItemizeDisplay as ItemizeD2_55_0_, productkit3_.ProductId as ProductId5_, productkit3_.ProductKitComponentId as ProductK1_5_, productkit3_.ProductKitComponentId as ProductK1_66_1_, productkit3_.ProductId as ProductId66_1_, productkit3_.KitComponentId as KitCompo3_66_1_, productkit3_.OrderBy as OrderBy66_1_, subscripti4_.ProductId as ProductId76_2_, subscripti4_.Name as Name76_2_, subscripti4_.IsOptional as IsOptional76_2_, subscripti4_.Description as Descript4_76_2_, subscripti4_.OneTimeCharge as OneTimeC5_76_2_, subscripti4_.OneTimeChargeModeId as OneTimeC6_76_2_, subscripti4_.OneTimeChargeTaxCodeId as OneTimeC7_76_2_, subscripti4_.OptionalPaymentFrequencies as Optional8_76_2_, subscripti4_.PaymentFrequencyTypeId as PaymentF9_76_2_, subscripti4_.NumberOfPayments as NumberO10_76_2_, subscripti4_.PaymentFrequency as Payment11_76_2_, subscripti4_.PaymentFrequencyUnitId as Payment12_76_2_, subscripti4_.RecurringCharge as Recurri13_76_2_, subscripti4_.RecurringChargeModeId as Recurri14_76_2_, subscripti4_.RepeatDiscounts as RepeatD15_76_2_, subscripti4_.RecurringChargeSpecified as Recurri16_76_2_, subscripti4_.GroupId as GroupId76_2_, subscripti4_.TaxCodeId as TaxCodeId76_2_ FROM ac_Products this_ left outer join ac_Kits kit2_ on this_.ProductId=kit2_.ProductId left outer join ac_ProductKitComponents productkit3_ on this_.ProductId=productkit3_.ProductId left outer join ac_SubscriptionPlans subscripti4_ on this_.ProductId=subscripti4_.ProductId WHERE this_.ProductId in (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?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ORDER BY productkit3_.OrderBy asc;
SELECT this_.ProductId as ProductId61_3_, this_.RowVersion as RowVersion61_3_, this_.StoreId as StoreId61_3_, this_.Name as Name61_3_, this_.Price as Price61_3_, this_.CostOfGoods as CostOfGo6_61_3_, this_.MSRP as MSRP61_3_, this_.Weight as Weight61_3_, this_.Length as Length61_3_, this_.Width as Width61_3_, this_.Height as Height61_3_, this_.ManufacturerId as Manufac12_61_3_, this_.Sku as Sku61_3_, this_.ModelNumber as ModelNu14_61_3_, this_.WebpageId as WebpageId61_3_, this_.TaxCodeId as TaxCodeId61_3_, this_.ShippableId as Shippab17_61_3_, this_.WarehouseId as Warehou18_61_3_, this_.InventoryModeId as Invento19_61_3_, this_.InStock as InStock61_3_, this_.AvailabilityDate as Availab21_61_3_, this_.InStockWarningLevel as InStock22_61_3_, this_.ThumbnailUrl as Thumbna23_61_3_, this_.ThumbnailAltText as Thumbna24_61_3_, this_.ImageUrl as ImageUrl61_3_, this_.ImageAltText as ImageAl26_61_3_, this_.Summary as Summary61_3_, this_.Description as Descrip28_61_3_, this_.ExtendedDescription as Extende29_61_3_, this_.VendorId as VendorId61_3_, this_.CreatedDate as Created31_61_3_, this_.LastModifiedDate as LastMod32_61_3_, this_.IsFeatured as IsFeatured61_3_, this_.IsProhibited as IsProhi34_61_3_, this_.AllowReviews as AllowRe35_61_3_, this_.AllowBackorder as AllowBa36_61_3_, this_.WrapGroupId as WrapGro37_61_3_, this_.ExcludeFromFeed as Exclude38_61_3_, this_.DisablePurchase as Disable39_61_3_, this_.MinQuantity as MinQuan40_61_3_, this_.MaxQuantity as MaxQuan41_61_3_, this_.VisibilityId as Visibil42_61_3_, this_.IconUrl as IconUrl61_3_, this_.IconAltText as IconAlt44_61_3_, this_.IsGiftCertificate as IsGiftC45_61_3_, this_.UseVariablePrice as UseVari46_61_3_, this_.MinimumPrice as Minimum47_61_3_, this_.MaximumPrice as Maximum48_61_3_, this_.HidePrice as HidePrice61_3_, this_.HandlingCharges as Handlin50_61_3_, this_.EnableGroups as EnableG51_61_3_, this_.Title as Title61_3_, this_.MetaDescription as MetaDes53_61_3_, this_.MetaKeywords as MetaKey54_61_3_, this_.SearchKeywords as SearchK55_61_3_, this_.HtmlHead as HtmlHead61_3_, this_.GTIN as GTIN61_3_, this_.GoogleCategory as GoogleC58_61_3_, this_.Condition as Condition61_3_, this_.Gender as Gender61_3_, this_.AgeGroup as AgeGroup61_3_, this_.Color as Color61_3_, this_.Size as Size61_3_, this_.AdwordsGrouping as Adwords64_61_3_, this_.AdwordsLabels as Adwords65_61_3_, this_.ExcludedDestination as Exclude66_61_3_, this_.AdwordsRedirect as Adwords67_61_3_, this_.PublishFeedAsVariants as Publish68_61_3_, this_.OrderBy as OrderBy61_3_, kit2_.ProductId as ProductId55_0_, kit2_.ItemizeDisplay as ItemizeD2_55_0_, producttem3_.ProductId as ProductId5_, producttem4_.ProductTemplateId as ProductT2_5_, producttem4_.ProductTemplateId as ProductT1_69_1_, producttem4_.StoreId as StoreId69_1_, producttem4_.Name as Name69_1_, subscripti5_.ProductId as ProductId76_2_, subscripti5_.Name as Name76_2_, subscripti5_.IsOptional as IsOptional76_2_, subscripti5_.Description as Descript4_76_2_, subscripti5_.OneTimeCharge as OneTimeC5_76_2_, subscripti5_.OneTimeChargeModeId as OneTimeC6_76_2_, subscripti5_.OneTimeChargeTaxCodeId as OneTimeC7_76_2_, subscripti5_.OptionalPaymentFrequencies as Optional8_76_2_, subscripti5_.PaymentFrequencyTypeId as PaymentF9_76_2_, subscripti5_.NumberOfPayments as NumberO10_76_2_, subscripti5_.PaymentFrequency as Payment11_76_2_, subscripti5_.PaymentFrequencyUnitId as Payment12_76_2_, subscripti5_.RecurringCharge as Recurri13_76_2_, subscripti5_.RecurringChargeModeId as Recurri14_76_2_, subscripti5_.RepeatDiscounts as RepeatD15_76_2_, subscripti5_.RecurringChargeSpecified as Recurri16_76_2_, subscripti5_.GroupId as GroupId76_2_, subscripti5_.TaxCodeId as TaxCodeId76_2_ FROM ac_Products this_ left outer join ac_Kits kit2_ on this_.ProductId=kit2_.ProductId left outer join ac_ProductProductTemplates producttem3_ on this_.ProductId=producttem3_.ProductId left outer join ac_ProductTemplates producttem4_ on producttem3_.ProductTemplateId=producttem4_.ProductTemplateId left outer join ac_SubscriptionPlans subscripti5_ on this_.ProductId=subscripti5_.ProductId WHERE this_.ProductId in (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?);
SELECT this_.ProductId as ProductId61_3_, this_.RowVersion as RowVersion61_3_, this_.StoreId as StoreId61_3_, this_.Name as Name61_3_, this_.Price as Price61_3_, this_.CostOfGoods as CostOfGo6_61_3_, this_.MSRP as MSRP61_3_, this_.Weight as Weight61_3_, this_.Length as Length61_3_, this_.Width as Width61_3_, this_.Height as Height61_3_, this_.ManufacturerId as Manufac12_61_3_, this_.Sku as Sku61_3_, this_.ModelNumber as ModelNu14_61_3_, this_.WebpageId as WebpageId61_3_, this_.TaxCodeId as TaxCodeId61_3_, this_.ShippableId as Shippab17_61_3_, this_.WarehouseId as Warehou18_61_3_, this_.InventoryModeId as Invento19_61_3_, this_.InStock as InStock61_3_, this_.AvailabilityDate as Availab21_61_3_, this_.InStockWarningLevel as InStock22_61_3_, this_.ThumbnailUrl as Thumbna23_61_3_, this_.ThumbnailAltText as Thumbna24_61_3_, this_.ImageUrl as ImageUrl61_3_, this_.ImageAltText as ImageAl26_61_3_, this_.Summary as Summary61_3_, this_.Description as Descrip28_61_3_, this_.ExtendedDescription as Extende29_61_3_, this_.VendorId as VendorId61_3_, this_.CreatedDate as Created31_61_3_, this_.LastModifiedDate as LastMod32_61_3_, this_.IsFeatured as IsFeatured61_3_, this_.IsProhibited as IsProhi34_61_3_, this_.AllowReviews as AllowRe35_61_3_, this_.AllowBackorder as AllowBa36_61_3_, this_.WrapGroupId as WrapGro37_61_3_, this_.ExcludeFromFeed as Exclude38_61_3_, this_.DisablePurchase as Disable39_61_3_, this_.MinQuantity as MinQuan40_61_3_, this_.MaxQuantity as MaxQuan41_61_3_, this_.VisibilityId as Visibil42_61_3_, this_.IconUrl as IconUrl61_3_, this_.IconAltText as IconAlt44_61_3_, this_.IsGiftCertificate as IsGiftC45_61_3_, this_.UseVariablePrice as UseVari46_61_3_, this_.MinimumPrice as Minimum47_61_3_, this_.MaximumPrice as Maximum48_61_3_, this_.HidePrice as HidePrice61_3_, this_.HandlingCharges as Handlin50_61_3_, this_.EnableGroups as EnableG51_61_3_, this_.Title as Title61_3_, this_.MetaDescription as MetaDes53_61_3_, this_.MetaKeywords as MetaKey54_61_3_, this_.SearchKeywords as SearchK55_61_3_, this_.HtmlHead as HtmlHead61_3_, this_.GTIN as GTIN61_3_, this_.GoogleCategory as GoogleC58_61_3_, this_.Condition as Condition61_3_, this_.Gender as Gender61_3_, this_.AgeGroup as AgeGroup61_3_, this_.Color as Color61_3_, this_.Size as Size61_3_, this_.AdwordsGrouping as Adwords64_61_3_, this_.AdwordsLabels as Adwords65_61_3_, this_.ExcludedDestination as Exclude66_61_3_, this_.AdwordsRedirect as Adwords67_61_3_, this_.PublishFeedAsVariants as Publish68_61_3_, this_.OrderBy as OrderBy61_3_, kit2_.ProductId as ProductId55_0_, kit2_.ItemizeDisplay as ItemizeD2_55_0_, reviews3_.ProductId as ProductId5_, reviews3_.ProductReviewId as ProductR1_5_, reviews3_.ProductReviewId as ProductR1_68_1_, reviews3_.ProductId as ProductId68_1_, reviews3_.ReviewerProfileId as Reviewer3_68_1_, reviews3_.ReviewDate as ReviewDate68_1_, reviews3_.Rating as Rating68_1_, reviews3_.ReviewTitle as ReviewTi6_68_1_, reviews3_.ReviewBody as ReviewBody68_1_, reviews3_.IsApproved as IsApproved68_1_, subscripti4_.ProductId as ProductId76_2_, subscripti4_.Name as Name76_2_, subscripti4_.IsOptional as IsOptional76_2_, subscripti4_.Description as Descript4_76_2_, subscripti4_.OneTimeCharge as OneTimeC5_76_2_, subscripti4_.OneTimeChargeModeId as OneTimeC6_76_2_, subscripti4_.OneTimeChargeTaxCodeId as OneTimeC7_76_2_, subscripti4_.OptionalPaymentFrequencies as Optional8_76_2_, subscripti4_.PaymentFrequencyTypeId as PaymentF9_76_2_, subscripti4_.NumberOfPayments as NumberO10_76_2_, subscripti4_.PaymentFrequency as Payment11_76_2_, subscripti4_.PaymentFrequencyUnitId as Payment12_76_2_, subscripti4_.RecurringCharge as Recurri13_76_2_, subscripti4_.RecurringChargeModeId as Recurri14_76_2_, subscripti4_.RepeatDiscounts as RepeatD15_76_2_, subscripti4_.RecurringChargeSpecified as Recurri16_76_2_, subscripti4_.GroupId as GroupId76_2_, subscripti4_.TaxCodeId as TaxCodeId76_2_ FROM ac_Products this_ left outer join ac_Kits kit2_ on this_.ProductId=kit2_.ProductId left outer join ac_ProductReviews reviews3_ on this_.ProductId=reviews3_.ProductId left outer join ac_SubscriptionPlans subscripti4_ on this_.ProductId=subscripti4_.ProductId WHERE this_.ProductId in (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?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?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?);
]]
NHibernate.Impl.MultiCriteriaImpl.GetResultsFromDatabase(IList results) +1980
NHibernate.Impl.MultiCriteriaImpl.List() +895
NHibernate.Impl.FutureBatch`2.GetResults() +75
NHibernate.Impl.FutureBatch`2.GetCurrentResult(Int32 currentIndex) +34
NHibernate.Impl.<get_Enumerable>d__0.MoveNext() +114
System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) +536
System.Linq.Enumerable.ToList(IEnumerable`1 source) +80
AbleCommerce.ConLib.CategoryGridPage4.Page_Load(Object sender, EventArgs e) in c:\inetpub\wwwroot\rangerjoes_gold\ConLib\CategoryGridPage4.ascx.cs:537
System.Web.UI.Control.LoadRecursive() +71
System.Web.UI.Control.LoadRecursive() +190
System.Web.UI.Control.LoadRecursive() +190
System.Web.UI.Control.LoadRecursive() +190
System.Web.UI.Control.LoadRecursive() +190
System.Web.UI.Control.LoadRecursive() +190
System.Web.UI.Control.LoadRecursive() +190
System.Web.UI.Control.LoadRecursive() +190
....