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

文件“E:\web\2015\6\25\20150625012-bbhr8e3d7r\ftp_245645\Log\data_error.log”正由另一进程使用,因此该进程无法访问该文件。

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

异常详细信息: System.IO.IOException: 文件“E:\web\2015\6\25\20150625012-bbhr8e3d7r\ftp_245645\Log\data_error.log”正由另一进程使用,因此该进程无法访问该文件。

源错误:

执行当前 Web 请求期间生成了未处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。

堆栈跟踪:


[IOException: 文件“E:\web\2015\6\25\20150625012-bbhr8e3d7r\ftp_245645\Log\data_error.log”正由另一进程使用,因此该进程无法访问该文件。]
   System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +7943144
   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) +1162
   System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options) +65
   System.IO.StreamWriter.CreateFile(String path, Boolean append) +62
   System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize) +58
   System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding) +29
   Sky.Framework.Log.ExceptionLog.Add(String error, ExceptionType type) +361
   Sky.Framework.Data.Clients.SqlServerProvider.ExecuteCommand(DbCommand command) +271
   Sky.Framework.Data.DbContext.Execute(DbCommand command) +158
   Sky.CMS.Controls.Model_ItemControl.UpViews(Int32 id) +173
   Sky.CMS.UI.Model_ItemHandler.View() +506
   Sky.Framework.HttpHandlers.BaseHandler.ExecuteAction(String actionCode) +347
   Sky.Framework.HttpHandlers.BaseHandler.ProcessRequest(HttpContext context) +75
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +181
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75


版本信息: Microsoft .NET Framework 版本:2.0.50727.9061; ASP.NET 版本:2.0.50727.9062