“/VRVREPORT”应用程序中的服务器错误。
--------------------------------------------------------------------------------未能找到路径“c:\inetpub\wwwroot\Web\Config\PageFlow.xml”的一部分。
说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。 异常详细信息: System.IO.DirectoryNotFoundException: 未能找到路径“c:\inetpub\wwwroot\Web\Config\PageFlow.xml”的一部分。源错误:
行 30: string strNull ="";
行 31: XmlDocument xmlDoc = new XmlDocument();
行 32: xmlDoc.Load(HttpContext.Current.Request.MapPath("../Web/Config") + @"\PageFlow.xml");//路径
行 33:
行 34: XmlNode pnode = xmlDoc.SelectSingleNode("PageDef");//就是pagedef那个节点
源文件: F:\VRVReport\03_Source\ReportSystem.Common\PageFlow.cs 行: 32 堆栈跟踪:
[DirectoryNotFoundException: 未能找到路径“c:\inetpub\wwwroot\Web\Config\PageFlow.xml”的一部分。]
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.XmlTextReaderImpl.OpenUrlDelegate(Object xmlResolver) +44
System.Threading.CompressedStack.runTryCode(Object userData) +54
System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData) +0
System.Threading.CompressedStack.Run(CompressedStack compressedStack, ContextCallback callback, Object state) +174
System.Xml.XmlTextReaderImpl.OpenUrl() +199
System.Xml.XmlTextReaderImpl.Read() +53
System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) +145
System.Xml.XmlDocument.Load(XmlReader reader) +96
System.Xml.XmlDocument.Load(String filename) +160
ReportSystem.Common.PageFlow.GetUrl(Int32 code) in F:\VRVReport\03_Source\ReportSystem.Common\PageFlow.cs:32
SystemLogin.btnLogin_Click(Object sender, EventArgs e) +27
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +105
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +107
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1746
--------------------------------------------------------------------------------
版本信息: Microsoft .NET Framework 版本:2.0.50727.1433; ASP.NET 版本:2.0.50727.1433
--------------------------------------------------------------------------------未能找到路径“c:\inetpub\wwwroot\Web\Config\PageFlow.xml”的一部分。
说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。 异常详细信息: System.IO.DirectoryNotFoundException: 未能找到路径“c:\inetpub\wwwroot\Web\Config\PageFlow.xml”的一部分。源错误:
行 30: string strNull ="";
行 31: XmlDocument xmlDoc = new XmlDocument();
行 32: xmlDoc.Load(HttpContext.Current.Request.MapPath("../Web/Config") + @"\PageFlow.xml");//路径
行 33:
行 34: XmlNode pnode = xmlDoc.SelectSingleNode("PageDef");//就是pagedef那个节点
源文件: F:\VRVReport\03_Source\ReportSystem.Common\PageFlow.cs 行: 32 堆栈跟踪:
[DirectoryNotFoundException: 未能找到路径“c:\inetpub\wwwroot\Web\Config\PageFlow.xml”的一部分。]
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.XmlTextReaderImpl.OpenUrlDelegate(Object xmlResolver) +44
System.Threading.CompressedStack.runTryCode(Object userData) +54
System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData) +0
System.Threading.CompressedStack.Run(CompressedStack compressedStack, ContextCallback callback, Object state) +174
System.Xml.XmlTextReaderImpl.OpenUrl() +199
System.Xml.XmlTextReaderImpl.Read() +53
System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) +145
System.Xml.XmlDocument.Load(XmlReader reader) +96
System.Xml.XmlDocument.Load(String filename) +160
ReportSystem.Common.PageFlow.GetUrl(Int32 code) in F:\VRVReport\03_Source\ReportSystem.Common\PageFlow.cs:32
SystemLogin.btnLogin_Click(Object sender, EventArgs e) +27
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +105
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +107
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1746
--------------------------------------------------------------------------------
版本信息: Microsoft .NET Framework 版本:2.0.50727.1433; ASP.NET 版本:2.0.50727.1433
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货