Error Using Command Line to generate an EXecutable

Forum for users of SQL Packager database archive utility

Error Using Command Line to generate an EXecutable

Postby jvarghese » Wed Jan 18, 2012 6:01 pm

We recently upgraded the SQL Packager to and the command which was used to generate the executable "C:\\program files\\Red Gate\\SQL Packager 6\\SQLPackager.exe"/ss:"C:\\temp\\CRScript\\QA_01-12-2012.sql" /exefs /location:"C:\\Temp\\Packager" /name:QA_01122012 failed with the following error
Error: Invalid command-line argument: /exefs. Please
SQLPackager.exe /verbose /? for more information.

So we changed the command to
"C:\\program files\\Red Gate\\SQL Packager 6\\SQLPackager.exe"/ss:"C:\\temp\\CRScript\\QA_01-12-2012.sql" /exe /location:"C:\\Temp\\Packager" /name:QA_01122012
and we are getting this error.

Copyright c Red Gate Software Ltd 1999-2008

Creating package...
Unexpected error: Exception of type 'System.OutOfMemoryExcept
Exception of type 'System.OutOfMemoryException' was thrown.
at System.String.GetStringForStringBuilder(String value, I
t32 length, Int32 capacity)
at System.Text.StringBuilder.GetNewString(String currentSt
at System.Text.StringBuilder.Append(String value)
at g.<get_NextBlock>d__0.MoveNext()
at RedGate.SQLPackager.Engine.PackagerEngine.a(ProgressPer
at RedGate.SQLPackager.Engine.PackagerEngine.Package()
at RedGate.SQLPackager.CommandLine.Runner.e()
at RedGate.SQLPackager.CommandLine.Runner.Run()
at RedGate.SQLPackager.CommandLine.Startup.a(String[] )

We are getting the same error when when we tired with this command makeexe as well .Tried in two different boxes and getting the same error.
Posts: 1
Joined: Wed Jan 18, 2012 5:47 pm

Return to SQL Packager Previous Versions

Who is online

Users browsing this forum: No registered users and 0 guests