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



The information in this article applies to:

  • Collaboration Data Objects (CDO) 1.21

This article was previously published under Q190548

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_AccessDenied (80070005)]](80070005).

RESOLUTION

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

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

The Microsoft Visual Studio event service extensions cannot be used on a computer with CDO (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 (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.
  4. Click Add-In Manager, select the Server Scripting check box, and click OK.

STATUS

This behavior is by design.

Modification Type:MinorLast Reviewed:3/4/2004
Keywords:kberrmsg kbMsg kbprb KB190548