I got almost the same error - however I get error code 127. I’m running Windows Vista
I ripped this from a draft technote - it may help in your case, even though it didn’t in mine.
The error message, “Set up routines for Lotus Notes SQL driver *.nsf ODBC driver could not be loaded due to system error code 126.” indicates that the NotesSQL driver is either looking for one of its components or the Notes or Domino program directories.
Requirements:
1.) The Notes or Domino program directory where the notes.ini is located must be in the path. Multiple notes.ini’s in the path may cause problems if an invalid one is found first.
The ODBCINT.ini found in C:\Windows must contain the following:
[Lotus NotesSQL Driver (*.nsf) (32 bit)]
Driver=C:\NotesSQL\nsql32.dll
Setup=C:\NotesSQL\nsqlc32.dll
32Bit=1
The directories may change depending on your installation. If there are multiple entries in this ini they may cause problems.
Basically I added my Notes program dir and c:\notessql to the start of the path environment variable. Initially I had added at the end of that, and apparently that’s not an option :-/
Maybe it’s because there is some dll conflict (similar dll name earlier in path).
You need to add the NotesSQL directory (usually c:\notessql) and the directory where your notes.ini files is located (usually c:\program files\lotus\notes) to your path.