Re: CMI Explorer

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Sorry Larry, i think i asked this before about the permissions, but can you
please try this again *after* you do the one time workaround of going to the
repository root (the shareed folder) and change the permissions so that your
account (or whoever) can have full access?

Then go to the advanced properties and ensure that all files and folders
that are children of that root inherit those permissions.

Then try your test again. The problem your reporting appears to be the same
question from people that try to re-import the same repository object and
files via Database Manager.

Most folks like you that want to re-import newer versions of the component
*and* rep simply set the share permissions to read/write for "everyone" and
NTFS rights for the appropriate accounts.You can find this same issue
discussed by searching the newsgroup archives for something like "repository
permissions".

Thanks

--
Embedded team blog: http://blogs.msdn.com/embedded/

This posting is provided "AS IS" with no warranties, and confers no rights.



"Larry Waibel" <lwaibel@xxxxxxxxxxxxxxx> wrote in message
news:VA.000002e6.00f0a972@xxxxxxxxxxxxxxxxxx
> Is this all I can expect as a solution from Microsoft? I was hoping the
> CMIExplorer would be fixed to work like the GUI in this respect. I need
> an
> answer of what the future Microsoft action might be so I can decide if I'm
> going to have to revert to a manual method which I'd really hate to have
> to do.
> Thanks!
>
> In article <#SeUs4n3FHA.2616@xxxxxxxxxxxxxxxxxxxx>, Lynda Allen (MS)
> wrote:
>> From: "Lynda Allen \(MS\)" <lyallen@xxxxxxxxxxxxxxxxxxxx>
>> Subject: Re: CMI Explorer
>> Date: Mon, 31 Oct 2005 16:49:52 -0800
>> Newsgroups: microsoft.public.windowsxp.embedded
>>
>> The sld will contain the Repository VSGUID under the Repository element-
>> maybe your script can query the sld file for the this property
>> (RepositoryVSGUID= " <GUID>" and then query if any folder with that guid
>> as
>> a name exisit on the system and delete it before calling the Import
>> function.
>>
>> "Larry Waibel" <lwaibel@xxxxxxxxxxxxxxx> wrote in message
>> news:VA.000002e4.007757d2@xxxxxxxxxxxxxxxxxx
>> > The problem is that I'm trying to run this in an automated way. The
>> > script
>> > doesn't allow me to query the Repository path, etc. so I don't have any
>> > automated way of deleting the files. The script needs to have some way
>> > to
>> > tell
>> > it to go ahead and overwrite any files or at least a way to delete the
>> > repository based on what's in the .sld file. If I manually use
>> > Component
>> > Database Manager to delete the repository first then the import works
>> > but
>> > that's prone to user error.
>> >
>> > In article <emuEQzk2FHA.3272@xxxxxxxxxxxxxxxxxxxx>, Andy Allred [MS]
>> > wrote:
>> >> From: "Andy Allred [MS]" <andyall@xxxxxxxxxxxxxxxxxxxx>
>> >> Subject: Re: CMI Explorer
>> >> Date: Wed, 26 Oct 2005 09:46:27 -0700
>> >> Newsgroups: microsoft.public.windowsxp.embedded
>> >>
>> >> If the rep already exists, check the permissions on the folder *and*
>> >> the
>> >> files in the rep. The error below will probably come from not being
>> >> able
>> >> to
>> >> overwrite existing files in that rep. Try deleting the rep and
>> >> re-importing
>> >> (assuming you have permissions on the root share folder and they're
>> >> allowed
>> >> to be propagated to all child objects under that root).
>> >>
>> >> Andy
>> >>
>> >> --
>> >> Embedded team blog: http://blogs.msdn.com/embedded/
>> >>
>> >> This posting is provided "AS IS" with no warranties, and confers no
>> >> rights.
>> >>
>> >> "Larry Waibel" <lwaibel@xxxxxxxxxxxxxxx> wrote in message
>> >> news:VA.000002e3.19007166@xxxxxxxxxxxxxxxxxx
>> >> > I'm trying to use the CMI Explorer to automate the importing of
>> >> > components
>> >> > into our SCM-controlled XPe database. I have some .sld files that
>> >> > have
>> >> > components and repositories in them. We just discovered that the
>> >> > repository
>> >> > files weren't being copied. So in a batch file I tried the
>> >> > following:
>> >> >
>> >> > dbi porttalk.sld \\%COMPUTERNAME%\Repositories
>> >> >
>> >> > but I get the error below. Any suggestions on how to automate
>> >> > repository
>> >> > importing? Thanks!
>> >> >
>> >> > Microsoft (R) Windows Script Host Version 5.6
>> >> > Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.
>> >> >
>> >> > CMI Explorer version 3.14.620 (CMI revision 578)
>> >> > Copyright (C) 1999-2001 Microsoft Corp. All Rights Reserved.
>> >> >
>> >> > Platform GUID : {B784E719-C196-4DDB-B358-D9254426C38D}
>> >> > Platform : (not in database)
>> >> > Server : WAIBELXPD
>> >> > Database : MantisSQLDB
>> >> > Generation : {6437BF39-3730-4FCC-BFF2-6FD2AA0B6F76}
>> >> > Open mode : ReadImport (1)
>> >> > Repository : Port Talk repository ->
>> >> > \\waibelxpd\repositories\{E6A87783-0984-4C5E-9C69-FA00A14F6ABF}
>> >> > Error -2147212453 (0x8004235B) in "CMI.CMI.1": CMI.ImportCarrier
>> >> > cannot
>> >> > copy
>> >> > files to the repository directory
>> >> > \\waibelxpd\repositories\{E6A87783-0984-4C5E-9C69-FA00A14F6ABF}
>> >> > because
>> >> > it
>> >> > is
>> >> > not empty.
>> >> > Error in command: "dbi %SLDFILE% \\%COMPUTERNAME%\Repositories" [dbi
>> >> > \sdcots\winxpe\src\porttalk.sld \\WAIBELXPD\Repositories]
>> >> >
>> >> >
>> >>
>> >
>> >
>>
>
>


.



Relevant Pages

  • Re: Recommendations for config file revision control
    ... So then I created a new subversion repository, ... The script simply issues 'svn ci ... then is added to the repository via 'svn add'. ... > lose all permissions on things like master.passwd. ...
    (freebsd-questions)
  • Re: CMI Explorer
    ... CMIExplorer commands in a batch file. ... repository (this seems to be the behavior of the Component Database Manager GUI ... > maybe your script can query the sld file for the this property ... >> repository based on what's in the .sld file. ...
    (microsoft.public.windowsxp.embedded)
  • Re: CMI Explorer
    ... Is this all I can expect as a solution from Microsoft? ... > The sld will contain the Repository VSGUID under the Repository element- ... > maybe your script can query the sld file for the this property ... >> repository based on what's in the .sld file. ...
    (microsoft.public.windowsxp.embedded)
  • Re: CMI Explorer
    ... My repository share already has ... everyone permissions for Full Control and it's inherited. ... > that are children of that root inherit those permissions. ... > files via Database Manager. ...
    (microsoft.public.windowsxp.embedded)
  • Re: Error importing updated component
    ... I fixed it by going to my repository directory, ... Security, then on the Sharing tab clicked Permissions. ... didn't think to look at the network sharing permissions. ...
    (microsoft.public.windowsxp.embedded)