Tip

SQL access from Notes - check registry!

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

This was first published in August 2001

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.