How to troubleshoot the "Could not create 'CDO.Message'" error message
https://support.microsoft.com/en-us/kb/910360
Method 1: Make sure that the Cdosys.dll file is correctly registered
- Determine whether the Cdosys.dll file is correctly registered. To do this, follow these steps:
- Click Start, click Run, type regedt32, and then click OK.
- In Registry Editor, locate and then expand the HKEY_CLASSES_ROOT registry subtree. Expand TypeLib, and then locate {CD000000-8B95-11D1-82DB-00C04FB1625D}.
- Expand {CD000000-8B95-11D1-82DB-00C04FB1625D}, expand 1.0, and then click 0.
- Click win32, and then confirm that the following value is displayed in the right panel:
Drive:\WINDOWS\system32\cdosys.dll
- Register the Cdosys.dll file. To do this, follow these steps:
- Click Start, click Run, type
regsvr32 %systemroot%\system32\cdosys.dll, and then click
OK.
Note You may receive the 0x800704da error code if multiple versions of CDO exist on the same operating system. To resolve this issue, use the regsrv32 -u cdosys.dll command to unregister the Cdosys.dll file. Then, reregister the Cdosys.dll file by running the following command:regsvr32 %systemroot%\system32\cdosys.dllFor more information about CDO versions, visit the following Microsoft Developer Network (MSDN) Web site:
- Click Start, click Run, type
regsvr32 %systemroot%\system32\cdosys.dll, and then click
OK.
Method 2: Grant permissions for the user account to access the registry key for CDO for Windows 2000 Library
- Grant permission for the user account to access the registry key for CDO for Windows 2000 Library.
- Click Start, click Run, type regedt32, and then click OK.
- In Registry Editor, locate and expand the HKEY_CLASSES_ROOT registry key. Expand TypeLib, and then locate {CD000000-8B95-11D1-82DB-00C04FB1625D}.
- Right-click {CD000000-8B95-11D1-82DB-00C04FB1625D}, click Permissions, and then click Add.
- Type ComputerName\UserName, and then click
OK
Note The placeholder ComputerName represents the name of the computer. The placeholder UserName represents the name of the user. - Click to select the check box in the Allow column to grant Read permission to the user, and then click OK.
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· Linux系列:如何用heaptrack跟踪.NET程序的非托管内存泄露
· 开发者必知的日志记录最佳实践
· SQL Server 2025 AI相关能力初探
· Linux系列:如何用 C#调用 C方法造成内存泄露
· AI与.NET技术实操系列(二):开始使用ML.NET
· 被坑几百块钱后,我竟然真的恢复了删除的微信聊天记录!
· 没有Manus邀请码?试试免邀请码的MGX或者开源的OpenManus吧
· 【自荐】一款简洁、开源的在线白板工具 Drawnix
· 园子的第一款AI主题卫衣上架——"HELLO! HOW CAN I ASSIST YOU TODAY
· Docker 太简单,K8s 太复杂?w7panel 让容器管理更轻松!