软件下载 | 资讯教程 | 最近更新 | 下载排行 | 一键转帖 | 发布投稿
您的位置:最火下载站 > 建站程序 > CMS教程 > 动易后台图片节点上传多图片出错的修正

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

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

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

The process cannot access the file 'd:\freehost\gzjrw\web\UploadFiles\Photo\2009\10\2009101210235971400.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:\freehost\gzsn\web\UploadFiles\Photo\2009\10\2009101210235971400.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:\freehost\gzsn\web\UploadFiles\Photo\2009\10\2009101210235971400.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

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

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

  第一步:

  第二步:

第三步:

 

    相关阅读
    网友评论
    栏目导航
    推荐软件