Initializing Notes Session with VBScript
Posted on 2003-12-09
i am ASP developer and this is the first time i deal with Lotus Notes.
I am trying to initialize an Lotus Notes Session. however, i got an error "An exception of type 'NotesSession:Notes error: could not open the ID file' was not handled"
when i try to use InitializeUsingNotesUserName() with username and password, i got a different error message "'An invalid username/password' was not handled".
here's that section of the code:
set s = CreateObject("Lotus.NotesSession")
'and then process documents.....
some environment info.:
i am running win2k, with lotus notes client installed. Lotus Domino Server is not installed.
i have checked the notes.ini file, KeyFilename=user.id. i've tried changing it to the full path, but didn't help.
i noticed if i used InitializeUsingNotesUserName() without passing parameters, then i'm fine and have no problem initializing, however, come back an error saying anonymous user not allowed to open database.
what should i do????