Solved

Lotus Notes ODBC Driver Error

Posted on 2006-10-19
14
19,419 Views
Last Modified: 2013-12-18
I downloaded the lotus notes odbc driver and installed it


When I tried to add a data source using the ODBC data source administrator using the lotus notes driver I get the following error:

The setup routines for the Lotus NotesSQL driver (*.nsf) odbc driver could not be loaded due to system error code 126.

If I click the ok button I get another error message:


could not load the setup or translator library


I checked the odbc.ini file and see the following entry:

[Lotus NotesSQL Driver (*.nsf) (32 bit)]
Driver=C:\NotesSQL\nsql32.dll
Setup=C:\NotesSQL\nsqlc32.dll
32Bit=1

the 2 dll's are in c:\notessql


any ideas what to do?





0
Comment
Question by:johnnyg123
  • 6
  • 5
  • 2
  • +1
14 Comments
 
LVL 63

Expert Comment

by:SysExpert
ID: 17766556
What version of WIndows ?
Have you rebooted since the install ?

What client version ?

Have you created any ODBC connectio via the control panel ODBC applet ?

I hope this helps !
0
 
LVL 63

Expert Comment

by:SysExpert
ID: 17766617
0
 

Author Comment

by:johnnyg123
ID: 17768735
hmmmm....looked at the other links you provided....unfortunately none seem to lead me to a resolution


my machine is running Windows xp professional

I added the directory to the path environment variable and have rebooted

lotus notes client version is 5.11  (I know....super old.    we are in process of dumping notes....thus my desire to get data from notes via odbc)

I can create other datasources from ODBC data source administrator using different odbc drivers (sql server, access, etc).  It's only when I select the lotus notes driver and click add that I have a problem


0
 
LVL 63

Expert Comment

by:SysExpert
ID: 17771108
Are you sure the NotesSql you chose still supports R5 ?

You may need an older version ...

0
 

Author Comment

by:johnnyg123
ID: 17775122
well....

I had a hard enough time finding the driver I did find.


any idea where to llok for older ones?


0
 
LVL 63

Expert Comment

by:SysExpert
ID: 17777195
It should be on the LDD site.

http://www-142.ibm.com/software/sw-lotus/products/product4.nsf/wdocs/notessqlhome

Seems to support R5 if you have version 3.02

Other API's

http://www-128.ibm.com/developerworks/lotus/downloads/toolkits.html

I hope this helps !
0
 
LVL 63

Accepted Solution

by:
SysExpert earned 250 total points
ID: 17777199
0
What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

 

Author Comment

by:johnnyg123
ID: 17777342
hmmmm....

The one I downloaded is the 3.02 j version


maybe I'll back up and try 3.02 i version
0
 
LVL 21

Expert Comment

by:shuboarder
ID: 17779171
Hi Johnny,

Just want to run through the process here...
(I'll assume you are trying to get the notes data into MS Access)

First, download the Notes SQL driver from here:
http://www-142.ibm.com/software/sw-lotus/products/product4.nsf/wdocs/notessqlhome

This driver will allow you to create an ODBC link from MS Access to the Notes database. This makes it a doddle to populate an Access database with Notes data!

After you have installed Notes SQL:

Set up a DSN by doing the following

Start >> Run >> ODBCAD32

Then in MS Access start a new blank database.
Goto file >> Get external data >> Import
Scroll down files of type to ODBC databases
Select your DSN

Click ok, and you will get the import objects dialog box with a list of available views to import as tables...
You can then easily set up the relationships between tables within MS Access.

Alternatively you might use another utility such as:

http://www.acc-technology.com/ntwiz.htm

Good luck!

Hope this helps!
- If not, can you explain your processes a little more, and what you are trying to achieve?
You say you are moving away from Lotus Notes? - To what?
0
 
LVL 18

Expert Comment

by:marilyng
ID: 17780433
question, are you trying to hit a local database or one on a server?  If server, then look in the server's event log under access permissions and the port that you're trying to hit to make sure you have permission to drill via odbc ports to the server.   Also, make sure the port is open.  Alternatively, try using the ODBC on a local replica of the database with the suggestions above.

I could be wrong, been awhile since I used the ODBC across server port.
0
 

Author Comment

by:johnnyg123
ID: 17789122
I did find an odbc driver that will allow me to connect to lotus notes database.  (had to go down to 3.02 i)

I am not familiar with lotus notes database data types.

The table I am interested in has a field that has audit history info contained in it.  (some have thousands of characters)  The odbc driver has an option to enter the number of characters a test field can contain.

 Is there a way to force access to treat the field as a memo field?

Or perhaps I could write an access app to manually parse through the lotus note table records?


 
0
 
LVL 21

Assisted Solution

by:shuboarder
shuboarder earned 250 total points
ID: 17789226
Johnnyg,

Should have also been ok with 3.02g following my pot above...

The "view" you are interested in displays "documents" that contain "fields"

AFAIK, once you have pulled the data into MS Access you should be able to do what you want with it!
i.e. change the field type in Access to display whatever your requirements are.
If you are struggling with Access, could you try taking the data into Excel?
0
 

Author Comment

by:johnnyg123
ID: 17789512
Shuboarder,

The first driver I tried was 3.02g and I was getting the dreaded

The setup routines for the Lotus NotesSQL driver (*.nsf) odbc driver could not be loaded due to system error code 126.

when I tried to click add datasource


I kept trying older and older versions till I found one that worked

I think it has something to do with the fact that we have 5.11 version of notes client.  We are in the midst of dropping notes so we haven't done upgrades in a bizillion years

0
 

Author Comment

by:johnnyg123
ID: 17791007
well....

thanks for all the replies!

through much trial and error I discovered the following:

1.    3.02g of the odbc driver will work with the 5.11 client
      (Lotus NotesSQL 3.0.2g for Wintel32 Windows NT/2000/95/98 eAssembly)
       (Sorry Shuboarder, the version I tried first was Lotus NotesSQL 3.0.2j for Windows)

2. If I click the options tab and change the default value of 254 for limit of text and rich text fields to 15360
    (I tried to change it to 64,000 but it reset to 15360 so I'm guessing that's the max)
    Access will treat it as a memo field instead of a text field.


I will divide points

 
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

This is an old article, please see an updated version of this article, located here: http://www.experts-exchange.com/articles/23619/Notes-8-5x-Windows-7-Notes-info-and-tips.html
Lack of Storage capacity is a common problem that exists in every field of life. Here we are taking the case of Lotus Notes Emails, as we all know that we are totally depend on e-communication i.e. Emails. This article is fully dedicated to resolvin…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now