Error Using Command Line to generate an EXecutable

Packages and compresses schema and contents of SQL Server databases

Moderators: JonathanWatts, Chris Auckland, David Atkinson, david connell, Anu Deshpande, Michelle Taylor, james.billings, Marianne

Error Using Command Line to generate an EXecutable

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

We recently upgraded the SQL Packager to 6.4.0.8 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.
System.OutOfMemoryException
at System.String.GetStringForStringBuilder(String value, I
t32 length, Int32 capacity)
at System.Text.StringBuilder.GetNewString(String currentSt
dLength)
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.
jvarghese
 
Posts: 1
Joined: Wed Jan 18, 2012 6:47 pm

Return to SQL Packager 6

Who is online

Users browsing this forum: No registered users and 1 guest