Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Notes 6 asking for password
Message
From
02/07/2003 12:09:37
Cindy Winegarden
Duke University Medical Center
Durham, North Carolina, United States
 
 
To
All
General information
Forum:
Lotus Notes
Category:
Programming
Title:
Notes 6 asking for password
Miscellaneous
Thread ID:
00806160
Message ID:
00806160
Views:
47
I'm running a Notes 6 automation job via the Windows Task Scheduler. Sometimes a box pops up asking for a password, which of course is not acceptable since the job runs at night. It's random and I haven't been able to duplicate the problem when running with Trace on.

I've got my Notes set to "Login to Notes using your operating system login" and I can open the Notes client without putting in a password. I'm using the following code:
oNotes = CREATEOBJECT("Lotus.NotesSession")
oNotes.Initialize(cPassword) && My regular password.
oNotesDbDirectory = oNotes.GetDbDirectory("")
oNotesDatabase = oNotesDbDirectory.OpenMailDatabase()
...
loNotesDocument = oNotesDatabase.CreateDocument()
loNotesDocument.ReplaceItemValue("SendTo", @laRecipients)
loNotesDocument.ReplaceItemValue("Subject", cSubject)
loNotesDocument.ReplaceItemValue("Body", cBody)
loNotesDocument.Send(0)
Any ideas?
Next
Reply
Map
View

Click here to load this message in the networking platform