I get the unhandled exception when I click the button
just before to write some connection string ...
Here is the error sequence ...
System.IndexOutOfRangeException: Index was outside the
bounds of the array.
at
ByteFX.Data.Common.DBConnectionString.ParseKeyValuePairs
(String src)
at ByteFX.Data.Common.DBConnectionString.Parse(String
newConnectString)
at ByteFX.Data.MySqlClient.MySqlConnectionString.Parse
(String newConnectString)
at
ByteFX.Data.MySqlClient.Designers.EditConnectionString.EditC
onnectionString_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean
fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow
(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc
(Message& m)
at System.Windows.Forms.ContainerControl.WndProc
(Message& m)
at System.Windows.Forms.Form.WmShowWindow
(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage
(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc
(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr
hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=523261
Can you send me the connection string you are trying to set?
I'm sure the problem is related to your connection string
content.
Thanks
Reggie
Logged In: NO
I get the unhandled exception when I click the button
just before to write some connection string ...
Here is the error sequence ...
System.IndexOutOfRangeException: Index was outside the
bounds of the array.
at
ByteFX.Data.Common.DBConnectionString.ParseKeyValuePairs
(String src)
at ByteFX.Data.Common.DBConnectionString.Parse(String
newConnectString)
at ByteFX.Data.MySqlClient.MySqlConnectionString.Parse
(String newConnectString)
at
ByteFX.Data.MySqlClient.Designers.EditConnectionString.EditC
onnectionString_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean
fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow
(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc
(Message& m)
at System.Windows.Forms.ContainerControl.WndProc
(Message& m)
at System.Windows.Forms.Form.WmShowWindow
(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage
(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc
(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr
hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)