SDK Calendaring Sample

SDK Calendaring Sample

Post by Beatri » Fri, 22 Aug 2003 03:55:04

I am new in Exchange programming. I am trying to run the
SDK CALENDARING sample on the following Server: Exchange
2000 SP3 under a new user acount that has full control
permissions and is in the exchange service group.

When i run the application i get the error:
ERROR OPENING MAILBOX: Did you enter a valid email
CONNECTION to Mailbox has failed, make sure you have
access rights for the mail account.

The Visual basic code that i have is:

Dim iPerson As New CDO.Person
emailAlias = "mailto: XXXX@XXXXX.COM "
iPerson.DataSource.Open emailAlias, , adModeReadWrite
Set m_iMailbox = iPerson.GetInterface("IMailbox")

When i try to set the COnfiguration Fields, the m_imailbox
is empty.

I try opening with the http://server/exchange/user/ and
also failed.
Please could somebody help me.


SDK Calendaring Sample

Post by Siegfried » Fri, 22 Aug 2003 10:29:38

Make sure you run that code locally on the Exchange 2000/2003 Server

Also, it sounds like the acocunt you use doesn't have appropriate
permisisons to open that mailbox. Putting an account into the Exchange
server group doesn't cut it. Also giving the account "full permisisons"
(whatever that means) doesn't do it unless you assign this account full
mailbox permissions on the Active Directory Users and Computers MMC and wait
(up to two hours) until the permission changes are applied by Windows.

<Cheers:Siegfried runat="server" />

Development Lead,

CDOLive LLC - The Microsoft Messaging and Collaboration Application Experts

This information is provided "AS IS" with no warranties, and confers no
You assume all risk for your use. 2003 CDOLive LLC. All rights reserved.
Sample code subject to