Abnormal Program Termination after update from LN 4 to 6.53

Dear all,

I searched this forum and the internet for the following problem and I haven’t find a solution yet.

The problem:

I have written a small MS Access database which is reading a Log file for the QuickPlace usage which is stored on one of our servers. I use following script:

<START SCRIPT

Function Import()

Dim nSession As New NotesSession

Dim DB As NotesDatabase

Dim dc As NotesDocumentCollection

Dim doc As NotesDocument

Dim NewEntry As Variant

Dim sSql As String

Dim lDocs As Long

Dim i As Long

Dim sRequest As String

Dim sUserName As String

Dim sDate As String

Dim dDate As Date

Dim dTime As Date

Dim sUserAddress As String

Dim sPageLibrary As String

Dim sDocument As String

Dim NoUserRequest As Integer

DoCmd.SetWarnings False

Call Starttimer

nSession.Initialize

Set DB = session.GetDatabase(Our_Server, LogFileName)

…

…

END SCRIPT>

This was always working fine till we updated to Lotus Notes 6.53. Now I get the error message :

"Microsoft Visual C++ Runtime Library

Program: c:\APPS\Office\Office10\MSACCESS.EXE

Abnoral Program Termination"

This error message comes whenever you use a command in the Notessession. So not only with “Initialize”.

I tried serveral things:

  1. Run regsvr32 C:\APPS\LotusNotes\nlsxbe.dll

  2. Re-installed Lotus Notes

  3. Checked the Registry

  4. Tried “CreateObject” method

Nothing was successful yet.

Could somebody give me the golden tip so I can use my program again?

Thank you very much in advances for all your help.

Ronald

Subject: Abnormal Program Termination after update from LN 4 to 6.53

NOBODY???

Subject: Abnormal Program Termination after update from LN 4 to 6.53

Ronald,

If there isn’t already, make sure there’s a notes.ini file in your c:\lotus\notes folder. After mine had been moved to a local data folder to accommodate access to multiple accounts from my desktop, I got the same error message when my Access VBA code tried to instantiate a NotesSession object.

The problem stopped when I moved the .ini file back.

Karl

Subject: RE: Abnormal Program Termination after update from LN 4 to 6.53

Hello Karl,

thank you so much for this goldtip!!! Sometimes it is soooo simple ;))

THANX!!!