srujana thallam

srujana thallam

  • NA
  • 76
  • 137k

DB2 connection error in asp.net

Apr 10 2014 8:53 AM
Hi all,
 
 I opened DB2 in my system with Run as administrator . when i try to open a connection in asp.net it shows error External component has thrown an exception.
 
my connection string is
DB2Connection conn = new DB2Connection("Server=mysystemname;Database=FTEDB;UID=db2admin;PWD=db2admin;
conn.Open(); 
 
Thanks

Answers (2)