arrow_backTo the overview

CFI - Center for Industri

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\Development\git\mch365mb-dev\Co3.MCH.Website.Frontend\Repositories\BaseRepository.cs:line 58
at Co3.MCH.Website.Frontend.Repositories.ProductRepository.GetProducts(Profile profile, MCH365ViewType viewType) in C:\Data\Development\git\mch365mb-dev\Co3.MCH.Website.Frontend\Repositories\ProductRepository.cs:line 326
at Co3.MCH.Website.Frontend.Services.MCH365.ProductService.GetProducts(Profile profile, MCH365ViewType viewType) in C:\Data\Development\git\mch365mb-dev\Co3.MCH.Website.Frontend\Services\MCH365\ProductService.cs:line 244
at Co3.MCH.Website.Frontend.Services.MCH365.ProductService.GetProductProducts(Profile profile, MCH365ViewType viewType) in C:\Data\Development\git\mch365mb-dev\Co3.MCH.Website.Frontend\Services\MCH365\ProductService.cs:line 191
at Co3.MCH.Website.Frontend.Models.Frontend.Ecommerce.ProfileProduct.get_Products() in C:\Data\Development\git\mch365mb-dev\Co3.MCH.Website.Frontend\Models\Frontend\Ecommerce\ProfileProduct.cs:line 60
at Co3.MCH.Website.Frontend.Models.Frontend.Ecommerce.ProductProduct.get_OtherProducts() in C:\Data\Development\git\mch365mb-dev\Co3.MCH.Website.Frontend\Models\Frontend\Ecommerce\ProductProduct.cs:line 169
at CompiledRazorTemplates.Dynamic.RazorEngine_508b9b46a2c84bb89a8a0e8c271fb9f2.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:

CFI - Center for Industri

Center for Industry (CFI) is a non-profit knowledge and innovation center that helps Danish industrial companies develop and become more competitive.

CFI's vision is to be the leading partner for Danish industrial companies in their efforts to become more innovative, competitive, and sustainable.

If you are a Danish industrial company that wishes to:

- Learn more about the latest technologies and trends in the industry
- Get advice on how to develop your business
- Find new sparring and collaboration partners through industry networks
- Be inspired by other companies' success stori

See profile

Responsibility for content on this site

Information, images, product descriptions, videos, certifications, sustainability claims, and other content on company profiles are uploaded and maintained by the individual exhibitors.
Exhibitors are solely responsible for ensuring that their content is accurate, properly documented, and legally compliant, including compliance with applicable regulations concerning marketing, sustainability claims, and intellectual property rights.
MCH A/S solely provides the platform and does not, as a general rule, verify the content.