C:/program files/Microsoft SQL Server/mssql.1/MSSQL/data cannot access the specified path or file on the server. Make sure that you have the required security permissions and the path or

Source: Internet
Author: User

C:/program files/Microsoft SQL Server/mssql.1/MSSQL/data cannot access the specified path or file on the server. Make sure that you have the required security permissions and the path or file exists. Solution:

Today, I want to log on to my default instance in SQL 2005 as an SQL Server. However, in this mode, the database cannot be restored. When I select the source device -- add, the following error occurs: C:/program files/Microsoft SQL Server/mssql.1/MSSQL/data cannot access the specified path or file on the server. Make sure that you have the required security permissions and the path or file exists.

I checked it online:

① Open the SQL Server Configuration Manager
② Click "SQL server2005 service" on the left, select sqlserver (instance), right-click Properties
③ The logon tab contains a built-in account, which is changed to a local system)
④ Restart the service

 

Problem persists

In Windows, you can restore the database. After restoring the database, you cannot access the restored database under SQL Server Authentication. You can use the database as the default database in this mode and cannot even log on to the database. Check online. It may be because the login name does not have the dbcreator permission and cannot be added to the dbcreator for Windows verification. After a while, add a security object in the login attribute of the login name, select the instance, check all options corresponding to the corresponding permissions, and click OK to solve the problem.

O yeah !! I am so amazing !!! Haha !!!

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.