国内最全IT社区平台 联系我们 | 收藏本站
华晨云阿里云优惠2
您当前位置:首页 > php开源 > DedeCMS > 动易后台图片节点上传多图片出错的修正

动易后台图片节点上传多图片出错的修正

来源:程序员人生   发布时间:2014-04-18 06:39:34 阅读次数:3366次

  网(LieHuo.Net)教程 在后台图片节点中上传多个图片文件,在点击上传文件的时出错。在后台图片节点中上传多个图片文件,在点击上传文件的时出错。出错的提示如下:

以下为引用的内容:
Server Error in '/' Application.
--------------------------------------------------------------------------------

The process cannot access the file 'd:freehostgzjrwwebUploadFilesPhoto2009102009101210235971400.jpg' because it is being used by another process.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.IO.IOException: The process cannot access the file 'd:freehostgzsnwebUploadFilesPhoto2009102009101210235971400.jpg' because it is being used by another process.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[IOException: The process cannot access the file 'd:freehostgzsnwebUploadFilesPhoto2009102009101210235971400.jpg' because it is being used by another process.]
System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +7714720
System.IO.File.Delete(String path) +7574888
PowerEasy.Framework.Common.FileSystemObject.Delete(String file, FsoMethod method) +31
PowerEasy.Framework.Components.WaterMark.AddWaterMark(String originalImagePath) +588
PowerEasy.SiteFactory.WebSite.Admin.Accessories.MultiplePhotoUpload.BtnUpload_Click(Object sender, EventArgs e) +3067
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +111
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +110
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565

--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.3082; ASP.NET Version:2.0.50727.3082

  解决办法:问题出在水印效果上,需要关掉。如果图片需要加水印,暂时请使用附件管理-->上传文件管理,找到图片然后"批量添加水印"。

  关闭水印效果的具体操作如下:

  第一步:

  第二步:

第三步:

 

生活不易,码农辛苦
如果您觉得本网站对您的学习有所帮助,可以手机扫描二维码进行捐赠
程序员人生
------分隔线----------------------------
分享到:
------分隔线----------------------------
关闭
程序员人生