Adding new repositories

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello,

I tried to add new Repositories using Component Database Manager. However I
encountered the following error:
Cannot save import locations to the database

Does anyone know what causes the error and how to fix it?
Also does anyone know what cmiRepRootPath in ExtendedProperties is for?

Help is greatly appreaciated!

Thanks!
Marissa
 
When you say new repositories, do you mean an SLD with components and
repositories resources?

By defualt, the XPe tools setup a relative path to the repositories. When
you perform the import is the PC connected to a network? If not this may be
the issue. You can either connecto the the newtwork or change the repository
paths to fixed locations.

Where do you see this cmiRepRootPath?

Regards,

Sean Liming
www.sjjmicro.com / www.seanliming.com
XP Embedded Book Author - XP Embedded Advanced, XP Embedded Supplemental
Toolkit
 
usually the problem is you don't have previledge, check the
repositories to see if you are member of read/write group.
jet
 
If you're on a network (probably) and you go to the Repository tab in the
Component DataBase Manager, you can click on one of the existing repositories
and see the repository roots by selecting the roots button at the bottom of
the tab.

You may see something like:

\\[computer name]\Repositories

What I did was make that a shared folded on the network - be sure to set the
permissions so its writeable. I also made the individual directories under
that directory writeable for the user/user group. Thus when you build a new
component (sld file) and create a repository, it will automatically new
appear under the Respositories dierctory. When you import the .sld into the
Component Database Manager, the files will be copied to that respository
subdir.
 
Hi Everyone,

I checked the permissions to the share and I did not see any problem. I have
read/write permissions.

I just wanted to again add the repositories location. When I check using
Component Database Manager, no Repositories location is listed. When I tried
to manually add the Repository location, I get a " Cannot save import
locations to the database" . The message is displayed when I click the Close
button in the Edit Repository Root List window. Checking the event log, the
following events are logged.

The CMI encountered the following error: 0x80070057 (-2147024809) Method
CMI.GetDBProperties failed.
For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.


The CMI encountered the following error: 0x80070057 (-2147024809) The
parameter is incorrect.
\cmicommonc-3298
For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.

Sean, the cmiRepRootPath is a row in the ExtendedProperties table.

Thanks a lot everyone!

marissa
 
Back
Top