From: Jorge S. <jh...@ne...> - 2002-10-22 04:14:44
|
Hi, Whenever I try to setup the ConnectionString I get an exception Unhandled Exception: System.ArgumentException: Value does not fall within the expected range. at FirebirdOrg.Data.FirebirdSql.FbConnection.set_ConnectionString(String value) at TestApp.Main(String[] args) in P:\Patches\Interbase\DotNetProvider\source\ TestApp\TestApp.cs:line 4 ---------- Sample code------------- 01: FbConnection conn = new FbConnection(); 02: //string database = "F:\\RID\\Data\\CIID_Desenv.gdb"; 03: string database = @"F:\RID\Data\CIID_Desenv.gdb"; 04: conn.ConnectionString = "Database=" + database + ";User=SYSDBA;Password=masterkey;Dialect=3;Server=kaneda;Charset=ISO8859_1"; 05: conn.Open(); So my problem right now is how to set the ConnectionString. if I run the TestApp supplied in the ZIP everything runs fine. Any hint? I'll try to get the source from CVS and try to understand what am i doing wrong. Jorge Sousa |