System.IndexOutOfRangeException: Index was outside the bounds of the array. at System.Data.SqlClient.SqlDataReader.CheckMetaDataIsReady(Int32 columnIndex, Boolean permitAsync) at System.Data.SqlClient.SqlDataReader.GetFieldType(Int32 i) at LinqToDB.DataProvider.DataProviderBase.GetReaderExpression(MappingSchema mappingSchema, IDataReader reader, Int32 idx, Expression readerExpression, Type toType) at LinqToDB.Expressions.ConvertFromDataReaderExpression.GetColumnReader(IDataContext dataContext, MappingSchema mappingSchema, IDataReader dataReader, Type type, Int32 idx, Expression dataReaderExpr) at LinqToDB.Linq.QueryRunner.Mapper`1.<>c__DisplayClass6_0.b__0(Expression e) at LinqToDB.Expressions.Extensions.Transform(Expression expr, Func`2 func) at LinqToDB.Expressions.Extensions.<>c__DisplayClass26_0.g__Modify|0(MemberBinding b) at LinqToDB.Expressions.Extensions.Transform[T](ICollection`1 source, Func`2 func) at LinqToDB.Expressions.Extensions.TransformX(MemberInitExpression e, Func`2 func) at LinqToDB.Expressions.Extensions.Transform(Expression expr, Func`2 func) at LinqToDB.Expressions.Extensions.Transform[T](ICollection`1 source, Func`2 func) at LinqToDB.Expressions.Extensions.TransformX(MethodCallExpression e, Func`2 func) at LinqToDB.Expressions.Extensions.Transform(Expression expr, Func`2 func) at LinqToDB.Expressions.Extensions.TransformX(UnaryExpression e, Func`2 func) at LinqToDB.Expressions.Extensions.Transform(Expression expr, Func`2 func) at LinqToDB.Expressions.Extensions.TransformX(BinaryExpression e, Func`2 func) at LinqToDB.Expressions.Extensions.Transform(Expression expr, Func`2 func) at LinqToDB.Expressions.Extensions.Transform[T](ICollection`1 source, Func`2 func) at LinqToDB.Expressions.Extensions.Transform(Expression expr, Func`2 func) at LinqToDB.Expressions.Extensions.TransformX(LambdaExpression e, Func`2 func) at LinqToDB.Expressions.Extensions.Transform(Expression expr, Func`2 func) at LinqToDB.Expressions.Extensions.Transform(Expression expr, Func`2 func) at LinqToDB.Expressions.Extensions.TransformX(LambdaExpression e, Func`2 func) at LinqToDB.Expressions.Extensions.Transform(Expression expr, Func`2 func) at LinqToDB.Linq.QueryRunner.Mapper`1.Map(IQueryRunner queryRunner, IDataReader dataReader) at LinqToDB.Linq.QueryRunner.ExecuteQuery[T](Query query, IDataContext dataContext, Mapper`1 mapper, Expression expression, Object[] ps, Int32 queryNumber)+MoveNext() at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at Nop.Core.Caching.MemoryCacheManager.<>c__DisplayClass6_0`1.b__0(ICacheEntry entry) in E:\projects\Nahrdev\Aliraqi-Portal\NopCommerce\Libraries\Nop.Core\Caching\MemoryCacheManager.cs:line 83 at Microsoft.Extensions.Caching.Memory.CacheExtensions.GetOrCreate[TItem](IMemoryCache cache, Object key, Func`2 factory) at Nop.Core.Caching.MemoryCacheManager.Get[T](CacheKey key, Func`1 acquire) in E:\projects\Nahrdev\Aliraqi-Portal\NopCommerce\Libraries\Nop.Core\Caching\MemoryCacheManager.cs:line 79 at Nop.Services.Caching.Extensions.IQueryableExtensions.ToCachedList[T](IQueryable`1 query, CacheKey cacheKey) in E:\projects\Nahrdev\Aliraqi-Portal\NopCommerce\Libraries\Nop.Services\Caching\Extensions\IQueryableExtensions.cs:line 21 at Nop.Services.Catalog.ProductService.GetRelatedProductsByProductId1(Int32 productId, Boolean showHidden) in E:\projects\Nahrdev\Aliraqi-Portal\NopCommerce\Libraries\Nop.Services\Catalog\ProductService.cs:line 1797 at Nop.Web.Components.RelatedProductsViewComponent.Invoke(Int32 productId, Nullable`1 productThumbPictureSize) in E:\projects\Nahrdev\Aliraqi-Portal\NopCommerce\Presentation\Nop.Web\Components\RelatedProducts.cs:line 32 at lambda_method(Closure , Object , Object[] ) at Microsoft.AspNetCore.Mvc.ViewComponents.DefaultViewComponentInvoker.InvokeSyncCore(ObjectMethodExecutor executor, ViewComponentContext context) at Microsoft.AspNetCore.Mvc.ViewComponents.DefaultViewComponentInvoker.InvokeAsync(ViewComponentContext context) at Microsoft.AspNetCore.Mvc.ViewComponents.DefaultViewComponentHelper.InvokeCoreAsync(ViewComponentDescriptor descriptor, Object arguments) at AspNetCore.Themes_Iraqi_Views_Product_ProductTemplate_Simple.<>c__DisplayClass12_0.<b__1>d.MoveNext() in C:\inetpub\wwwroot\Iraqi\Themes\Iraqi\Views\Product\ProductTemplate.Simple.cshtml:line 332 --- End of stack trace from previous location where exception was thrown --- at Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperExecutionContext.GetChildContentAsync(Boolean useCachedResult, HtmlEncoder encoder) at Microsoft.AspNetCore.Mvc.TagHelpers.RenderAtEndOfFormTagHelper.ProcessAsync(TagHelperContext context, TagHelperOutput output) at Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner.g__Awaited|0_0(Task task, TagHelperExecutionContext executionContext, Int32 i, Int32 count) at AspNetCore.Themes_Iraqi_Views_Product_ProductTemplate_Simple.ExecuteAsync() in C:\inetpub\wwwroot\Iraqi\Themes\Iraqi\Views\Product\ProductTemplate.Simple.cshtml:line 75 at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderPageCoreAsync(IRazorPage page, ViewContext context) at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderPageAsync(IRazorPage page, ViewContext context, Boolean invokeViewStarts) at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderAsync(ViewContext context) at StackExchange.Profiling.Internal.WrappedView.RenderAsync(ViewContext context) in C:\projects\dotnet\src\MiniProfiler.AspNetCore.Mvc\Internal\WrappedView.cs:line 42 at Microsoft.AspNetCore.Mvc.ViewFeatures.ViewExecutor.ExecuteAsync(ViewContext viewContext, String contentType, Nullable`1 statusCode) at Microsoft.AspNetCore.Mvc.ViewFeatures.ViewExecutor.ExecuteAsync(ViewContext viewContext, String contentType, Nullable`1 statusCode) at Microsoft.AspNetCore.Mvc.ViewFeatures.ViewExecutor.ExecuteAsync(ActionContext actionContext, IView view, ViewDataDictionary viewData, ITempDataDictionary tempData, String contentType, Nullable`1 statusCode) at Microsoft.AspNetCore.Mvc.ViewFeatures.ViewResultExecutor.ExecuteAsync(ActionContext context, ViewResult result) at Microsoft.AspNetCore.Mvc.ViewResult.ExecuteResultAsync(ActionContext context) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|29_0[TFilter,TFilterAsync](ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResultExecutedContextSealed context) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.ResultNext[TFilter,TFilterAsync](State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeResultFilters() --- End of stack trace from previous location where exception was thrown --- at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|24_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeFilterPipelineAsync() --- End of stack trace from previous location where exception was thrown --- at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) at Microsoft.AspNetCore.Routing.EndpointMiddleware.g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger) at WebMarkupMin.AspNetCore3.WebMarkupMinMiddleware.ProcessAsync(HttpContext context, Boolean useMinification, Boolean useCompression) at WebMarkupMin.AspNetCore3.WebMarkupMinMiddleware.ProcessAsync(HttpContext context, Boolean useMinification, Boolean useCompression) at WebMarkupMin.AspNetCore3.WebMarkupMinMiddlewareBase.Invoke(HttpContext context) at StackExchange.Profiling.MiniProfilerMiddleware.Invoke(HttpContext context) in C:\projects\dotnet\src\MiniProfiler.AspNetCore\MiniProfilerMiddleware.cs:line 125 at Nop.Services.Authentication.AuthenticationMiddleware.Invoke(HttpContext context) in E:\projects\Nahrdev\Aliraqi-Portal\NopCommerce\Libraries\Nop.Services\Authentication\AuthenticationMiddleware.cs:line 79 at Microsoft.AspNetCore.Localization.RequestLocalizationMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.Session.SessionMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.Session.SessionMiddleware.Invoke(HttpContext context) at Nop.Services.Installation.InstallUrlMiddleware.Invoke(HttpContext context, IWebHelper webHelper) in E:\projects\Nahrdev\Aliraqi-Portal\NopCommerce\Libraries\Nop.Services\Installation\InstallUrlMiddleware.cs:line 52 at Nop.Services.Common.KeepAliveMiddleware.Invoke(HttpContext context, IWebHelper webHelper) in E:\projects\Nahrdev\Aliraqi-Portal\NopCommerce\Libraries\Nop.Services\Common\KeepAliveMiddleware.cs:line 49 at Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.Builder.RouterMiddleware.Invoke(HttpContext httpContext) at Microsoft.AspNetCore.Session.SessionMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.Session.SessionMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.Diagnostics.StatusCodePagesMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.Diagnostics.StatusCodePagesMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.g__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task) at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.HandleException(HttpContext context, ExceptionDispatchInfo edi) at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.g__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task) at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context) HEADERS ======= Accept: */* Connection: close Host: eliraqi.com.eg User-Agent: claudebot