commandline tool

The simplest way to populate your database with test data.

Moderators: David Atkinson, Anu Deshpande, Lionel

commandline tool

Postby Aline » Thu Apr 17, 2008 2:34 pm

Hello
I've newly created an project and saved it.
Now, I've tried to generate data with the commandline-Tool. But I've got the following:

--------------------------------
R:\\_Temp\\zempa\\Redesign\\TestData>"C:\\Program Files\\Red Gate\\SQL Data Generator 1
\\SQLDataGenerator" /argfile:R:\\_Temp\\zempa\\Redesign\\TestData\\test.sqlgen
CommandLine V1.0.0.1022
==============================================================================
Copyright Copyright c Red Gate Software Ltd 2008

Error: Unrecognised XML document type (unrecognised root element): Project.
Please use SQLDataGenerator.exe /? or SQLDataGenerator.exe /verbose /? for more
information.
--------------------------------


What have I done wrong?

Thanks for your help.

Kind regards
Aline
Aline
 
Posts: 12
Joined: Thu Apr 17, 2008 12:55 pm

Postby benhall » Thu Apr 17, 2008 3:13 pm

Hello Aline,

Thanks for your post. The reason for this error message is because you have an incorrect argument on the command line. /argfile: should actually be /project:

For example:
R:\\_Temp\\zempa\\Redesign\\TestData>"C:\\Program Files\\Red Gate\\SQL Data Generator 1\\SQLDataGenerator" /profile:R:\\_Temp\\zempa\\Redesign\\TestData\\test.sqlgen

The argument "/argfile:" is actually used for something else.

I hope this helps.

Regards

Ben
benhall
 
Posts: 69
Joined: Fri Dec 14, 2007 11:15 am

Postby Lionel » Thu Apr 17, 2008 6:16 pm

I think ben actually meant to write

R:\\_Temp\\zempa\\Redesign\\TestData>"C:\\Program Files\\Red Gate\\SQL Data Generator 1\\SQLDataGenerator" /project:R:\\_Temp\\zempa\\Redesign\\TestData\\test.sqlgen
Software Engineer
Red Gate Software
Lionel
 
Posts: 155
Joined: Fri Dec 16, 2005 11:09 am

Postby Aline » Mon Apr 21, 2008 7:49 am

Thanks a lot.
With the right switch, it works perfectly. :oops:

Thanks. :D
Aline
 
Posts: 12
Joined: Thu Apr 17, 2008 12:55 pm


Return to SQL Data Generator 1

Who is online

Users browsing this forum: No registered users and 0 guests