ftabangcura / sql-dbdiff

Automatically exported from code.google.com/p/sql-dbdiff
0 stars 0 forks source link

CommandText property has not been initialized #58

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
ExecuteReader: CommandText property has not been initialized
   at System.Data.SqlClient.SqlCommand.ValidateCommand(String method, Boolean async)
   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
   at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
   at System.Data.SqlClient.SqlCommand.ExecuteReader()
   at DBDiff.Schema.SQLServer.Generates.Model.DatabaseInfo..ctor(String connectionString, Database database)
   at DBDiff.Schema.SQLServer.Generates.Generates.Generate.Process()
   at DBDiff.Front.ProgressForm.ProgressForm_Activated(Object sender, EventArgs e)
   at System.Windows.Forms.Form.OnActivated(EventArgs e)
   at System.Windows.Forms.Form.WmActivate(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

when you are doing compare or even when you are providing information for 
reference and target database.  When you provide the server name and drop the 
database combobox down, this pops up.  

to work around the above scenario, you type in the database name and test 
connection is successful but then you you also get it again when you click on 
compare button.

Original issue reported on code.google.com by gaurs...@gmail.com on 21 Jul 2014 at 6:58