日期:2014-05-18  浏览次数:21114 次

上传文件时提示 “磁盘空间不够”的问题

一个测试站点,在前几个月当中,发布产品时有一个上传产品图片功能,前几个月上传都没有问题
现在碰到一个问题,只要是上传一个很小的文件就提示 空间不够,而实际上空间还有300M没有用到,

在网上我也找了些资料,具体网址:http://www.goldot.com/Forum/printpage.asp?BoardID=19&ID=36



我现在上传时提示的错误代码如下,附件中也有图示。


Server Error in '/' Application.
--------------------------------------------

There is not enough space on the disk.

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: There is not enough space on the disk.


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: There is not enough space on the disk.
]
  System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +2056933
  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) +1038
  System.IO.FileStream..ctor(String path, FileMode mode) +64
  System.Web.HttpPostedFile.SaveAs(String filename) +87
  Admin_Product_Up.Button1_Click(Object sender, EventArgs e) in g:\Project\AC\Web\WebUI\Admin\Product\Up.aspx.cs:25
  System.Web.UI.WebControls.Button.OnClick(EventArgs e) +105
  System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +107
  System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7
  System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
  System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
  System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1746

 


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

------解决方案--------------------
是不时上传目录灭有权限?
------解决方案--------------------
我遇到过这个问题,哈,打包后重新上传后解压缩就可以了。

具体原因不知道。

------解决方案--------------------
用优化大师等软件做下系统清理,有可能是IE的缓存文件达到上限了,试试看。
------解决方案--------------------
可能是真的没有空间了,
系统不会说慌。