version 10 - tries to create db for remote dbs
integragroup
Posts: 6 Bronze 2
Just updated to v 10. Tried to compare two remote databases that I had compared multiple times with v 9.x and now v10 is saying "New Database", the target database you specified does not exist.
I selected database to database
remote server is the same in both cases
and I selected the two databases from the drop down
Local to local of a backup/restore of these two databases do not present this issue.
Did SQL Compare become only usable on the box on which it is installed or am I missing something
I selected database to database
remote server is the same in both cases
and I selected the two databases from the drop down
Local to local of a backup/restore of these two databases do not present this issue.
Did SQL Compare become only usable on the box on which it is installed or am I missing something
Comments
v10 of SQL Compare allows you to create a new database straight from the edit project dialog. Compare checks if the database specified in the database name field exists and if not it presents you with the option to create one.
It seems in your case Compare is acting strangely. If you picked the db names from the dropdown then they exist, so you shouldn't get the "Create Database" screen when you hit compare now.
Can you give me some more detail about the error? What version of SQL Server are your remote dbs on? What are the database names? Is there anything special/different about them? Does this happen all the time for you?
Thanks,
Neil
We are in the process of migrating over to 2008 so I tested it between 2 dbs on the 2008 server and it behaved as desired.
I don't get an error, I get the "New Database" prompt indicating "The target database you specified does not exist".
The interesting thing here is the Database Name is the name of the Source database for the comparison.
Thanks for pointing out this issue. I've made a fix and uploaded it here:
http://downloads.red-gate.com/checkforu ... .0.160.exe
Please give that a go and let me know if it fixes the SQL 2000 problem.
Happy New Year!
Neil
I was getting this as well after upgrading, so I installed the new build..
Now my SQL Compare is crashing upon startup, like I was experiencing at one time, using version 9.
Looking at the email from that time, then it was a AV/Firewall issue, but I cannot see anything in the log this time around.
Debugging the application, I get this exception:
System.Net.Sockets.SocketException
An attempt was made to access a socket in a way forbidden by its access permissions
at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.Sockets.Socket.Bind(EndPoint localEP)
at #Ahw.#Fhw.#PdC(Int32 nMilliSecondsToWait)
at #Ahw.#Fhw.#PdC()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
My previous problem was logged with the number F0050810.
-- Regards, Morten
-- Cheers, Morten
-- Regards, Morten
Thanks,
Jens
The fix resolved the issue. Cheers.