Component Database Manager error when deleting a repository

Hello guys,
While trying to delete a repository from the Component Database Manager, I received an error dialog box saying, "There is a problem accessing the file(path/access error). You may not have access to the file".
When I clicked on OK on the dialog box, the repository no longer existed as shown in the "Available repositories" listing. However, the repository folder is on the C:Windows Embedded DataRepositories{………..} with all the driver files in it. I have to delete this folder manually before re-importing the SLD file that I created in Component Designer. The problem is that every time I make a change in my component, I have to first follow the above steps before I can re-import my component in the Component Database Manager successfully.
So what is this problem? Can anyone help me? Thanks.
