致命错误:无法找到组件刚刚安装组件、错误

2023-09-04 01:24:30 作者:Lonely partn 丶 情靡

我必须做在一个旧的COM +应用程序写在C#2.0的修改。但是,当我尝试用regsvcs excelserver.dll注册DLL在Windows Server 2008上的机器,我得到的错误:

I have to do a modification on an old COM+ app written in C# 2.0. But when I try to register the DLL on a windows server 2008 machine with 'regsvcs excelserver.dll', I get the error:

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

我试图以管理员身份运行的,而关闭UAC,但它不会有所作为。

I tried to run in as admin, and turned off UAC, but it doesn't make a difference.

如果我尝试在Windows 7或Windows Server 2003的机器,它的工作原理。

If I try it on a windows 7 or windows server 2003 machine, it works.

任何想法,为什么这不会在Windows Server 2008计算机上运行?看来我不觉得在事件日志中的任何其他记录。

Any ideas why this doesn't work on a windows server 2008 machine? It seems I don't find any additional logging in the event log.

谢谢, →

推荐答案

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

You need to register using the 64-bit version of regsvcs instead of the 32-bit version.