We are working on an ASP web application that connects to a DB2 database. I have configured and tested the connection using ODBC and it works fine. However trying to access the database from the code it gives the following error "Specified driver could not be loaded due to system error 5 (IBM DB2 ODBC DRIVER)."

We included the ASPNET local account to the DB2USERS as well as DB2ADMINS groups. But it throws the same exception. Tell me what to do.

Thank you,