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 (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?);
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_, 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_.ProductId left outer join ac_SubscriptionPlans subscripti4_ on this_.ProductId=subscripti4_.ProductId WHERE this_.ProductId in (?, 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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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, 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
....
R8 future query error
- jmestep
- AbleCommerce Angel
- Posts: 8164
- Joined: Sun Feb 29, 2004 8:04 pm
- Location: Dayton, OH
- Contact:
R8 future query error
What meaneth this error? I had to comment out all the future query stuff to get the page to work.
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Re: R8 future query error
It's supposed to be code for performance improvements.
CategoryGridPage4 displays categories, products, webpages, and links for only the selected category. Can you tell me how many of each of these items are in this category? It looks like you're running up against a maximum number of 'something'.
Is this R8?
Thanks Judy.
CategoryGridPage4 displays categories, products, webpages, and links for only the selected category. Can you tell me how many of each of these items are in this category? It looks like you're running up against a maximum number of 'something'.
Is this R8?
Thanks Judy.
Thank you for choosing AbleCommerce!
http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support
http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support
- jmestep
- AbleCommerce Angel
- Posts: 8164
- Joined: Sun Feb 29, 2004 8:04 pm
- Location: Dayton, OH
- Contact:
Re: R8 future query error
Yes, it is R8 and the site has 480 products in the category. They are coming from Able 7 (same number of products in category) and this is a dev site.
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Re: R8 future query error
I will alert the dev team and see if they can provide any help.
Thanks
Katie
Thanks
Katie
Thank you for choosing AbleCommerce!
http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support
http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support
Re: R8 future query error
This happens when there is some code making use of SQL IN clause with more then 2100 parameters. Seems like SQL Server allows maximum of 2100 parameters within in clause. For example query like following will throw this error
If you look in category pages we are making use of these future queries to minimize the N+1 loads. It means it tries to load all data that will be required during the display in minimal database hits. In other category pages where we directly load products you will notice there is an if statement warping future loads for products
The purpose of this if was specifically to avoid the case you just saw on CategoryGridPage4. This page was little different since we were load all nodes instead of just products. We should double check if counts are greater then zero and less then 2000 on this page to avoid exception.
Code: Select all
SELECT * FROM ac_Products WHERE ProductId IN (1,2,3,4, ..................... 2200)
If you look in category pages we are making use of these future queries to minimize the N+1 loads. It means it tries to load all data that will be required during the display in minimal database hits. In other category pages where we directly load products you will notice there is an if statement warping future loads for products
Code: Select all
if (products.Count < 2000)
{
........ FUTURE QUERIES HERE ..........
}
Code: Select all
if (productIds.Count > 0 && productIds.Count < 2000)
..................
if (categoryIds.Count > 0 && categoryIds.Count < 2000)
..................
if (webpageIds.Count > 0 && webpageIds.Count < 2000)
..................
if (linkIds.Count > 0 && linkIds.Count < 2000)
- jmestep
- AbleCommerce Angel
- Posts: 8164
- Joined: Sun Feb 29, 2004 8:04 pm
- Location: Dayton, OH
- Contact:
Re: R8 future query error
I had to knock the size on the products down from 2000 to 400 to get past the error.
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Re: R8 future query error
It turns out that while doing future queries where they are run as single batch it sums the in clause parameters for all queriesjmestep wrote:I had to knock the size on the products down from 2000 to 400 to get past the error.
