Link Greenleaf a través de googlegroups.com
14:14 (hace 8 horas)
Im trying connecting to a Firebird Database 1.5. with FirebirdSql.Data.FirebirdClient.dll in c# VS2015
When i try to connect with "DataSource=localhost;" i get the error " Unable to complete network request to host '' ". The host is empty in the message. The same happens with 127.0.0.1 and SERVERNAME.
I also tried with a wrong Datasource, e.g. localhost123, and i get the same error but with de host name " Unable to complete network request to host 'localhost123' ".
It sooo strange for me beacause sometimes my test app get connection successfully but when i try again i get the error of the beginning the most part of time.
This is my connection string:
User=[MyUser];Password=[MyPassword];Database=SampleDatabase.fdb;DataSource=localhost;Port=3050;Dialect=3;Charset=NONE;Role=;Connection lifetime=15;Pooling=true;MinPoolSize=0;MaxPoolSize=50;Packet Size=8192;ServerType=0;
I tested in windows 7 in 3 differents pcs with the same code and only one is the problem.