PRB: CDO (1.x) Error: Run-time error '-2147221233' with GetFreeBusy()

Article translations Article translations
Article ID: 183250 - View products that this article applies to.
This article was previously published under Q183250
Expand all | Collapse all

SYMPTOMS

Using the GetFreeBusy function against a Exchange Server mailbox returns the following error:
Run-time error '-2147221233(8004010f)':
[Collaboration Data Objects - [MAPI_E_NOT_FOUND(8004010F)]]

CAUSE

The mailbox that you are accessing using Collaboration Data Objects (1.1, 1.2, 1.21) has not been logged into with a mail client yet, therefore no Free/Busy information has been created for this mailbox.

RESOLUTION

Here are three workarounds to this problem:
  1. Log into the mailbox with an Outlook client to ensure that there is some Free/Busy information written to the mailbox. When you log into mail for the first time, Outlook creates an appointment item which in turn creates Free/Busy information.
  2. Log into the mailbox with an Exchange client and start Schedule+ or just start Schedule+ by itself. This creates Free/Busy information in that mailbox, there is no need to actually create an appointment.
  3. Use CDO (1.1, 1.2, 1.21) to create a new test appointment so that Free/Busy information is created for that mailbox.

MORE INFORMATION

The GetFreeBusy method returns a string representing the availability of the messaging user for a meeting over a specified period of time. The returned string length equals the number of time slots between StartTime and EndTime. Each character in the string is the ASCII representation of the appropriate type library constant indicating the messaging user's availability during a time slot:
     ASCII
   Character     Meaning
   ---------------------

   "0"           CdoFree

   "1"           CdoTentative

   "2"           CdoBusy

   "3"           CdoOutOfOffice
				

Properties

Article ID: 183250 - Last Review: March 19, 2004 - Revision: 3.0
APPLIES TO
  • Microsoft Collaboration Data Objects 1.21
  • Microsoft Collaboration Data Objects 1.1
  • Microsoft Collaboration Data Objects 1.2
Keywords: 
kberrmsg kbmsg kbprb KB183250
Retired KB Content Disclaimer
This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com