PRB: CDO: Session.Logon Fails with E_AccessDenied (0x80070005)

ID: Q190548

The information in this article applies to:

SYMPTOMS

Customer attempts to use Visual Studio to edit an Exchange Script and receives the following error message:

   Session.Logon Failed: [Colaboration Data Objects -
   [E_AccessDened (80070005)]](80070005).

RESOLUTION

The following is from the release notes for Microsoft Exchange 5.5 Service Pack 1:

Collaboration Data Objects (CDO) 1.21 Cannot Run with Microsoft Visual Studio Extensions.

The Microsoft Visual Studio event service extensions cannot be used on a computer with CDO version 1.21. These extensions are contained in the Exchange.dsm file, which is installed by the Outlook 98 and Outlook 97 Setup programs.

To create and modify event service scripts on a computer with CDO version 1.21 installed, use the event service extensions to Outlook 98. These extensions are contained in the Scrptxtn.dll file, which is installed by the Outlook 98 and Outlook 97 Setup programs. For Outlook 98, you must enable the event service extensions.

Use the following steps to enable the event service extensions in Outlook 98:

1. From the Tools menu, click Options.

2. Click the Other tab.

3. On the Other property page, click Advanced Options.

3. Click Add-In Manager, select the Server Scripting check box, and

   click OK.

STATUS

This behavior is by design.

Additional query words: BrowseExchangeAgents macro InitGlobals

Keywords          : kberrmsg kbnokeyword kbCDO121 
Version           : WINDOWS:1.21
Platform          : WINDOWS
Issue type        : kbprb

Last Reviewed: April 8, 1999