Error "Object already exists" when you try to create CDONTS objects (294274)



The information in this article applies to:

  • Collaboration Data Objects (CDO) for NTS 1.2

This article was previously published under Q294274

SYMPTOMS

When you attempt to execute the CreateObject function on a Collaboration Data Objects for NTS (CDONTS) object, or you try to use the Send method of the object, you may receive the following error message:
Object already exists.

CAUSE

The permissions to the keys located in the \Documents and Settings\All Users\Application Data\Microsoft\Crypto\RSA\Machinekeys folder have been changed.

RESOLUTION

Change the permissions to the Machinekeys folder and to the keys to allow the Administrators group and System account to have full control. To do this, follow these steps:
  1. In Windows Explorer, right-click the \Documents and settings\All Users\Application Data\Microsoft\Crypto\RSA\Machinekeys folder.

    NOTE: These are hidden files. To view these folder and files, select the Show hidden files and folders radio button.
  2. Click the Security tab, and then click Add.
  3. On the Look In dialog box, select the local computer.
  4. Add the Administrators group with Full Control.
  5. Click Advanced, and then click Add.
  6. Select the Everyone group, and then click OK.
  7. Make sure that the following check boxes are selected:

    List Folder/Read Data
    Read Attributes
    Read Extended Attributes
    Create Files/Write Data
    Create Folders/Append Data
    Write Attributes
    Write Extended Attributes
    Read Permissions

    NOTE: These are the default settings.
  8. Click OK.
  9. Select the Reset Permissions on all Child objects and enable propagation of inheritable permissions check box.

STATUS

This behavior is by design.

Modification Type:MajorLast Reviewed:5/19/2005
Keywords:kbMsg kbprb KB294274 kbAudDeveloper