Cannot delete repository files in the target folder makesure you have write access to the files Error

Source: Internet
Author: User

When TargetDesigner generates an XPE (SP2) image, a "CMI. utilities.1: Access Denied "error. The prompt indicates that the component database permission is incorrect. Some information is not resolved and the SP2 component database is updated according to the online proposal, but the problem still persists, because I am in a hurry. Fortunately, I re-installed the xpe development tool, but the new problem has emerged: when updating the component database to SP2, the system prompts "Cannot delete repository files in the target folder makesure you have write access to the files" error, now it seems that the problem cannot be solved simply by repeating the rule. We should start with the problem.
This problem didn't occur at the beginning. It seems that it only appeared after I installed anti-virus software and scanned the hard disk once, because the shared folder protection of the component database is very fragile, so I suspect that some permissions of shared folders have been changed, and then I searched for issues related to XPE sharing permissions. I found a similar problem on a foreign forum, the answer is that simple-changing the permissions of shared folders can be done, but I wasted half a day.

A simple solution is as follows:

1) modify the file sharing type.

Tool --> Folder Options --> View --> uncheck "use simple file sharing" in "Advanced Settings ".

2) Improve the access permission to Repositories.

Right-click "Windows Embedded Data \ Repositories" and choose "Repositories" properties ">" share ">" permission "> select" Full Control "for the" Everyone "group, and click" OK.


Original
Problem: You get an error when you import an updated SLD file with Component Database
Manager-Error: Cannot delete repository files in the target folder. Please make sure you
Have write access to the files.
Solution: Component Database Manager will delete any previous repository in order to copy
The updated files. The "Repositories" subdirectory under \ Windows Embedded Data is shared,
The share is setup with read-only access. In short, the read-only permission is the cause of
Failure. Full Control access must be granted either to the "Everyone" group or to your
Administrator account.
Below are the steps to change the sharing and security permissions. You must be logged on
An administrator to make these changes.
1. Open the Folder Options, which can be found in Control Panel or from the Tools menu
In Explorer. The Folder Options dialog opens.
2. Under the View tab, scroll down and uncheck Use simple File Sharing
(Recommended). This will provide full access to Sharing and Security options.
3. In Explorer, right-click on the Repositories folder under Windows Embedded Data, and
Select Sharing and Security...
4. Click on the Permissions button.
5. Change the Permissions for the "Everyone" group to Full Control. Alternatively, you
Cocould just add you own account with Full Control.
6. Try re-importing the SLD.

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.