unhandled exception

  •  07-26-2005, 12:23 PM

    unhandled exception

    I'm having a similar problem with the dotnetgallery install. Any advice?





    Server Error in '/' Application.
    ------------------------------------------------------------------------

    Could not find a part of the path "D:\hshome\hcebeta\mydomain.org\samplefolder\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.IO.DirectoryNotFoundException: Could not find a part of the path "D:\hshome\hcebeta\mydomain.org\samplefolder\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:


    [DirectoryNotFoundException: Could not find a part of the path "D:\hshome\hcebeta\mydomain.org\samplefolder\gallery.xml".]
    System.IO.__Error.WinIOError(Int32 errorCode, String str) +287
    System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean useAsync, String msgPath, Boolean bFromProxy) +888
    System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) +45
    System.Xml.XmlTextWriter..ctor(String filename, Encoding encoding) +34
    System.Data.DataSet.WriteXmlSchema(String fileName) +49
    DotNetGallery.Gallery.InitializeXMLFile(String xmlfile_path) +545

    [FileNotFoundException: The file couldn't be accessed. This may be a security problem.]
    DotNetGallery.Gallery.InitializeXMLFile(String xmlfile_path) +584
    DotNetGallery.Gallery.get__xmlsource() +199

    [FileNotFoundException: The file couldn't be accessed. This may be a security problem.]
    DotNetGallery.Gallery.get__xmlsource() +314
    DotNetGallery.Gallery.BindData() +872
    DotNetGallery.Gallery.OnPreRender(EventArgs e) +119
    System.Web.UI.Control.PreRenderRecursiveInternal() +62
    System.Web.UI.Control.PreRenderRecursiveInternal() +125
    System.Web.UI.Control.PreRenderRecursiveInternal() +125
    System.Web.UI.Page.ProcessRequestMain() +1499


    ------------------------------------------------------------------------
    Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET Version:1.1.4322.2032




    I can PM you the url.


    Mike
View Complete Thread