Red Gate forums :: View topic - commandline tool
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SQL Data Generator 1
SQL Data Generator 1 forum

commandline tool

Search in SQL Data Generator 1 forum
Post new topic   Reply to topic
Jump to:  
Author Message
Aline



Joined: 17 Apr 2008
Posts: 12

PostPosted: Thu Apr 17, 2008 2:34 pm    Post subject: commandline tool Reply with quote

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
Back to top
View user's profile Send private message
benhall



Joined: 14 Dec 2007
Posts: 98

PostPosted: Thu Apr 17, 2008 3:13 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
Lionel



Joined: 16 Dec 2005
Posts: 170

PostPosted: Thu Apr 17, 2008 6:16 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
Aline



Joined: 17 Apr 2008
Posts: 12

PostPosted: Mon Apr 21, 2008 7:49 am    Post subject: Reply with quote

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

Thanks. Very Happy
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group