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]
Andy
--
Embedded team blog: http://blogs.msdn.com/embedded/
This posting is provided "AS IS" with no warranties, and confers no rights.
"Larry Waibel" <lwa...@no-spam-cox.net> wrote in message
news:VA.000002e...@no-spam-cox.net...
In article <emuEQzk2...@TK2MSFTNGP09.phx.gbl>, Andy Allred [MS] wrote:
> From: "Andy Allred [MS]" <and...@online.microsoft.com>
> Subject: Re: CMI Explorer
> Date: Wed, 26 Oct 2005 09:46:27 -0700
> Newsgroups: microsoft.public.windowsxp.embedded
In article <#SeUs4n3...@TK2MSFTNGP12.phx.gbl>, Lynda Allen (MS) wrote:
> From: "Lynda Allen \(MS\)" <lya...@online.microsoft.com>
> Subject: Re: CMI Explorer
> Date: Mon, 31 Oct 2005 16:49:52 -0800
> Newsgroups: microsoft.public.windowsxp.embedded
In article <#SeUs4n3...@TK2MSFTNGP12.phx.gbl>, Lynda Allen (MS) wrote:
> From: "Lynda Allen \(MS\)" <lya...@online.microsoft.com>
> Subject: Re: CMI Explorer
> Date: Mon, 31 Oct 2005 16:49:52 -0800
> Newsgroups: microsoft.public.windowsxp.embedded
>
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
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.
In article <uv$tb$94FHA...@TK2MSFTNGP15.phx.gbl>, Andy Allred [MS] wrote:
> From: "Andy Allred [MS]" <and...@online.microsoft.com>
> Subject: Re: CMI Explorer
> Date: Mon, 7 Nov 2005 13:11:43 -0800
> Newsgroups: microsoft.public.windowsxp.embedded
' Event called by CMI to allow host (us) to process repository files
Function cmi_OnImportRepository(sSrcRoot, sDstRoot, sSrcPath, sVSGUID,
sDisplayName)
Dim sDstTemp
sDstTemp = g_oFSO.GetAbsolutePathName(sDstRoot) ' Get dest root
sDstTemp = g_oFSO.BuildPath(sDstTemp, sVSGUID) ' Use VSGUID for destination
WLF "Repository : " & sDisplayName & " -> " & sDstTemp
If g_bNoCopyImportSwitch Then ' If no copy..
cmi_OnImportRepository = sDstTemp ' Set but no copy
WLF "(copy suppressed)"
Else
cmi_OnImportRepository = cmiDefaultFileCopy ' Set but no copy
' Added the following if statement to allow 'reimporting'
If g_oFSO.FolderExists(sDstTemp) Then
g_oFSO.DeleteFolder sDstTemp, true ' Remove the repository so it
can be imported again
End If
End If
End Function
In article <#SeUs4n3...@TK2MSFTNGP12.phx.gbl>, Lynda Allen (MS) wrote:
> From: "Lynda Allen \(MS\)" <lya...@online.microsoft.com>
> Subject: Re: CMI Explorer
> Date: Mon, 31 Oct 2005 16:49:52 -0800
> Newsgroups: microsoft.public.windowsxp.embedded
>