0x0000007e Error When Registering Olemsg32.dll or Cdo.dll Files

Article translations Article translations
Article ID: 238265 - View products that this article applies to.
This article was previously published under Q238265
Expand all | Collapse all


When you use Regsvr32.exe to register the Olemsg32.dll or Cdo.dll files, you may receive the following error message:
LoadLibrary("olemsg32.dll") failed.
GetLastError returns 0x0000007e. LoadLibrary("cdo.dll") failed.
GetLastError returns 0x0000007e.


This behavior occurs because the Olemsg32.dll and Cdo.dll files are being called from the wrong installation point.


To resolve this issue:
  1. Copy the Olemsg32.dll or Cdo.dll file to the C:\Program Files\Common Files\System\Mapi\1033\NT folder.
  2. Register the files by using Regsvr32.exe. For example, type the following command:
    Regsvr32 Olemsg32.dll
    The following success code is displayed:
    DllRegisterServer in Olemsg32.dll succeeded.


For additional information, click the article numbers below to view the articles in the Microsoft Knowledge Base:
195228 BUG: TCProps.dll Fails to Register During Setup
140346 Possible Reasons for OLE Control Registration Failure


Article ID: 238265 - Last Review: February 27, 2007 - Revision: 3.2
  • Microsoft Windows NT Server 4.0, Terminal Server Edition
  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Professional Edition
  • Microsoft Windows NT Server 4.0 Standard Edition
  • Microsoft Windows NT Workstation 4.0 Developer Edition
kbfaq kbprb KB238265

Give Feedback


Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com