arrow_backTo the overview

Halco Packaging ApS

Error executing template "Designs/exhibition_site/ecom/product/partials/product-details/MCH365-related-products.cshtml"
System.ArgumentException: An item with the same key has already been added.
at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at Co3.MCH.Website.Frontend.Repositories.BaseRepository.GetAssetIds(Profile profile, String type, String cacheKey, MCH365ViewType viewType) in C:\Data\Dev\DevOps\MCH\co3.mch\Co3.MCH.Website.Frontend\Repositories\BaseRepository.cs:line 34
at Co3.MCH.Website.Frontend.Repositories.ProductRepository.GetProducts(Profile profile, MCH365ViewType viewType) in C:\Data\Dev\DevOps\MCH\co3.mch\Co3.MCH.Website.Frontend\Repositories\BaseRepository.cs:line 469
at Co3.MCH.Website.Frontend.Services.MCH365.ProductService.GetProductProducts(Profile profile, MCH365ViewType viewType) in C:\Data\Dev\DevOps\MCH\co3.mch\Co3.MCH.Website.Frontend\Services\MCH365\ProductService.cs:line 191
at Co3.MCH.Website.Frontend.Models.Frontend.Ecommerce.ProductProduct.get_OtherProducts() in C:\Data\Dev\DevOps\MCH\co3.mch\Co3.MCH.Website.Frontend\Models\Frontend\Ecommerce\ProductProduct.cs:line 168
at CompiledRazorTemplates.Dynamic.RazorEngine_c1e6c97b79ba4ad8be60202724cc26a3.Execute() in E:\Websites\mch365.espresso5.dk\Files\Templates\Designs\exhibition_site\ecom\product\partials\product-details\MCH365-related-products.cshtml:line 5
at RazorEngine.Templating.TemplateBase.RazorEngine.Templating.ITemplate.Run(ExecuteContext context, TextWriter reader)
at RazorEngine.Templating.RazorEngineService.RunCompile(ITemplateKey key, TextWriter writer, Type modelType, Object model, DynamicViewBag viewBag)
at RazorEngine.Templating.RazorEngineServiceExtensions.<>c__DisplayClass16_0.<RunCompile>b__0(TextWriter writer)
at RazorEngine.Templating.RazorEngineServiceExtensions.WithWriter(Action`1 withWriter)
at Dynamicweb.Rendering.RazorTemplateRenderingProvider.Render(Template template)
at Dynamicweb.Rendering.TemplateRenderingService.Render(Template template)
at Dynamicweb.Rendering.Template.RenderRazorTemplate()

1 @inherits ViewModelTemplate< ProductProduct > 2 @using Dynamicweb.Rendering 3 @using Co3.MCH.Website.Frontend.Models.Frontend.Ecommerce 4 5 @if ( Model.OtherProducts.Any() ) 6 { 7 <div class="row e-productlist-container mch365-productlist-hide-profileinfo"> 8 <div class="col-12 mt-3 mb-2"> 9 <h3 class="border-bottom pb-1">@Translate( "MCH365 - Product details MoreProductsBy - Heading", "Flere produkter fra" ) @Model.Profile.Company.Name</h3> 10 </div> 11 @foreach ( ProductProduct product in Model.OtherProducts.Take(6) ) 12 { 13 <div class="col-12 col-sm-6 col-md-6 col-xl-4 mb-2"> 14 @product.ListItemHtml 15 </div> 16 } 17 </div> 18 }

This product is added by:

Halco Packaging ApS

Halco Packaging is a Danish company that specializes in packaging solutions for industry. The company can supply a wide range of machinery for packaging solutions, including bags, caps, trays and buckets, all designed to protect and preserve food and non-food in a safe and efficient manner. Halco Packaging has more than 30 years of experience in the industry and is known for their high quality, reliability and innovative approach to packaging. Halco Packaging supplies tailor-made packaging lines, or machines for integration into existing facilities, to suit the customer's wishes, and we have a

See profile