Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 3 of 3

Thread: Load XmlPackage from other XmlPackage

  1. #1
    paulofabiano is offline Junior Member
    Join Date
    Jan 2012
    Posts
    5

    Default Load XmlPackage from other XmlPackage

    Is it possible to load a package from other one?

    I am doing this:
    <xsl:value-of select="aspdnsf:XmlPackage('page.banners.xml.confi g')" disable-output-escaping="yes" />

    And I receive this error:
    Exception=Access to the path 'C:\inetpub\wwwroot\AspDotNetStorefront\Web\images \page.banners.xml.config_store.runtime.xsl' is denied.<br/>

    Both xml.config file are in the same folder.

    Att,
    Paulo

  2. #2
    webopius is offline Senior Member
    Join Date
    Nov 2008
    Location
    London, UK
    Posts
    440

    Default

    Hi

    It looks like you might be running the XML package in debug mode (debug="true" declaration at the top of the package).

    It's trying to write its runtime info into your site's /images directory. Check your file permissions on the /images dir and make sure that the ASP.net processes have write/modify access to that folder.

    http://manual.aspdotnetstorefront.co...es-folder.aspx

  3. #3
    paulofabiano is offline Junior Member
    Join Date
    Jan 2012
    Posts
    5

    Default

    Hi
    Indeed it was with debug="true". I changed it to false and it´s running now.
    Thank you very much

    The folder thing was not necessary.

    att,
    Paulo