Error 80090020 when you use CDONTS/CDOSYS from Active Server Pages (318478)



The information in this article applies to:

  • Microsoft Collaboration Data Objects for Windows 2000
  • Collaboration Data Objects (CDO) for NTS

This article was previously published under Q318478

SYMPTOMS

When you try to use Collaboration Data Objects for NTS (CDONTS) or Collaboration Data Objects for Windows 2000 (CDOSYS) to send e-mail from Active Server Pages (ASP) running out-of-process, the user may receive an "Internal Error" message with the error number 80090020 (-2146893792).

CAUSE

This error can be generated when the permissions set on the RSA\MachineKeys directory are not correct.

RESOLUTION

You can resolve this issue in either of the following ways:
  • Set the correct permissions on the RSA\MachineKeys directory. For a list of default permissions, click the article number below to view the article in the Microsoft Knowledge Base:

    278381 Default Permissions for the MachineKeys Folders

  • Run the Web Application in-process.

STATUS

This behavior is by design.

MORE INFORMATION

This error occurs as a result of cryptography settings that are used to encrypt sensitive data in the IIS metabase. The metabase, a hierarchical collection of information similar to the registry, is used by certain applications to obtain important configuration settings.

When a Web Application that uses CDONTS/CDOSYS is run in-process (low application protection), it can read the metabase because it runs in the context of the local system account. When a Web Application that uses CDONTS/CDOSYS is run out-of-process, it must access a MachineKey to decode the encrypted metabase data. The error can occur if the IIS user account does not have correct permissions on the folder that contains the MachineKey.

Modification Type:MajorLast Reviewed:4/28/2005
Keywords:kbprb KB318478 kbAudDeveloper