The connection document does not exist: LEI-SAP

I had installed Lotus Connector fo SAP & LEI on domino server 7.0.1I created the Connection document in LEI Administrator as follows:

Name: testsap

Hostname: 176.0.0.35

Destination: sapapp25

System Number: 01

Client: 300

User Name: Lotususer

Password: 123456 Password(s) NOT Encrypted

Language: EN

NUMC as Text No

DATS as Text No

TIMS as Text No

Select RFC, BAPI or Transaction: RFC

RFC or BAPI: YLotus_Notes

Table(s): *

Columns: EXPORTSEX_GUID (Binary)

            IMPORTSIM_PRODUCT (Text)

The connection document is successfully created.

I wrote the following code:

Uselsx “*lsxlc”

On Error Goto errorhandler

Dim session As New NotesSession

Dim sapsession As New LCConnection(" testsap")

The last line(Dim sapsession As New LCConnection(" testsap")) is giving error in the LEI log database as follows:

The connection document does not exist.

Database= LEI Administrator

Document = testsap

Please let me know if I need to create any other document in LEI administrator to get the handle in Lotus script.

Agent would be run at server & all documents are created at server only.

Thanks

Subject: The connection document does not exist: LEI-SAP

Even I found error while I tried to conect db2 using LEI in LEI log file as follows:The connection document does not exist:

Database = LEI Administrator

Document = db2

Please help, I am working on a very tight ddeadline.

Subject: The connection document does not exist: LEI-SAP

I got the error the connection document name should be in CAPITAL Letters irrespective you had given connection name in small letters or capital letters.

Dim sapsession As New LCConnection(" TESTSAP")

Many Thanks

Kapil