Error Using Command Line to generate an EXecutable

jvarghesejvarghese Posts: 2
edited January 18, 2012 1:01PM in SQL Packager Previous Versions
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.
Sign In or Register to comment.