Server Error in '/osm/liberia' Application.

Could not find file '\\boswinfs04\home\users\web\b2195\whl.edloach\osm\liberia\App_Data\british_isles.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.FileNotFoundException: Could not find file '\\boswinfs04\home\users\web\b2195\whl.edloach\osm\liberia\App_Data\british_isles.xml'.

Source Error:


Line 27:         Dim dataUrl As String = "~/App_Data/british_isles.xml"
Line 28:         Dim ds As DataSet = New DataSet
Line 29:         ds.ReadXml(Server.MapPath(dataUrl), XmlReadMode.ReadSchema)
Line 30:         Dim dv As DataView
Line 31:         If chkInvalidOnly.Checked Then

Source File: \\boswinfs04\home\users\web\b2195\whl.edloach\osm\liberia\Default.aspx.vb    Line: 29

Stack Trace:


[FileNotFoundException: Could not find file '\\boswinfs04\home\users\web\b2195\whl.edloach\osm\liberia\App_Data\british_isles.xml'.]
   System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +10909597
   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) +2580
   System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy) +138
   System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize) +94
   System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials credentials) +121
   System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn) +65
   System.Xml.XmlTextReaderImpl.OpenUrlDelegate(Object xmlResolver) +76
   System.Threading.CompressedStack.runTryCode(Object userData) +118
   System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData) +0
   System.Threading.CompressedStack.Run(CompressedStack compressedStack, ContextCallback callback, Object state) +122
   System.Xml.XmlTextReaderImpl.OpenUrl() +5047756
   System.Xml.XmlTextReaderImpl.Read() +152
   System.Xml.XmlReader.MoveToContent() +22
   System.Data.DataSet.ReadXml(XmlReader reader, XmlReadMode mode, Boolean denyResolving) +332
   System.Data.DataSet.ReadXml(String fileName, XmlReadMode mode) +179
   _Default.BindGridView1(String vstrSort, String vstrDirection) in \\boswinfs04\home\users\web\b2195\whl.edloach\osm\liberia\Default.aspx.vb:29
   _Default.Page_Load(Object sender, EventArgs e) in \\boswinfs04\home\users\web\b2195\whl.edloach\osm\liberia\Default.aspx.vb:14
   System.Web.UI.Control.OnLoad(EventArgs e) +132
   System.Web.UI.Control.LoadRecursive() +66
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2428


Version Information: Microsoft .NET Framework Version:2.0.50727.9174; ASP.NET Version:2.0.50727.9175