“/”应用程序中的服务器错误。

凯发体育app|凯发体育app苹果手机|凯发网娱乐app

说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。

异常详细信息: System.IO.IOException: 凯发体育app|凯发体育app苹果手机|凯发网娱乐app

源错误:


行 23:     {
行 24:         XmlDocument doc = new XmlDocument();
行 25:         doc.Load(path);
行 26:         return doc;
行 27:     }

源文件: d:\web\lgjt\App_Code\XmlTool.cs    行: 25

堆栈跟踪:


[IOException: 凯发体育app|凯发体育app苹果手机|凯发网娱乐app]
   System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +10556375
   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() +5042556
   System.Xml.XmlTextReaderImpl.Read() +152
   System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) +165
   System.Xml.XmlDocument.Load(XmlReader reader) +134
   System.Xml.XmlDocument.Load(String filename) +95
   XmlTool.getXmlDocument(String path) in d:\web\lgjt\App_Code\XmlTool.cs:25
   Log.SetException(HttpRequest request, Exception ex, HttpServerUtility server) in d:\web\lgjt\App_Code\Log.cs:79
   mlgxw_view.BindData() in d:\web\lgjt\mlgxw_view.aspx.cs:60
   mlgxw_view.Page_Load(Object sender, EventArgs e) in d:\web\lgjt\mlgxw_view.aspx.cs:19
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +25
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +42
   System.Web.UI.Control.OnLoad(EventArgs e) +132
   System.Web.UI.Control.LoadRecursive() +66
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2428


版本信息: Microsoft .NET Framework 版本:2.0.50727.5485; ASP.NET 版本:2.0.50727.5491