Article ID: 194069
Article Last Modified on 3/4/2004
APPLIES TO
- Microsoft Collaboration Data Objects 1.0a
- Microsoft Collaboration Data Objects 1.1
- Microsoft Collaboration Data Objects 1.2
- Microsoft Collaboration Data Objects 1.21
This article was previously published under Q194069
SYMPTOMS
When you call the Logon method of the CDO (1.x) Session object on a system running Windows 95 or Windows 98, the following error may occur:
CAUSE
One or more elements of the Windows Messaging Subsystem installed on the computer are out of date.
RESOLUTION
WARNING: Using the Registry Editor incorrectly can cause serious, system- wide problems that may require you to reinstall Windows to correct them. Microsoft cannot guarantee that any problems resulting from the use of Registry Editor can be solved. Use this tool at your own risk.
IMPORTANT: Before you edit the registry, make sure you understand how to restore it if a problem occurs. For information about how to do this, view the "Restoring the Registry" Help topic in Regedit.exe or the "Restoring a Registry Key" Help topic in Regedt32.exe.
For information about how to edit the registry, view the "Changing Keys And Values" Help topic in Registry Editor (Regedit.exe) or the "Add and Delete Information in the Registry" and "Edit Registry Data" Help topics in Regedt32.exe. Note that you should back up the registry before you edit it.
Usually an uninstall followed by a reinstall of the existing Windows Messaging Subsystem (typically, a messaging client such as Microsoft Outlook) suffices. However, if you encounter a situation where it does not, the following steps should address the issue.
Using the registry editor, (Regedit.exe), search the registry for one or more of the following keys:
HKEY_CLASSES_ROOT\ActMsg.Session HKEY_CLASSES_ROOT\CLSID\{3FA7DEB3-6438-101B-ACC1-00AA00423326} HKEY_CLASSES_ROOT\MAPI.Folder HKEY_CLASSES_ROOT\MAPI.Message HKEY_CLASSES_ROOT\MAPI.Session HKEY_CLASSES_ROOT\MAPI.Session.1 HKEY_CLASSES_ROOT\TypeLib\{3FA7DEB3-6438-101B-ACC1-00AA00423326} HKEY_LOCAL_MACHINE\SOFTWARE\Classes\ActMsg.Session
Upon finding a match, delete the key. However, be careful to only remove the keys that relate to messaging.
NOTE: Some of these keys include subkeys. Deletion of the top-level key also deletes the subkeys. After double-checking that the top-level key matches one of the keys noted above, it should be OK to also delete any subkeys.- Install the Microsoft Exchange 5.0 (or later) Client or Server, or Microsoft Outlook Client version 8.01 (or later - use Corporate Workgroup mode for Outlook 98). This installs an updated Windows Messaging Subsystem as well as Collaboration Data Objects (1.1, 1.2, or 1.21, depending on what product is installed). The name of the CDO (1.x) Library changes from one version to the next. Therefore, be sure to check that your project references match the name of the file installed by the product from which you get CDO (1.1, 1.2, or 1.21).
- Run your application. You should be able to logon without the error message occurring.
REFERENCES
For more information on names and versions of CDO (all versions), please see the following article in the Microsoft Knowledge Base:
171440 Where to Acquire the Collaboration Data Objects Libraries
Keywords: kbmsg kbprb kbcode KB194069