DeployWizard generates XML file with error

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
DavidCarr
Posts: 17
Joined: Sat Oct 28, 2006 2:19 pm
Location: Vancouver, BC, Canada
Contact:

DeployWizard generates XML file with error

Post by DavidCarr » Fri Jul 24, 2009 2:01 pm

I am using DeployWizard.exe V4.1.4.18402 to deploy a select set of files from a folder. This works fine. At the same time I click on 'Export Parameters to XML' so I can use the command-line Deploy.exe V4.1.4.18402 to run this as a batch process in the future. When I run Deploy.exe using the command:
>Deploy -xml MyTest.xml
I get the error:
Error parsing xml file: 'Element' is an invoalid XmlNodeType. Line 19, position 6.

Here are the contents of the XML file with line numbers, less the <AuthInfo> section for obvious reasons:

1: <?xml version="1.0" encoding="utf-8"?>
2: <WebDeployProcess>
3: <AuthInfo>
4: <!--Username and Password elements can be removed from this file and passed as separate command line args.-->
...
10: </AuthInfo>
11: <SourceFolder>$/EIS/ETAF</SourceFolder>
12: <Target>
13: <IsFTP>false</IsFTP>
14: <Location>N:\EIS\ETAF</Location>
15: </Target>
16: <DeploySet>
17: <DeployAll>false</DeployAll>
18: <Recursive>false</Recursive>
19: <Folder
20: RepPath="$/EIS/ETAF">
21: <File>$/EIS/ETAF/ETAF_PDM.xls</File>
22: <File>$/EIS/ETAF/ETAF_KMB.xls</File>
23: <File>$/EIS/ETAF/ETAF_PGB.xls</File>
24: <File>$/EIS/ETAF/ETAF_DXC.xls</File>
25: </Folder>
26: </DeploySet>
27:</WebDeployProcess>

Note that I tried editing line 19, making line 19 and 20 into 1 line (i.e. "<Folder RepPath="$/EIS/ETAF">") but it didn't help.

Any suggestions? Thx in advance.

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: DeployWizard generates XML file with error

Post by Beth » Fri Jul 24, 2009 3:55 pm

I checked it out and haven't come up with anything yet. I'm going to discuss this with a few others. This might take into early next week.
Beth Kieler
SourceGear Technical Support

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: DeployWizard generates XML file with error

Post by Beth » Mon Jul 27, 2009 1:26 pm

Could you send an email to support at sourcegear.com (attn: Beth) with a link to this forum thread? I think I have something to help your issue that I can send.
Beth Kieler
SourceGear Technical Support

Post Reply