asenna25
asked on
initializing Lotus Notes Session
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 InitializeUsingNotesUserNa me(), i got a different error message "'An invalid username/password' was not handled".
here's that section of the code:
Dim s
set s = CreateObject("Lotus.NotesS ession")
Call s.Initialize("password")
'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.
what should i do????
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 InitializeUsingNotesUserNa
here's that section of the code:
Dim s
set s = CreateObject("Lotus.NotesS
Call s.Initialize("password")
'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.
what should i do????
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks for replying the post!!!
as i explained in my orinial post, i don't have Domino Server installed, and the Lotus Notes Client is installed as an "island". i've used InitializeUsingNotesUserNa me("UserNa me", "InternetPassword"), but i got "invalid username/password" error. where should i go to check my username and password info for the Notes Client is Correct?
also, if i used Initialize("passwordOption al"), that's when i get the "Could not open ID file" error. i have the full path in keyfilename (C:\Program Files\lotus\notes\data\use r.id)
i could initialize with anonymous access, but then it can't open database or creat document since Anonymous User doesn't have those right. I need to change my permission setting on the Anonymous user to have all access, and only then, i will have no problem at all.
regarding on the PDF link, I have that redbook, but it didn't really help me on this accessing issue.
any other suggestions?
thanks again!!
as i explained in my orinial post, i don't have Domino Server installed, and the Lotus Notes Client is installed as an "island". i've used InitializeUsingNotesUserNa
also, if i used Initialize("passwordOption
i could initialize with anonymous access, but then it can't open database or creat document since Anonymous User doesn't have those right. I need to change my permission setting on the Anonymous user to have all access, and only then, i will have no problem at all.
regarding on the PDF link, I have that redbook, but it didn't really help me on this accessing issue.
any other suggestions?
thanks again!!
http://www.kamat.co.uk/members/kamat_amit/Home.nsf/0/417B06E30D8A15E9C1256BAD001CF5A1/$File/COMinDomino.pdf
Cheers!!