ASP.Net application can no longer write to DB after having run out of disk space

Posted by remi.despres-smyth on Server Fault See other posts from Server Fault or by remi.despres-smyth
Published on 2010-04-23T00:20:29Z Indexed on 2010/04/23 0:23 UTC
Read the original article Hit count: 706

Filed under:
|
|

I'm a software developer troubleshooting a sticky problem on a client's production server, and I've got a bit of a problem.

They have a virtual server running Windows Server 2008, SQL Server 2008 R1 and IIS7. It was provisioned with two partitions: one that has the OS (~15 Gig), and the other has IIS' web sites (another ~15 Gig).

My application that's running this server has been running perfectly well, up until about an hour ago, when it started throwing System.IO.IOException: "There is not enough space on disk".

As soon as my client notified me, I cleared up some space on C:\, emptied the recycle bin, and restarted SQL Server and IIS. The web server came back up and the application was running, but it no longer saves information to the database. No error message is coming up, the application can get information out of the DB, but it can no longer save data back to it. I rebooted the server, to no effect.

I spoke with a sys admin at the hosting company, and he says SQL Server appears to have come up fine and the database is not in read-only mode. I confirmed that, as I can add records to tables from SQL Server Management Studio.

I looked at the event log immediately after trying to save an edited record in the app, and no new events appear in there that I can tell.

I'm assuming this is related to having run out of space, as it was all working fine prior to that, but I'm at a bit of a loss as to what exactly needs a kick in the pants to get going again.

Can anyone help me out? What the heck is going on here?

© Server Fault or respective owner

Related posts about iis

Related posts about ASP.NET