When a database is attached to an SQL statement, error 5120 is returned.

Source: Internet
Author: User

From http://blog.csdn.net/anyunet/

"

Prerequisites: failed to attach a database for many reasons (1. file Permission In the NTFS partition 2. database file integrity, etc.) This article adds a Database Failure means that the NTFS partition file has no permissions and cannot be attached successfully, so the solution is only for this situation. This document describes how to install SQL Server 2000 sample databases. 1. run SQL Server 2000 sample databases to installProgramAfter running, create a folder and several files on your hard disk: C: \ SQL Server 2000 sample databases, right-click the four database file icons, respectively, choose "properties"> "security"> "edit. Select authenticated users from the group or user name list, and select full control from the permission list. Click OK to close the dialog box. Now you can attach a database to SQL Server 200X. For more information about how to attach a database, see the help documentation in SQL Server 200X.

"

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.