Server Error in '/' Application.

Could not find a part of the path 'C:\AWS2\Web\vhost\Data\p\r\a8890013\Album\NRDSwimmingGala2013%5B2%5D\Album.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 'C:\AWS2\Web\vhost\Data\p\r\a8890013\Album\NRDSwimmingGala2013%5B2%5D\Album.xml'.

Source Error:


Line 18: 
Line 19:         'Get Album Details from XML file
Line 20:         Using reader As XmlReader = XmlReader.Create(AlbumToScan & "\Album.xml")
Line 21:             reader.ReadToFollowing("AlbumName")
Line 22:             AlbumNameFromReader = reader.ReadElementContentAsString()

Source File: C:\AWS2\Web\vhost\Data\p\r\a8890013\LoadAlbum.aspx.vb    Line: 20

Stack Trace:


[DirectoryNotFoundException: Could not find a part of the path 'C:\AWS2\Web\vhost\Data\p\r\a8890013\Album\NRDSwimmingGala2013%5B2%5D\Album.xml'.]
   System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +224
   System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath) +1142
   System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize) +81
   System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials credentials, IWebProxy proxy, RequestCachePolicy cachePolicy) +77
   System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn) +69
   System.Xml.XmlReaderSettings.CreateReader(String inputUri, XmlParserContext inputContext) +125
   System.Xml.XmlReader.Create(String inputUri, XmlReaderSettings settings, XmlParserContext inputContext) +43
   System.Xml.XmlReader.Create(String inputUri) +8
   LoadAlbum.form1_Load(Object sender, EventArgs e) in C:\AWS2\Web\vhost\Data\p\r\a8890013\LoadAlbum.aspx.vb:20
   System.Web.UI.Control.OnLoad(EventArgs e) +91
   System.Web.UI.Control.LoadRecursive() +74
   System.Web.UI.Control.LoadRecursive() +146
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2207


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1031