Home > Net >  DB2 connection problem!
DB2 connection problem!

Time:09-29

The connectionString=@ "Server=192.168.100.152:50000; The DataBase=risdb; UID=db2inst1; The PWD=db2inst1; CurrentSchema=made ";
Db2_conn=new DB2Connection (the connectionString);
Db2_conn. The Open ();

OPEN () method error:
Length cannot be less than zero, the parameter name: length

Ask for advice,,,,,,,,
The connection parameters is OK, can connect with other tools,
  •  Tags:  
  • C#
  • Related