SQL 2012 - Compatible??
smcleod
Posts: 5
I am trying to package a database running in SQL Server 2012, and I get the error "ExecuteReader: CommandText property has not been initialized"... what could the problem be, or is SQL Packager not compatible with SQL Server 2012?? Thanks in advance!
Comments
Here is what I see from trying to use the packager with 2012.
ftp://support.red-gate.com/patches/sql_ ... .0.347.zip
I just upgraded to SQL 2012 and was getting the same message. "ExecuteReader: CommandText property has not been initialized"
Thanks Brian, that small patch immediately fixed it.
-Colby
I tried this package, and after it installed it basically removed the trial period from all of the SQL developer Toolbelt products. Any work around to that?
I have not yet compared product documentation to see if there is some switch that changed or got deprecated.
Here is the command line input/output: (carefully redacted)
Here is the content of the sql5.txt file:
For clarity, the "BuildServer" is SQL Server 2008.
I can't find anything in the event log from Packager.
Is there anything that the patch changed about the CLI?
Is there anything I can do to find out more about what might be going wrong?
I'd greatly appreciate some help.
-Colby
The patch was designed specifically to solve the problem at the top of this thread. Given all of these problems, I would uninstall the patch. I have notified the product manager that there is this problem and that some effort needs to be put into proper support for SQL Server 2012.
I totally understand. Thanks for relaying the concerns.
-Colby
It aborts when in the Register Database step, Reading Assemblies.
It says "ExecuteReader: CommandText property has not been initialized."
And it refuses to do anything else.
Note: I seem to be having similar issues when using SQL Compare too.
I have purchased licenses for both of these for myself, but they seem to be having problems running with SQL Server 2012.
I will try the patch, but it should be noted that your latest and greatest software products seem to be having some "issues" working properly with up-to-date versions of SQL Server.
But...
1) I had to spend time searching for this fix, after your software refused to work in an up-to-date environment.
2) The readme file for that patch is very explicit. It says, "This patch is for the error "must declare scalar variable @pv" when running a package.
DO NOT install this patch unless you have the problem described."
But this was NOT the error I saw, so just installing the patch was an exercise in faith and ignoring your explicit warning.
Again...this was a waste of my time, that should NOT have been necessary.
I'm glad there is a patch, but why hasn't this been incorporated into the main branch? It's been over a year that you have been aware of the problem.
For the record, I really like your products, and use them on a near-daily basis (and I promote your products to my professional colleagues).