Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Notes 6 asking for password
Message
 
 
To
02/07/2003 12:09:37
Cindy Winegarden
Duke University Medical Center
Durham, North Carolina, United States
General information
Forum:
Lotus Notes
Category:
Programming
Miscellaneous
Thread ID:
00806160
Message ID:
00807328
Views:
20
Hi Cindy,
I am guessing you're using the /INTERACTIVE switch for AT. What happens if someone else is logged in besides you when the job fires. The user name wouldn't match the the one specified in the User ID file and you would get the login propmt.

Just a thought.

>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?
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform