I have an IIS server running multiple apps. When I checked the space available on the C:\ drive on that server it said 20GB free. But I still get the following stack trace:

 [IOException: There is not enough space on the disk.
System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +7717304
System.IO.Directory.InternalCreateDirectory(String fullPath, String path, DirectorySecurity dirSecurity) +7569557
System.IO.Directory.CreateDirectory(String path, DirectorySecurity directorySecurity) +150
batchprocessor.btnUpload_Click(Object sender, EventArgs e) +979
System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e) +111
System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) +79
     System.Web.UI.WebControls.LinkButton.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) +175
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565

Is there a separate quota somewhere?

  • It is hard to tell without knowing what is the value of fullPath - are you sure you are trying to write to the C drive?
    – ocdecio
    Aug 25, 2011 at 0:54
  • that's a good point...i'll have to dig deeper
    – chris
    Aug 25, 2011 at 0:56
  • 1
    Are there quotas on C:\Windows\Microsoft.Net\Framework\vX.XXXX\Temporary ASP.NET Files? Is that directory writable by the application pool?
    – Mufasa
    Aug 25, 2011 at 0:56
  • it is writable...should i delete the temp internet files? the sites were fine yesterday
    – chris
    Aug 25, 2011 at 1:05

1 Answer 1


I heard of cases where the IWAM_ user has a quota set and you may be hitting it.

  • how do you check/alter this quota
    – chris
    Aug 25, 2011 at 1:02
  • You can see if Quotas are enabled by going to My Computer, right clicking on the drive, selecting properties and then the Quota tab. If "Enable Quota Management" is not checked, it's probably not a user quota issue.
    – Nathan Ratcliff
    Aug 25, 2011 at 1:06
  • If you open Properties for the C: drive you should see a tab for Quota, if it is disabled then disconsider my answer.
    – ocdecio
    Aug 25, 2011 at 1:12
  • you win, you were write: IIS Guest User was set to 200mb quota and had 199.99mb full.
    – chris
    Aug 25, 2011 at 1:26
  • You solved my problem, thanks! Anyway the user running IIS (6.0) was NETWORK SERVICE
    – bluish
    Sep 24, 2014 at 13:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.