Server Error in '/' Application.

Could not find a part of the path 'd:\hosting\countsbrothers\App_Data\schemas\Items.xsd'.

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:\hosting\countsbrothers\App_Data\schemas\Items.xsd'.

Source Error:


Line 36:         ' create a schema set and copy it to settings.Schemas
Line 37:         Dim schema As New XmlSchemaSet()
Line 38:         schema.Add(Nothing, schemaFilePath)
Line 39: 
Line 40:         Dim settings As New XmlReaderSettings()

Source File: d:\hosting\countsbrothers\App_Code\Util.vb    Line: 38

Stack Trace:


[DirectoryNotFoundException: Could not find a part of the path 'd:\hosting\countsbrothers\App_Data\schemas\Items.xsd'.]
   System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +492
   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) +1038
   System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize) +113
   System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials credentials) +78
   System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn) +51
   System.Xml.XmlReader.Create(String inputUri, XmlReaderSettings settings, XmlParserContext inputContext) +127
   System.Xml.Schema.XmlSchemaSet.Add(String targetNamespace, String schemaUri) +174
   Util.ValidateXml(String xmlFilePath, String schemaFilePath) in d:\hosting\countsbrothers\App_Code\Util.vb:38
   Util.ReadAndValidateXml(String xmlFilePath, String schemaFilePath) in d:\hosting\countsbrothers\App_Code\Util.vb:63
   XmlCatalogProvider.GetChildCategories(String parentCategoryId) in d:\hosting\countsbrothers\App_Code\Catalog\XmlCatalogProvider.vb:42
   Catalog.GetChildCategories(String parentCategoryId) in d:\hosting\countsbrothers\App_Code\Catalog\Catalog.vb:43
   ItemsPage.Page_Load() in d:\hosting\countsbrothers\Items.aspx.vb:28
   System.Web.Util.CalliHelper.ArglessFunctionCaller(IntPtr fp, Object o) +5
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +858603
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +47
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1436


Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433