in

System.Data.SQLite

An open source ADO.NET provider for the SQLite database engine

Problems with connection string and special characters

Last post 07-01-2008 6:25 AM by rdreier. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 06-25-2008 8:56 AM

    Problems with connection string and special characters

    Hello!

    We are using version 1.0.49.0 of System.Data.SQLite.
    We have problems building a connection string if the path to the database file contains a '='.
    After some searching we found http://msdn.microsoft.com/en-us/library/system.data.sqlclient.sqlconnection.connectionstring.aspx (search for '==' on the page).
    Using that information we tried
    Data Source="D:\temp\a==b\data.db"
    as connection string (the correct path is "D:\temp\a=b\data.db") but we still get an exception
    {"Invalid ConnectionString format for parameter \"Data Source\""} at "System.Data.SQLite.SQLiteConnection.ParseConnectionString()".

    Any help is appreciated!

    Ruediger

  • 06-26-2008 4:43 PM In reply to

    Re: Problems with connection string and special characters

    Fixed in the pending 1.0.50 release.

     

  • 07-01-2008 6:25 AM In reply to

    Re: Problems with connection string and special characters

    Hello!

    I just checked it with 1.0.51 and it works fine (with a single '=').

     Thanks!

     Ruediger

     

Page 1 of 1 (3 items)
Powered by Community Server (Commercial Edition), by Telligent Systems