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.

  • Nick 11 posts 36 karma points
    Mar 30, 2011 @ 15:43
    Nick
    0

    Getting started with the uCommerce Store

    I'm looking into uCommerce for my work, but getting it to run is a challenge.

    I install the 1.5.0.2 version of uCommerce on a brand new installation of Umbraco. After that I install the 1.1.0.0 store. Both installations go fine. After publishing the entire store I get this when I visit the website:

    I'm pretty new at Umbraco, I can't seem to find anything wrong with the settings. The XSLT's are there.

    There are however, no product, and upon creating a product I get an ASP.NET exception in the popup-window after submitting a Name.

    I was under the assumption the 1.1.0.0 store would also contain demo information to quickly see results. I'm stuck with nothing now and the boss is waiting for a demo. I see troubleshotting advice of replublishing everything, but a. that doesn't help, and b. if that is the actual solution... well I can't possible sell a solution like that to my customers.

    Anyone?

  • Søren Spelling Lund 1797 posts 2786 karma points
    Mar 30, 2011 @ 15:52
    Søren Spelling Lund
    0

    Hi Nick,

    I think what's happened is that the user running the website apppool did not have appropriate database permissions to install the uCommerce data objects. When you install uCommerce you should see some placeholder catalogs and products to give you an idea of how it all works.

    You can take a look at the umbracoLog table and see if uCommerce wrote any useful information there.

  • Nick 11 posts 36 karma points
    Mar 30, 2011 @ 15:53
    Nick
    0

    EDIT - Our posts crossed

    I've looked in the database and the SQL script that was supposed to install all tables timed-out.

    I'm going to either increase the timeout or find a new machine to test on as this is obviously insufficient.

    Thanks

  • Nick 11 posts 36 karma points
    Mar 30, 2011 @ 16:41
    Nick
    0

    Well I'm stuck at the next point.

    Clickin "uCommerce" on the homepage will take me to www.domain.com/ucommerce/c-23 and gives me a 404.

    Here's the last log entries that seem to be key to this issue:

    Error    At / (Referred by: ): System.IO.FileNotFoundException: Could not find file 'C:\inetpub\Umbraco\App_Data\preview\0_c4b86f6a-e32b-4438-bdaf-3cf56cb85221.config'.[[snip]]
    Error    The uCommerce license file is either empty or missing.

    Any ideas?

  • Nick 11 posts 36 karma points
    Mar 31, 2011 @ 09:30
    Nick
    0

    Additional ErrorMessages just after the install: "Couldn't import property 'Content' as the property type doesn't exist on this document type" Presumably this would have something to do with me not having published the uCommerce demo store then.

    Also when I try to login, even with the admin account, I just get the message "Your login attempt was not successful. Please try again."

    Nothing is logged for this. I'm getting nowhere slowly.

  • Søren Spelling Lund 1797 posts 2786 karma points
    Mar 31, 2011 @ 10:11
    Søren Spelling Lund
    0

    Hi Nick,

    It seems like you've got uCommerce up and running to some degree. The URL generated indicates that the database is up and running now. You might be experiencing issues with file permissions in the Umbraco website. uCommerce needs to modify /web.config (which seems to be in order) and also add custom rules to /config/UrlRewriting.config.

    Can you verify that you've got these rules in UrlRewriting.config?

        <add name="DefaultCategoryProductRewrite" virtualUrl="(.*)/c-([0-9]+)/c-([0-9]+)/p-([0-9]+)" rewriteUrlParameter="ExcludeFromClientQueryString" destinationUrl="~/shop/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="~/shop/product.aspx?catalog=$2&amp;product=$3" ignoreCase="true" xmlns="" />
        <add name="DefaultCategoryRewrite" virtualUrl="(.*)/c-([0-9]+)/c-([0-9]+)" rewriteUrlParameter="ExcludeFromClientQueryString" destinationUrl="~/shop/catalog.aspx?catalog=$2&amp;category=$3" ignoreCase="true" xmlns="" />
        <add name="DefaultCatalogRewrite" virtualUrl="(.*)/c-([0-9]+)" rewriteUrlParameter="ExcludeFromClientQueryString" destinationUrl="~/shop/catalog.aspx?catalog=$2" ignoreCase="true" xmlns="" />
    
    uCommerce uses the standard Umbraco package system to deploy and unfortunately there's no way to give the user feedback on a lot of the actions performed by Umbraco this includes information about files which can't be deployed for some reason.
    On the SQL side of things it starts to look up and I'll look into providing better feedback for the part of the installation process that we control.
  • Nick 11 posts 36 karma points
    Mar 31, 2011 @ 10:38
    Nick
    0

    I have the rules in the UrlRewriting.config.

    I've tried a fresh Umbraco installation on my local PC, which I know is fast and I can completely control, but now my Packages node is empty, so I can't install anything. The Umnbraco installation is trying to create a temporary class in the Windows/Temp folder, why there?

    Every step I take I'm getting beaten by the extremeley narrow and undocumented system requirements that prevent Umbraco from working properly and the worst thing is the CMS itself mentions no problems. I have to keep looking in the Log-table to see what went wrong now. An apparent successful installation can mean utter failure. Sorry for the rant but so far (from this and all other issues I had like sudden 404 on the homepage of umbraco) my impression of Umbraco and uCommerce is that both are extremely unstable and supply no information about any problems.

    Anyway, I'll keep trying. I'll just keep in mind that I'm a newbie at Umbraco. But I think building in more flexibility, failsafes and tests before claiming a successful install might prevent the first impression being such a negative one. Usually being blown away with a stable and goodlooking environment is the key reason for a purchase.

  • Søren Spelling Lund 1797 posts 2786 karma points
    Mar 31, 2011 @ 10:51
    Søren Spelling Lund
    0

    Hi Nick,

    Have you tried installing using Web Platform Installer? It might be an easier way to get Umbraco up and running: http://www.microsoft.com/web/downloads/platform.aspx

    Also the wiki has some docs, which might help you out as well http://our.umbraco.org/wiki/install-and-setup/how-to-install-umbraco-on-windows-server-2008

    I remember when I had to install Umbraco the first time many years ago; it wasn't an easy process to wrap my head around. Just know that it'll get a lot easier to the point where you don't have to think about it at all.

  • Nick 11 posts 36 karma points
    Mar 31, 2011 @ 11:16
    Nick
    0

    I have it running locally now, I had to set rights for the iis-user in C:\Windows\Temp even though that seems very strange to me. I still can't login though.

    Also this error is in the logging: "Couldn't find any page with the nodeId = 1130. This is most likely caused by the page isn't published!  Parameter name: nodeId" - even though I published everything.

    Unrelated to uCommerce - www.address.com/umbraco gave me a 404 all of the sudden. Now I apparently have to type umbraco.aspx behind it to make it work.

    No luck on the server yet.

    So far this is what solved my issues:
    - Use a 'fast' computer, our virtual machine couldn't deal with the SQL-scripts and kept timing out.
    - Give the IIS-user read/write rights on the entire website and Windows/Temp
    - Watch the umbracoLog closely!

  • Nick 11 posts 36 karma points
    Mar 31, 2011 @ 11:18
    Nick
    0

    The Web Platform installer failed as well. Apparently it couldn't find the Umbraco package. No problem though, I wanted to install it myself anyway.

    Thanks for your help. It is very much appreciated.

  • Søren Spelling Lund 1797 posts 2786 karma points
    Mar 31, 2011 @ 11:18
    Søren Spelling Lund
    0

    Are you seeing the uCommerce Store alright at this point?

    Regarding the admin URL, you need to use either www.address.com/umbraco/ (notice the forward slash at the end) or the one you ended up with /umbraco/umbraco.aspx.

     

  • Nick 11 posts 36 karma points
    Mar 31, 2011 @ 11:28
    Nick
    0

    The server now works. I've asked our admin to set permissions for windows/temp, but more important I think is that the IIS AppPool was set to Classic instead of Intergrated mode.

    So I have finally got something to show and play with.

    The login still doesn't work. Not sure why it's there, except perhaps for members with a store account, which they can't make.

    Thanks again for your help.

    So far this is what solved my issues:
    - Use a 'fast' computer, our virtual machine couldn't deal with the SQL-scripts and kept timing out.
    - Give the IIS-user read/write rights on the entire website and Windows/Temp
    - Watch the umbracoLog closely!
    - Set the AppPool mode to Integrated

  • Søren Spelling Lund 1797 posts 2786 karma points
    Mar 31, 2011 @ 17:13
    Søren Spelling Lund
    0

    Good to hear. It will work in integrated mode as well. If you take a look at web.config you'll find config section for both classic and integrated modes.

Please Sign in or register to post replies

Write your reply to:

Draft