c# - 致命 : Could not find component we just installed

标签 c# .net windows-server-2008 registration com+

我必须对用 C# 2.0 编写的旧 COM+ 应用程序进行修改。但是,当我尝试使用“regsvcs excelserver.dll”在 Windows Server 2008 计算机上注册 DLL 时,出现错误:

  The following installation error occurred: 
  1: FATAL: Could not find component 'Excelserver.CExcelManager' we just installed

我尝试以管理员身份运行,并关闭了 UAC,但没有任何区别。

如果我在 Windows 7 或 Windows Server 2003 机器上尝试它,它会工作。

知道为什么这在 Windows Server 2008 机器上不起作用吗?我似乎没有在事件日志中找到任何其他日志记录。

谢谢, 大号

最佳答案

您需要使用 64 位版本的 regsvcs 而不是 32 位版本进行注册。

关于c# - 致命 : Could not find component we just installed,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8700949/

相关文章:

c# - 非 WPF 应用程序中的隐式 WPF 样式

html - Bootstrap 响应式表格水平滚动始终可见

.net - ControlPaint.DrawReversibleFrame - 我应该如何删除绘制的矩形?

c# - 如何使用 WMI 删除 DNS 区域

c# - 使用 Visual Studio 在 C# 中仅从某个时间点开始调试

c# - 检索特定的 Active Directory 属性

c# - 缓存反射结果(类属性)

php - 在 Windows Server 2008 R2 上托管 php 应用程序

php - 如何为 MySQL 远程数据库连接设置 Windows Server 2008?

c# - 查找和替换 RegEx 问题