上传文件出现磁盘空间不足

作者:动易网络 来源:本站原创 点击数: 发布时间:2010年10月27日

 

 

错误信息:

 

 

Server Error in '/' Application.

--------------------------------------------------------------------------------

 

磁盘空间不足。

 

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: 磁盘空间不足。

 

 

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: 磁盘空间不足。

]

   System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +7715832

   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) +1162

   System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy) +61

   System.IO.FileStream..ctor(String path, FileMode mode) +55

   System.Web.HttpPostedFile.SaveAs(String filename) +99

   PowerEasy.SiteFactory.WebSite.Editor.Upload.OnLoad(EventArgs e) +6300

   System.Web.UI.Control.LoadRecursive() +50

   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627

 

 

 

 

--------------------------------------------------------------------------------

Version Information: Microsoft .NET Framework Version:2.0.50727.3615; ASP.NET Version:2.0.50727.3053

 

 

 

原因asp.net配额问题,程序所在磁盘或者数据库文件所在磁盘的空间

 

 

 

 

解决办法:

 

找到该盘,修改”network service”用户的限制配额为“不限制磁盘使用”