Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


These support forums are now closed for new topics and comments.
Please head on over to http://eureka.ucommerce.net/ for support.

  • Alan James 8 posts 27 karma points
    Apr 15, 2013 @ 06:38
    Alan James
    0

    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

     

  • Neil Gaietto 13 posts 72 karma points c-trib
    Jul 10, 2013 @ 19:47
    Neil Gaietto
    0

    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.

     

  • Søren Spelling Lund 1797 posts 2786 karma points
    Jul 29, 2013 @ 14:34
    Søren Spelling Lund
    0

    What's the value of product.ThumbnailImageMediaId?

    Also which version of uCommerce are you using?

Please Sign in or register to post replies

Write your reply to:

Draft