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.

  • David Dupont 61 posts 115 karma points
    Nov 25, 2010 @ 12:03
    David Dupont
    0

    Xslt error on all xslt macro after Backup / Restore

    Hello,

    I've made an UCommerce Installation Locally and have confirgured Paypal payment on it (Ucommerce 1.1.1.0  + Ucommerce Store 1.0.1.3)
    Everything rocks locally then I've  backed up the solution and have restored it on one of our servers.
    But since that there is a global issue on all XSLT Macros of the site and I get the usual error message :

    Error parsing XSLT file: \xslt\AllCatalogs[XSLT].xslt
    I've searched everywhere on the authors site and in this Support Section and it seems that the issue hasn't been encouter by anyone.
    When I look in the UmbracoLog Table I get the 2 following errors everytime I refresh the front shop page :
    1 -
    Error processing node resource FileResource: [] [] System.Xml.XmlNode Process(Castle.Core.Resource.IResource)
    at Castle.Windsor.Configuration.Interpreters.XmlProcessor.XmlProcessor.Process(IResource resource)
    at Castle.Windsor.Configuration.Interpreters.XmlInterpreter.ProcessResource(IResource source, IConfigurationStore store)
    at Castle.Windsor.WindsorContainer..ctor(IConfigurationInterpreter interpreter)
    at Castle.Windsor.WindsorContainer..ctor(String xmlFile)
    at UCommerce.Infrastructure.ObjectFactory.GetContainer()
    at UCommerce.Infrastructure.ObjectFactory.get_Container()
    at UCommerce.Infrastructure.ObjectFactory.Resolve[T]()
     at UCommerce.Xslt.XsltLibrary.get_ClientContext()
     at UCommerce.Xslt.XsltLibrary.get_InProductCatalogGroupContext()
     at UCommerce.Xslt.CatalogLibrary.GetRootCategories(String catalogName)
    at UCommerce.Xslt.Library.<>c__DisplayClass6.<GetRootCategories>b__5()
    at UCommerce.Xslt.Library.HandledCall[T](Func`1 method)
    2 -
    File H:\Website\wwwroot\UCommerce\Website\umbraco\ucommerce\configuration\Components.config could not be found Void CheckFileExists(System.String)
    at Castle.Core.Resource.FileResource.CheckFileExists(String path)
    at Castle.Core.Resource.FileResource.CreateStreamFromPath(String resourcePath, String rootPath)
    at Castle.Core.Resource.FileResource.<>c__DisplayClassa.<.ctor>b__8()
    at Castle.Core.Resource.AbstractStreamResource.GetStreamReader()
    at Castle.Windsor.Configuration.Interpreters.XmlProcessor.XmlProcessor.Process(IResource resource)

     

    If you look closely on the second message it seems that there is an absolute reference to a local file :

    H:\Website\wwwroot\UCommerce\Website\umbraco\ucommerce\configuration\Components.config

    That path is a path available on my local machine so I don't understand why something is looking on file at that location.

    Another specificity I've used a host header on my local installation but I don't think it can be the cause.

    I've disabled authentication on the server to be sure it's not linked to that.

    I'can't find where to look but I really need this environnement working since we have mutiple clients interested in.

    Another point is that everything else works except in the UCommerce Section where I can't see the children of "ProductCatalog" and "Orders" Node although the content is present in database.

    Thanks per advance.

     

    David

  • Søren Spelling Lund 1797 posts 2786 karma points
    Nov 25, 2010 @ 13:25
    Søren Spelling Lund
    0

    Hi David,

    All components of uCommerce are registered in a central XML file called Components.config. The path to the file is registered in web.config during install. If you look for the runtime element in web.config you'll find the setting. You need to modify it to match your current environment.

  • Søren Spelling Lund 1797 posts 2786 karma points
    Nov 25, 2010 @ 13:43
    Søren Spelling Lund
    0

    Deleted contents of duplicate reply.

  • David Dupont 61 posts 115 karma points
    Nov 25, 2010 @ 14:12
    David Dupont
    0

    Thanks you very much Soren. for the resolution and for the quickness.
    We will come back to you guys when we will be ready to buy Licences or for another question :)

    Regards

  • Søren Spelling Lund 1797 posts 2786 karma points
    Nov 25, 2010 @ 14:16
    Søren Spelling Lund
    0

    You're most welcome. By the way you might be interested in knowing that for new releases of uCommerce I've changed the behavior of the installer so that it uses a relative path instead of the absolute one. It means that you won't see this behavior when moving from one server to another.

Please Sign in or register to post replies

Write your reply to:

Draft