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 for support.

  • MartinB 411 posts 512 karma points
    Oct 14, 2012 @ 19:23

    Razor-store package returns 404 page for categories and products

    Bareboens fresh install of Umbraco 4.9, uCommerce 3.0 and Razor Demo Store package

    I don't know if this is the same as the findings Morten Bock discovered, but i have a working installation of uCommerce 3 and the razor-demo-store, but when i click the product image on the homepage or the categories through the left menu i get 404 pages for all :(

    Tried republishing the entire site with no luck.


  • MartinB 411 posts 512 karma points
    Oct 14, 2012 @ 20:45

    I've followed the manual install document and i could see i were missing some folders, and the global.asax file, but this is fixed now and if i compare the components.config from the SRC folder it's identical to the one in my website folder.

    I did the app recycle and site republish, still everything i click gives me 404 errors :/

  • MartinB 411 posts 512 karma points
    Oct 14, 2012 @ 21:51

    I'm unable to find this reference in the SRC folder ( i can't see a file called components.config ) and i'm thinking this is what i am missing to get it to work.

    Add ServiceStack apphost to /umbraco/ucommerce/configuration/components.config (example in Razor Store components.config found in src)
  • MartinB 411 posts 512 karma points
    Oct 16, 2012 @ 17:50

    Alright Tim fixed it, just add these lines in the urlRewrite.config instead of the default uCommerce ones:

    <add name="DefaultCategoryProductRewrite" virtualUrl="(.*)/c-([0-9]+)/c-([0-9]+)/p-([0-9]+)" rewriteUrlParameter="ExcludeFromClientQueryString" destinationUrl="~/catalog/product.aspx?catalog=$2&amp;category=$3&amp;product=$4" ignoreCase="true" xmlns="" />
        <add name="DefaultProductRewrite" virtualUrl="(.*)/c-([0-9]+)/p-([0-9]+)" rewriteUrlParameter="ExcludeFromClientQueryString" destinationUrl="~/catalog/product.aspx?catalog=$2&amp;product=$3" ignoreCase="true" xmlns="" />
        <add name="DefaultCategoryRewrite" virtualUrl="(.*)/c-([0-9]+)/c-([0-9]+)" rewriteUrlParameter="ExcludeFromClientQueryString" destinationUrl="~/catalog.aspx?catalog=$2&amp;category=$3" ignoreCase="true" xmlns="" />
        <add name="DefaultCatalogRewrite" virtualUrl="(.*)/c-([0-9]+)" rewriteUrlParameter="ExcludeFromClientQueryString" destinationUrl="~/catalog.aspx?catalog=$2" ignoreCase="true" xmlns="" />


  • Gordon 8 posts 28 karma points
    Mar 07, 2013 @ 00:21

    I also have installed Umbraco 6 and the uCommerce Razor store and I am still getting the url rewriting issues even after applying the above changes to the urlRewrite.config file?. If I click on the preview for the  shop, catalog or product page in the backoffice it comes up, but if I click the link to document /catalog.aspx I get the 404 errror

    Umbraco is working fine....and it was a normal package install?

    Anything else I can check?


Please Sign in or register to post replies

Write your reply to: