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

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

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

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

源错误:


行 89:             log.InnerText = ex.Message;
行 90:             root.AppendChild(log);
行 91:             doc.Save(xmlPath);
行 92:         }
行 93:     }

源文件: d:\web\lgjt\App_Code\Log.cs    行: 91

堆栈跟踪:


[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) +89
   System.Xml.XmlDOMTextWriter..ctor(String filename, Encoding encoding) +63
   System.Xml.XmlDocument.Save(String filename) +116
   Log.SetException(HttpRequest request, Exception ex, HttpServerUtility server) in d:\web\lgjt\App_Code\Log.cs:91
   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