When an SQL Server database is attached to Vista, error 5123 is returned.

Source: Internet
Author: User
A friend changed his notebook and appended the database of SQL Server 2005 that was originally backed up to report "trying to open or create a physical file"... ", create file encountered an operating system error 5 (Access denied .). (Microsoft SQL Server, error: 5123) "error. The same error is reported when the Administrator logs on.

It is normal to append data to the XP operating system or the SQL Server on 64-bit Vista, so it is basically determined that the File Permission is a problem. Find the MDF file and LOG of the database backed up on the hard disk, open the security option, and find that the currently logged-on user has no permission to modify the file, and the file modification is assigned to the current user, attach the database file again. It can be seen that the user permission control in Vista is strict, but once again, it is really annoying to click the button for N security prompts for each operation.

Related Article

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.