Somebody please help.

I'm about to hit the roof, I have an VB project that is accessed from an asp page on iis4 on nt4 sp6.

In dll form an odbc error occurs, I have tried using DAO, ADO and about to try RDO. All of these form in VB running on the iis box, but the moment that the dll is complied and used i get 'ODBC--call failed.; 3146' on the attampt to the database connection.

Does anybody have any ideas ?

Thanks.