2
Answers

DB2 connection error in asp.net

srujana thallam

srujana thallam

10y
4.7k
1
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)