none
Windows Service and ODBC: ERROR [IM003] RRS feed

  • Question

  • I'm developing a windows service that uses an ODBC connection. The IDE seems to open the ODBC connection fine, but when I run the service the odbcConnect.Open() throws ERROR [IM003] Specified driver could not be loaded due rto system error 126.

     

    Is there something that I have to do first before you can use ODBC in a windows service?

    Tuesday, November 13, 2007 5:55 PM

Answers

  • Found the problem. The ODBC driver is a network install so the driver path is registered using a mapped drive.

    Tuesday, November 13, 2007 8:18 PM