evaluating the product, get gallery.xml not found

Last post 09-08-2008, 1:12 PM by cwhistler. 1 replies.
Sort Posts: Previous Next
  •  09-08-2008, 12:21 PM 43711

    evaluating the product, get gallery.xml not found

    I moved the dll and license, and put a reference to the control on my aspx page.  I pointed the control at an existing image file and though that with the initial access, your product would create all of the necessary xml files, etc. it needed to operate.  is this not true?  What am I doing wrong?
     

    Failed to map the path '/garyimages/gallery.xml'.

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.InvalidOperationException: Failed to map the path '/garyimages/gallery.xml'.

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

    Stack Trace:

    [InvalidOperationException: Failed to map the path '/garyimages/gallery.xml'.]
                System.Web.Hosting.HostingEnvironment.MapPathActual(VirtualPath virtualPath, Boolean permitNull) +8848666
                System.Web.Hosting.HostingEnvironment.MapPathInternal(VirtualPath virtualPath) +42
                System.Web.VirtualPath.MapPathInternal() +4
                System.Web.HttpRequest.MapPath(VirtualPath virtualPath, VirtualPath baseVirtualDir, Boolean allowCrossAppMapping) +107
                System.Web.HttpRequest.MapPath(VirtualPath virtualPath) +37
                System.Web.HttpServerUtility.MapPath(String path) +99
                DotNetGallery.Gallery.m() +67
                DotNetGallery.Gallery.g() +37
                [FileNotFoundException: The file couldn't be accessed. This may be a security problem.]
                DotNetGallery.Gallery.g() +129
                DotNetGallery.Gallery.q() +839
                DotNetGallery.Gallery.OnPreRender(EventArgs e) +107
                System.Web.UI.Control.PreRenderRecursiveInternal() +80
                System.Web.UI.Control.PreRenderRecursiveInternal() +171
                System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +842
                

  •  09-08-2008, 1:12 PM 43720 in reply to 43711

    Re: evaluating the product, get gallery.xml not found

    OK I figured it out.  I needed to be within a form and also my image folder path had to have the ~ in front of it, so "~/garyimages"
View as RSS news feed in XML