Accesstothedatabasefileisnotallowed. [Filename = **

Source: Internet
Author: User
Today, when I was connecting to the database, I encountered a strange problem. I still don't know the principle of this problem, but I have a preliminary solution. When you open a program, you may want to open the data. When the data cannot be opened, the data source connection is opened. I was wondering.

Today, when I was connecting to the database, I encountered a strange problem. I still don't know the principle of this problem, but I have a preliminary solution. When you open a program, you may want to open the data. When the data cannot be opened, the data source connection is opened. I was wondering.

Today, when I was connecting to the database, I encountered a strange problem. I still don't know the principle of this problem, but I have a preliminary solution.

When you open the program, you are used to opening the data. In this case, the data cannot be opened, but the following statement is true:The data source connection has been opened.

I was wondering. If I thought about it, I ran it directly and reported an error.

No access permission? I am on my machine.

OK. If you do not have the access permission, follow the instructions in this document and you have the access permission. So find the folder for storing my database, click properties, and then find Security as follows:

: Open properties and click "Edit" to display the image.

: Click "Add.


: In this step, click "Advanced", which is the noon Advanced option.

: Click "Find Now" to list all users in the "Search result" list.Select "everyone"Click OK ". This step is the top priority.

: Then we can see the users we added in Group or user names.Then, in the "Permissions for Everyone" section, set the permission and select "Full Control ",This step is also crucial.

With the above settings, we can access our data. In other cases, is this still not feasible? What should we do? It may be that your database file is set to read-only. You only need to right-click your database file and

Read-only can be removed.

I hope it will help you a bit. Thank you, good night.

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.