PDA

View Full Version : Trying to use FileStream to write a file


raelyard
11-10-2005, 01:28 AM
When I try to use a filestream to write a file to a subdirectory of my application, I encounter the following unecpexted exception:

System.IO.IOException: There is not enough space on the disk.



It is obviously not that there is not enough disk space, as I can FTP the same file to the directory. Is there any reason I would be seeing this?

Thanks for any help.

bruce
11-10-2005, 08:22 AM
when you create file in your web application, the quota goes toward your aspnet or iusr.

you can adjust these quota in the control panel.

Bruce

DiscountASP.NET
www.DiscountASP.NET (http://www.DiscountASP.NET)

raelyard
11-11-2005, 01:31 AM
Thanks very much Bruce. That answers my question. My problem is solved.

I wasn't aware that there were user-based disk quotas. I thought it was just based on the entire account.

Thanks again.

bruce
11-11-2005, 07:52 AM
yeah.. we introduced this features couple months back to give users more flexibility on assigning their own quota.

Bruce

DiscountASP.NET
www.DiscountASP.NET (http://www.DiscountASP.NET)