From:
<car...@te...> - 2003-01-09 12:45:42
|
Hello: > Hello, > > I downloaded beta1 version of .Net provider and have problem > connecting to database. Every time a specify connection string like > "Database=C;\acc2.gdb;User=SYSDBA;Password=masterkey" if this is the connection string it´s bad should be: "Database=C:\acc2.gdb;User=SYSDBA;Password=masterkey" > > i am getting exception. > > I looked in source code for ParseConnectionString method and i think > there is a bug there which prevent me from connecting > > This should be "db", not "database" > --------------------------------- > | > | > \|/ > if(database == null || user == null || password == null || dataSource == null) > { > returnVal = false; > } > else > { > this.dataSource = dataSource; > this.port = port; > this.database = db; > this.user = user; > this.password = password; > this.charset = charset; > this.dialect = dialect; > this.role = role; > this.pooling = pooling; > this.lifetime = lifetime; > } > > > > > OK fixed, but are you sure that is problem is here, i think this is not the problem because database is initialized to String.Empty. -- Un saludo Carlos Guzmán Álvarez Vigo-España "No tengo dones especiales.Sólo soy apasionadamente curioso" Albert Einstein, científico. |