I have quite a few databases that use script to access data on a SQL server within the same network. After developing and releasing these databases, I found that they only worked on my machine. I confirmed that each user had Version 4.6.7 of Lotus Notes, the latest MDAC software from Microsoft and access to the database and the correct area on the SQL server. Still no joy. I then logged into my machine and found that every user could use my machine and use the database.
I eventually realized that there had been a previous versions of Lotus Notes installed on all machines and they had been upgraded without un-installing the previous version. This was the cause of the fault with ODBC.
I am using the LSX connectors within script and found that the older versions of Notes have two registry entries that do not work with 4.6.7.
If you experience a problem like this, ensure that the following registry entries are set as below:
It appears that the newer versions of Notes do not support the c:progra~1 and require the full path c:program files. After changing this on each user machine, they could all use the databases.
HKEY_LOCAL_MACHINESOFTWARELotusComponentsLotusScriptExtensions2.0 LSXODBC -c:Program Filesnotesnlsxodbc.dll NOTES -c:Program Filesnotesnlsxbe.dll