473,406 Members | 2,894 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Not enough disk space on server causes some aspx to error

I have a website that's running on windows 2000 SP4. In the server, there is the prompt "There is no enough disk space to install all available updates. Click 'Yes' for help on freeing up disk space"

I did not do any disk maintenance, i would like to wait for the network admin to do it. However, some pages of my asp.net application started to error out. Here's the stocktrace:

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

Last Error : System.Web.HttpException: There is not enough space on the disk.
---> System.IO.IOException: There is not enough space on the disk.

at System.IO.__Error.WinIOError(Int32 errorCode, String str)
at System.IO.FileStream.WriteCore(Byte[] buffer, Int32 offset, Int32 count)
at System.IO.FileStream.FlushWrite()
at System.IO.FileStream.Flush()
at System.IO.FileStream.Dispose(Boolean disposing)
at System.IO.FileStream.Close()
at System.IO.Stream.System.IDisposable.Dispose()
at System.Web.StringResourceBuilder.CreateResourceFil e(String resFileName)
at System.Web.Compilation.Base compile r.Get compile dType()
at System.Web.UI.PageParser. compile IntoType()
at System.Web.UI.TemplateParser.GetParserCacheItemThr oughCompilation()
--- End of inner exception stack trace ---
at System.Web.UI.TemplateParser.GetParserCacheItemInt ernal(Boolean fCreateIfNotFound)
at System.Web.UI.TemplateParser.GetParserCacheItemWit hNewConfigPath()
at System.Web.UI.TemplateParser.GetParserCacheItem()
at System.Web.UI.TemplateControlParser. compile AndGetParserCacheItem(String virtualPath, String inputFile, HttpContext context)
at System.Web.UI.TemplateControlParser.Get compile dInstance(String virtualPath, String inputFile, HttpContext context)
at System.Web.UI.PageParser.Get compile dPageInstanceInternal(String virtualPath, String inputFile, HttpContext context)
at System.Web.UI.PageHandlerFactory.GetHandler(HttpCo ntext context, String requestType, String url, String path)
at System.Web.HttpApplication.MapHttpHandler(HttpCont ext context, String requestType, String path, String pathTranslated, Boolean useAppConfig)
at System.Web.MapHandlerExecutionStep.System.Web.Http Application+IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionS tep step, Boolean& completedSynchronously)
Stack Trace : at System.Web.UI.TemplateParser.GetParserCacheItemInt ernal(Boolean fCreateIfNotFound)
at System.Web.UI.TemplateParser.GetParserCacheItemWit hNewConfigPath()
at System.Web.UI.TemplateParser.GetParserCacheItem()
at System.Web.UI.TemplateControlParser. compile AndGetParserCacheItem(String virtualPath, String inputFile, HttpContext context)
at System.Web.UI.TemplateControlParser.Get compile dInstance(String virtualPath, String inputFile, HttpContext context)
at System.Web.UI.PageParser.Get compile dPageInstanceInternal(String virtualPath, String inputFile, HttpContext context)
at System.Web.UI.PageHandlerFactory.GetHandler(HttpCo ntext context, String requestType, String url, String path)
at System.Web.HttpApplication.MapHttpHandler(HttpCont ext context, String requestType, String path, String pathTranslated, Boolean useAppConfig)
at System.Web.MapHandlerExecutionStep.System.Web.Http Application+IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionS tep step, Boolean& completedSynchronously)
Source : System.Web
Message : There is not enough space on the disk.

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

Note that these screens do not actually have filewriting in them. They inherit System.Web.UI.Page. I'm running a little dry here, any help is greatly appreciated.
Jan 31 '13 #1

✓ answered by Rabbit

Just because none of your code does any writing to the drive doesn't mean that no writing takes place. It could be caching data by writing to the drive, or compiling and writing to the disk, or any number of other activites that can use the drive for temporary storage.

4 2838
Rabbit
12,516 Expert Mod 8TB
Just because none of your code does any writing to the drive doesn't mean that no writing takes place. It could be caching data by writing to the drive, or compiling and writing to the disk, or any number of other activites that can use the drive for temporary storage.
Jan 31 '13 #2
It's a pretty old code, one of our legacy applications here. I'm aware that appending string variables over and over again may cause memory leak (that's why i prefer string builders), but does it cache it on the disk itself or just the temporary memory?

Also, can you further explain the "compiling" part, this happens in run time of the live application.

Thanks.
Jan 31 '13 #3
Rabbit
12,516 Expert Mod 8TB
Caching usually involves disk space. There's also OS overhead that may affect it. For example, running this code could be so memory intensive that the OS needs to allocate more space for the paging file but can't because there's not enough.

At some point, your code has to be converted into a form that can be read by the processor. This most likely uses some disk space.
Jan 31 '13 #4
Yeah, you're right, i didn't know untill now that the application I'm maintaining is writing logs every now and then. That triggers the error for me. Thanks so much for the help.
Feb 1 '13 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Jas Shultz | last post by:
I'm using Win2K3 Enterprise edition with the latest .NET framework installed. I have this problem with getting "out of disk space" errors. It doesn't happen all the time but it does happen. When...
7
by: Paul | last post by:
I thought this is more of an IE issue but i've had no joy on that group perhaps somebody here will have a clue. If i click a link to a web page embedded in Excel (97 OR 2000) i get the standard...
3
by: war_wheelan | last post by:
I am having a problem backing up my database and TLog files due to a lack of local diskspace. The db file is about 30GB and the TLog is about 20GB each on a different hard disk. Each disk doesn't...
11
by: suzy | last post by:
i am trying to write aspx login system and the login process requires a validity check of username and password. i have been told that raising exception is costly, but i want a custom error...
12
by: New World Order Pigs | last post by:
Is there no way in .net to get disk space remaining for a given drive??? I can't believe it and yet is seems to be so. If someone knows of a way to do this in the .net libraries I'd be very much...
0
by: Jas Shultz | last post by:
I'm using Win2K3 Enterprise edition with the latest .NET framework installed. I have this problem with getting "out of disk space" errors. It doesn't happen all the time but it does happen. When...
3
by: A P | last post by:
Hi, I am loosing disk space and wanting to install .Net Framework on my W2KSP4 Server. I only have 400MB available, is this enough for me to install .Net Framework? Me
3
by: UJ | last post by:
I've now got the way to figure out how much disk space is on a disk. Is there any way to get the disk space usage for a specific directory and below? I could write a routine easily but if there...
2
by: asmpic | last post by:
Hi, I stumbled upon a script on the internet that monitors disk space and if it reaches a certain percentage being full it send an email. However, the problem I encountered was that one of the file...
0
by: DannielHS | last post by:
- Windows created the low disk space warning to alert computer users when their hard drive is running low on available disk space. Then you will see on a fairly regular basis as your hard drive fills...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.