I am using IBM.Data.db2.dll(version 188.8.131.52) to connect to DB2 from asp.net 3.5.
I am able to connect to db2 from Console application. but from Web application I am getting belopw error mesage
*ERROR - no error information available at IBM.Data.DB2.DB2ConnPool.Open(DB2Connection connection, String& szConnectionString, DB2ConnSettings& ppSettings, Object& ppConn)
I am using below connectionstring to connect to db2.
Same connection string and same code work fine for console application, but giving error for web application.
My OS is 32bit.
Pinned topic Not able to connect to db2 from web app but able to from console app
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2012-09-18T15:06:36Z at 2012-09-18T15:06:36Z by SystemAdmin
SystemAdmin 110000D4XK2826 Posts
Re: Not able to connect to db2 from web app but able to from console app2012-09-18T15:06:36ZThis is the accepted answer. This is the accepted answer.Hi Ripal Patel,
The worker process will run under different user id. Please add those userids to DB2USERS or DB2ADMNS group.