Access Denied Error

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: strout (anonymous_at_discussions.microsoft.com)
Date: 03/28/04


Date: Sun, 28 Mar 2004 11:46:08 -0800

I am trying to create meeting request on client's outlook calendar. I am using CDO 1.21, come with Outlook 2003.

I got Run-time error '-2147024891(80070005)'
Collaboration Data Objects -[E-ACCESSDENIED(80070005)]

fot the following code
Set objCalFold = objSess.GetDefaultFolder(MAPI.CdoDefaultFolderCalendar)

When I put the code on Exchange server, 2003, the code is running fine.

Any idea?
Jiang