Not sure if this has been asked before or not, but I'm running 4.7.1, the main uCommerce package installed, but when I went to install the demo store, I get the following exception during installation:
CS1502: The best overloaded method match for 'umbraco.MacroEngines.DynamicMedia.DynamicMedia(umbraco.MacroEngines.DynamicBackingItem)' has some invalid arguments
Source Error:
Line 19: @if (!string.IsNullOrEmpty(product.ThumbnailImageMediaId)) Line 20: { Line 21: dynamic mediaItem = new DynamicMedia(product.ThumbnailImageMediaId); Line 22: <a href="@url"><img src="@mediaItem.umbracoFile" /></a> Line 23: }
uCommerce Razor Store does not install
Hi,
Not sure if this has been asked before or not, but I'm running 4.7.1, the main uCommerce package installed, but when I went to install the demo store, I get the following exception during installation:
CS1502: The best overloaded method match for 'umbraco.MacroEngines.DynamicMedia.DynamicMedia(umbraco.MacroEngines.DynamicBackingItem)' has some invalid arguments
Source Error:
Line 19: @if (!string.IsNullOrEmpty(product.ThumbnailImageMediaId))
Line 20: {
Line 21: dynamic mediaItem = new DynamicMedia(product.ThumbnailImageMediaId);
Line 22: <a href="@url"><img src="@mediaItem.umbracoFile" /></a>
Line 23: }
Source File: c:\inetpub\xxxxxx\App_Code\uCommerce\Helpers\Product.cshtml Line: 21
Any ideas? Commenting out lines 21/22 solve it but still doesn't install the store.
cheers
Alan
Did you find a way to fix this error? I am having the same issue and do see why it is happening. I tried upgrading Umbraco but still no luck.
What's the value of product.ThumbnailImageMediaId?
Also which version of uCommerce are you using?
is working on a reply...