SchRetrieve returns error 577

Hello,

I am new to Lotus.

I am trying to run the Lotus Notes C API Toolkit sample called ‘schedule’.

I managed to create a new appointment.

When I am querying the busy time it fails.

The SchRetrieve procedure returned error 577 but this error is not translated by the OSLoadString procedure.

Can someone help me ?

Thanks in avance,

Eric Paesmans.

Here is the trace:

$ schedule

Enter schedule command (add-a, add-i, del, busy): busy

Enter the name of the server where the user’s mail database is: XXXXXlotusnotes/missioncriticalit

Enter the name of the user’s mail database: mail\epaesman

Enter the start date and time of the schedule: 01/01/2008

Enter the end date and time of the schedule: 01/01/2009

User name in full distinguished format is : CN=Eric Paesmans/O=missioncriticalit

ScheduleTask-szServerName: XXXXXlotusnotes/missioncriticalit

The ID file being used is: C:\Program Files\IBM\Lotus\Notes\Data\user.id

Enter password (press the Esc key to abort):

ScheduleTask-SchRetrieve: 577