Database restore total prompt space is insufficient, disk volume ' d:\ ' There is not enough free space on the database to create the

Source: Internet
Author: User

After backing up the database file in BAK format from the database, there is always a hint of insufficient space when the local database is welcomed.

This is typically a database file backed up from a 64-bit computer and restored to a 32-bit sqlsever.

System.Data.SqlClient.SqlError: Disk volume ' D:\ ' There is not enough free space on it to create the database. The database still requires 27258781696 bytes of free space, but only 16987021312 bytes are available. (MICROSOFT.SQLSERVER.SMO)

The specific query reason is: The initial size of the database on the server set too large, the local space is really not enough, the initial 1000M, log 10000M, as follows:

Make it smaller, back up, and then restore the backed up files.

Database restore total prompt space is insufficient, disk volume ' d:\ ' There is not enough free space on the database to create the

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.