Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

You cannot save a contact in Outlook if the certificate data for the contact is larger than 32 kilobytes


View products that this article applies to.

Symptoms

Consider the following scenario. In Microsoft Office Outlook 2007 or Microsoft Outlook 2010, the certificate data for a contact is larger than 32 kilobytes. When you try to save the contact in this scenario, you experience one of the following problems:
  • If you are running Outlook in Online mode, you receive the following error message:
    There is not enough memory available to perform the operation.
  • If you are running Outlook in Cached mode, the contact is saved successfully to an .ost file. However, when the .ost file syncs to the server, an error that resembles the following is logged in the synchronization log:
    Error synchronizing message Contact_Name. There is not enough memory available to perform the operation. Moved a message that failed synchronization to 'Local Failures'. Message subject -> Contact_Name. You can view this message in your offline folder file only. Error synchronizing folder. The client operation failed.

↑ Back to the top


Resolution

Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756 How to back up and restore the registry in Windows

Outlook 2007

This issue is fixed in the Outlook 2007 hotfix package that is dated August 25, 2009. For more information, click the following article number to view the article in the Microsoft Knowledge Base: 

973404  Description of the Outlook 2007 hotfix package (Outlook-x-none.msp): August 25, 2009

To resolove this issue in Outlook 2007, follow these steps:
  1. Apply the hotfix package that is described in the following Microsoft Knowledge Base article:

    973404 Description of the Outlook 2007 hotfix package (Outlook-x-none.msp): August 25, 2009

  2. Configure the MaxCertsSize registry entry. To do this, follow these steps:
    1. Start Registry Editor.
      • In Windows Vista, click Startthe Start button , type regedit in the Start Search box, and then press ENTER.

        User Account Control If you are prompted for an administrator password or for confirmation, type the password, or provide confirmation.
      • In Windows XP, click Start, click Run, type regedit in the Open box, and then click OK.
    2. Locate and then click the following registry subkey:
      HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Outlook\Security
    3. On the Edit menu, point to New, and then click DWORD Value.
    4. Type MaxCertsSize, and then press ENTER.
    5. Right-click MaxCertsSize, and then click Modify.
    6. In the Value data box, type any DWORD value to restrict the maximum certificate size, and then click OK.
    7. Exit Registry Editor.

Outlook 2010

To resolve this issue in Outlook 2010, follow these steps:
  1. Configure the MaxCertsSize registry entry. To do this, follow these steps:
    1. Start Registry Editor.
      • In Windows Vista, click Startthe Start button , type regedit in the Start Search box, and then press ENTER.

        User Account Control If you are prompted for an administrator password or for confirmation, type the password, or provide confirmation.
      • In Windows XP, click Start, click Run, type regedit in the Open box, and then click OK.
    2. Locate and then click the following registry subkey:
      HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Outlook\Security
    3. On the Edit menu, point to New, and then click DWORD Value.
    4. Type MaxCertsSize, and then press ENTER.
    5. Right-click MaxCertsSize, and then click Modify.
    6. In the Value data box, type any DWORD value to restrict the maximum certificate size, and then click OK.
    7. Exit Registry Editor.

The following table contains all the possible results based on the value that you specify for the MaxCertsSize registry entry and the actual size of the certificate data for the contact.

MaxCertsSize value (x)Actual size of the certificate data (y)Result
x = 0y >0No certificate data is saved with the contact. There is no error message.
0 <= x <= 32768y < xAll certificate data is saved with the contact.
0 <= x <= 332768
x < y <= 32768No certificate data is saved with the contact. There is no error message.
x > 32768y <= 32768All certificate data is saved with the contact.
x > 3276832768 < y < xYou cannot save items (Online mode) or sync items (Cached mode). You experience the symptoms that were described earlier. This scenario is the same as not having applied the hotfix at all.
x > 32768y >= xNo certificate data is saved with the contact. There is no error message.

Note The value of the MaxCertsSize registry entry should be less than or equal to 32 kilobytes. We recommend that you not set the value of the MaxCertsSize registry entry to a figure larger than 32,768. This is because you can never save more than 32 kilobytes of certificate data.

Additionally, if this change prevents you from saving certificate data with the contact, Outlook still uses a certificate for users if the users have their certificates published to the global address list (GAL).


To remove certificates that are not for e-mail use, apply the following hotfix:

For more information, click the following article number to view the article in the Microsoft Knowledge Base:

945014 Error message when you try to add an Active Directory user account as a contact in Outlook: "There is not enough memory to perform the operation"

After you apply this hotfix, you must set the value of the StripCertsNotValidForMail registry entry to 1 to remove the certificates that are not for e-mail use. You can use the MaxCertsSize registry entry and the StripCertsNotValidForMail registry entry together to resolve this problem.

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

↑ Back to the top


More Information

The MaxCertsSize registry entry serves as a rough restriction of the maximum certificate size because there are various ways to sum up the size of the certificate data. If the value that is specified in the registry entry is close to the value of the total certificate size, you may experience different scenarios when you try to add contacts.

For example, the certificates that are associated with the GAL entry may remain in a newly-added contact if you add a GAL entry to Outlook contacts by following these steps:
  1. On the Tools menu, click Address Book.
  2. Right-click a GAL entry, and then click Add to Contacts.
However, the certificates that are associated with the GAL entry may be removed if you add the GAL entry by following these steps:
  1. Right-click a sender or a recipient in a received message.
  2. Click Add to Outlook Contacts.

↑ Back to the top


Keywords: kbsurveynew, kbexpertiseinter, kbqfe, kbcu, kb

↑ Back to the top

Article Info
Article ID : 974415
Revision : 1
Created on : 1/7/2017
Published on : 11/13/2012
Exists online : False
Views : 220