【问题标题】:Windows Server 2008 Cdonts issueWindows Server 2008 Cdonts 问题
【发布时间】:2010-03-24 21:51:24
【问题描述】:

Cdonts 在服务器 2008 中不工作(我使用 32 位)

我尝试将 cdonts.dll 复制到 windows/system32 文件夹 做了regsvr32 失败了

还有其他选择吗?

-Vivek

【问题讨论】:

    标签: windows windows-server-2008


    【解决方案1】:

    这可能是因为您使用的是 64 位版本。您必须将 cdonts.dll 放在 windows\SysWOW64 文件夹中,然后运行 regsvr32 C:\Windows\SysWOW64\cdonts.dll

    您还必须编辑站点的应用程序池并将“启用 32 位应用程序”设置为 True。

    【讨论】:

      【解决方案2】:

      似乎有人在IISLogs.com 的Windows 2008 x64 上成功安装了CDONTS。不过我自己没试过。

      这里是他的程序:

      1. 将 CDONTS.dll 从另一台服务器复制到 C:\Windows\SysWOW64
      2. 运行 regsvr32 c:\windows\SysWOW64\cdonts.dll
      3. 在 C:\inetpub\mailroot\pickup 上授予适当的权限(我授予了 USERS 组修改权限)。如果不调整文件夹安全性,您可能会被拒绝权限。
      4. 我假设您已经安装了位于服务器管理器 > 功能 > SMTP 服务器选项中的 SMTP 服务
      5. 确保在安装 SMTP 服务时启用 Relay for localhost > Administrative Tools > Internet Information Services (IIS6) > SMTP Virtual Server > 右键单击​​,Properties > Access Tab > Relay button > Add 127.0.0.1 in选项。还可以启用日志记录以进行其他故障排除。

      【讨论】:

      • 看点Grant the appropriate permissions on C:\inetpub\mailroot\pickup (I granted USERS group Modify permissions). You could get permission denied if the folder security isn't adjusted.
      • 我将 CDONTS.dll 从我的旧 Win 2003(32 位)服务器复制到 Win 2012r2 64 位机器(虚拟机),它运行顺利。
      【解决方案3】:

      CDONTS 已被弃用(我相信在 XP 时代左右?) 这里有 2 个常见的替换。

      http://www.w3schools.com/asp/asp_send_email.asp

      http://www.aspcode.net/ASPMail-SMTPsvgMailer-.aspx

      【讨论】:

      • 他说了什么。 CDONTS 不能在 Win2K8 上运行。请改用 CDOSYS。
      猜你喜欢
      • 1970-01-01
      • 2012-03-31
      • 1970-01-01
      • 1970-01-01
      • 2011-08-21
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多