ConnectionProperties problem

Forum for users of SQL Compare schema synchronization utility

ConnectionProperties problem

Postby kavaler » Thu Dec 06, 2012 11:26 am

I have a little problem with connection to Database.
using (Database dbSource = new Database(), dbTarget = new Database())
// create connection to DB
Console.WriteLine("Registering databases...");
dbSource.Register(new ConnectionProperties("TRON\\\\KAVALER", "db3", "sa", "1"), Options.Default);
dbTarget.Register(new ConnectionProperties("kavasql", "db4", "sa", "2"), Options.Default);
Console.WriteLine("Comparing Databases...");


dbTarget.Register(new ConnectionProperties("kavasql", "db4", "sa", "2"), Options.Default); - connection is set

dbSource.Register(new ConnectionProperties("TRON\\\\KAVALER", "db3", "sa", "1"), Options.Default); - connection is failed

Problem with serverName - "TRON\\\\KAVALER" .
Error: "ExecuteReader: CommandText property has not been initialized"
How i should type serverName correct?
Posts: 1
Joined: Thu Dec 06, 2012 11:10 am

Return to SQL Compare Previous Versions

Who is online

Users browsing this forum: No registered users and 1 guest