“/”應用程序中的服務器錯誤。

文件“E:\wwwroot\ebtSC\App_Data\classSql\20190821015237020.Log”正由另一進程使用,因此該進程無法訪問該文件。

說明: 執行當前 Web 請求期間,出現未處理的異常。請檢查堆棧跟蹤信息,以了解有關該錯誤以及代碼中導緻錯誤的出處的詳細信息。

異常詳細信息: System.IO.IOException: 文件“E:\wwwroot\ebtSC\App_Data\classSql\20190821015237020.Log”正由另一進程使用,因此該進程無法訪問該文件。

源錯誤:


行 220:
行 221:            //處理搜索結果
行 222:            DataSet ds = dal.Search(classid, pc.pcls_left, pc.pcls_right, orderby, brandid, page, pageSize, antiKeyword, arrA, arrR, arrS, arrF, arrExt);
行 223:            Repeater1.DataSource = ds;
行 224:            Repeater1.DataBind();

源文件: e:\wwwroot\ebtSC\Class.aspx.cs    行: 222

堆棧跟蹤:


[IOException: 文件“E:\wwwroot\ebtSC\App_Data\classSql\20190821015237020.Log”正由另一進程使用,因此該進程無法訪問該文件。]
   System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +10557335
   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, FileOptions options) +98
   System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize) +139
   System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding) +17
   Utils.FWrite(String content, String filename) +108
   Product.Search(Int32 classid, Int32 left, Int32 right, String orderby, Int32 brandid, Int32 page, Int32 pageSize, String Keyword, String[] A, String[] R, String[] S, String[] F, String[] Ext) +6845
   _Class.Page_Load(Object sender, EventArgs e) in e:\wwwroot\ebtSC\Class.aspx.cs:222
   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.8000; ASP.NET 版本:2.0.50727.8001
http://sghhds.dnshc4h.top| http://vggazz.dnshc4h.top| http://h2hu9j1c.dnshc4h.top| http://x5uscr9.dnshc4h.top| http://3t6g6.dnshc4h.top|