Discuz!NT 2.5 正式版 下载
beta、RC版升级补丁
中秋模板发布
首届Discuz!NT 模板大赛圆满结束
著名音乐网站SoGua网、分贝网
采用Discuz!NT搭建社区
FIFA Online2官网论坛使用Discuz!NT
游戏城寨论坛使用Discuz!NT搭建
Discuz!NT 2.5正式开源 Discuz!NT文档中心
用户整合说明文档
Discuz!NT亮相微软Tech-Ed 2007
Discuz!NT情景搞笑短片抢先看
 
1/1页1 跳转到查看:473
发新话题 回复该主题

[使用] 求助 附件无法删除和相关设置

求助 附件无法删除和相关设置

删除附件时出错详细信息见下,再就是想问下  如下图中  1 处我上传完附件它是自动生成的 2 那怎么设置才能象官网的小图样子





删除时的错误提示



Server Error in '/' Application. The process cannot access the file 'd:\web\wcq828\wwwroot\upload\2008\03\28\14\133345479613123.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:\web\wcq828\wwwroot\upload\2008\03\28\14\133345479613123.jpg' because it is being used by another process.

Source Error:

The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:

1. Add a "Debug=true" directive at the top of the file that generated the error. Example:

  <%@ Page Language="C#" Debug="true" %>

or:

2) Add the following section to the configuration file of your application:

<configuration>
  <system.web>
      <compilation debug="true"/>
  </system.web>
</configuration>

Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.

Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario.

Stack Trace:

[IOException: The process cannot access the file 'd:\web\wcq828\wwwroot\upload\2008\03\28\14\133345479613123.jpg' because it is being used by another process.]  System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +1972013  System.IO.File.Delete(String path) +157  Discuz.Forum.Attachments.DeleteAttachment(String aidList) +121  Discuz.ForumPage.editpost.ShowPage() +8222  Discuz.Web.UI.Pages.BasePage..ctor() +4082  Discuz.ForumPage.editpost..ctor() +37  ASP.aspx_1_editpost_aspx..ctor() +10  __ASP.FastObjectFactory_app_web_dn3t_cab.Create_ASP_aspx_1_editpost_aspx() +20  System.Web.Compilation.BuildResultCompiledType.CreateInstance() +49  System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert) +115  System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +31  System.Web.UI.PageHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +40  System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig) +139  System.Web.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +120  System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155
用您的智慧和手艺创造更多财富,活多多是您理想的平台.
网页制作,Logo设计,平面美工,动画制作等等是您接活好地方.
http://www.huododo.com

TOP

 

回复:求助 附件无法删除和相关设置

默认插入的应该是[local ]标签吧...
要不你在编辑帖子的附件列表手动插入一次试试

无法删除附件的问题,你检查一下IIS的web园个数 .最好设置为1

TOP

 

回复:求助 附件无法删除和相关设置

我也碰到一样的问题,检查了IIS设置,WEB园是1,但还是出这个问题,最后到管理后台才删掉,不知道是不是BUG

TOP

 

回复:求助 附件无法删除和相关设置

晕,我也是这个问题。

TOP

 

回复:求助 附件无法删除和相关设置

我也碰到了这个问题!很奇怪!!

TOP

 
1/1页1 跳转到
发表新主题 回复该主题