产品使用及交流论坛

首页 » 产品使用交流区 » 安装及使用交流 » 上传图片出现这样的问题!
iifwf123 - 2010/10/11 19:00:00
文件“d:\wwwroot\iifwf123\web\upload\product\2010-10\11185637.jpg”正由另一进程使用,因此该进程无法访问该文件。
说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。

异常详细信息: System.IO.IOException: 文件“d:\wwwroot\iifwf123\web\upload\product\2010-10\11185637.jpg”正由另一进程使用,因此该进程无法访问该文件。

源错误:

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

堆栈跟踪:


[IOException: 文件“d:\wwwroot\iifwf123\web\upload\product\2010-10\11185637.jpg”正由另一进程使用,因此该进程无法访问该文件。]
   System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +2002429
   System.IO.File.Delete(String path) +157
   PageAdmin.Watermark.Add_Watermark(String Path) +3066
   PageAdmin.product_2.xd24f219441cf2f66() +2441
   PageAdmin.product_2.Page_Load(Object src, EventArgs e) +115
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +33
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +47
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061
xiyou - 2010/10/12 10:05:00
关闭水印或者缩略图功能看看,之前某个版本好像有这个问题,后来新版本已经更正了
1
查看完整版本: 上传图片出现这样的问题!