Click here to Skip to main content
15,897,291 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Dear Frnds,

am working on SqlServer 2005 database. last few days back i have took backup of my SqlServer database. and i Formatted my System.

Now i want to restore this database which i have took backup.

When i am restoring this database it shows an error.

-----------------------------------------------------------------------------------------
Restore failed for Server 'Ranjith-PC'. (Microsoft.SqlServer.Smo)

Additional information :

System.Data.SqlClient.SqlError: There is insuffieient free space on disk volume 'C:\' to create the database.
The database requires 42485350400 additional free bytes, while only 8938475520 bytes are available.(Microsoft.SqlServer.Smo)
--------------------------------------------------------------------------------------

Please help me, how to solve.

Thanks in Advance.
Posted

1 solution

The error is pretty self explanatory : you need more space on your c: drive.
 
Share this answer
 
Comments
Software Engineer 892 22-Mar-13 9:11am    
already i have 10gb free space
Mehdi Gholam 22-Mar-13 9:18am    
Make more space available then try again.
Software Engineer 892 22-Mar-13 9:22am    
actually this database is of 6,226 kb only.......then what will be the problem. i have still 10gb free space in C drive.

Please help me.

Thanks...
Mehdi Gholam 22-Mar-13 9:30am    
The log files might not be truncated and compacted before backup, so SQL server needs more space to restore.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900