Menu

#78 connection string error

open
nobody
None
5
2004-01-29
2004-01-29
Anonymous
No

I get a index out of range on connectionStrings. I'm
using Delphi 8.0. When I try to set the connectionstring
property I get this error.

Discussion

  • Reggie Burnett

    Reggie Burnett - 2004-01-29

    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

     
  • Nobody/Anonymous

    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)

     

Log in to post a comment.