Red Gate forums :: View topic - Error Packaging a script from the command line.
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SQL Packager 7
SQL Packager 7 forum

Error Packaging a script from the command line.

Search in SQL Packager 7 forum
Post new topic   Reply to topic
Jump to:  
Author Message
christiang



Joined: 03 Feb 2009
Posts: 5

PostPosted: Fri May 02, 2014 6:15 pm    Post subject: Error Packaging a script from the command line. Reply with quote

We are packaging a sql script as part of our build process. I'm using the following command:

Quote:
H:\myproject>"C:\Program Files (x86)\Red Gate\SQL Packager 7\SQLPackager.exe" /f /project MySQLPackage.sqlpkg
SQL Packager: activated, edition: professional, serial number: xxx-xxx-xxxxxx-xxxx
SQL Packager Command Line V7.0.0.1484
==================================================================================================
Copyright c Red Gate Software Ltd 1999-2013

Creating package...
Unexpected error: Value cannot be null. Parameter name: collection
Value cannot be null.
Parameter name: collection
System.ArgumentNullException
at System.Collections.Generic.HashSet`1..ctor(IEnumerable`1 collection, IEqualityComparer`1 compa
rer)
at System.Collections.Generic.HashSet`1..ctor(IEnumerable`1 collection)
at RedGate.SQLCompare.Engine.Options.ToString()
at #4rpb.#XWA.#wVD()
at #4rpb.#XWA.#OUb()
at #4rpb.#OsPb.#6sc(String[] #ead)



Here is the sqlpackager 6 output:

Quote:
H:\myproject>"C:\Program Files (x86)\Red Gate\SQL Packager 6\SQLPackager.exe" /f /project MySQLPackage.sqlpkg
SQL Packager Command Line V6.4.0.8
==================================================================================================
Copyright c Red Gate Software Ltd 1999-2008

Serial Number:xxx-xxx-xxxxxx-xxxx

Creating package...
OK



The project file was created in sql packager 6 initially, then when I got the error I created a new project file from sql packager 7. It seems to build fine from the UI.
Back to top
View user's profile Send private message
eddie davis



Joined: 14 Jun 2006
Posts: 925
Location: Red Gate Software

PostPosted: Mon May 05, 2014 3:35 pm    Post subject: Reply with quote

Thank you for your forum post and sorry that you have encountered a problem.

It looks a bug to me. Therefore I have added the details of your post to Bug Report SPA-639.

I will request that the SQL Packager Product Manager review this bug report.

Many Thanks
Eddie
_________________
Eddie Davis
Technical Support Engineer
Red Gate Software Ltd
E-mail: support@red-gate.com
Back to top
View user's profile Send private message Send e-mail
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