简体   繁体   English

在服务器上注册COM dll后需要重新启动

[英]Is Reboot Needed after registering a COM dll on server

I have Just Registered two dll on EC2 web server. 我刚刚在EC2 Web服务器上注册了两个dll。 And change my build platform target to x86. 并将我的构建平台目标更改为x86。

But Still geting this error 但是仍然出现此错误

Retriveing the COM class factory for component with CLSID

Failed due to the following error: 80040154 

Do I need to reboot whole server?? 我需要重启整个服务器吗? Since other site are also hosted on same server. 由于其他站点也托管在同一服务器上。 But locally working fine with VisialStudio 2013 但是在本地使用VisialStudio 2013可以正常工作

No, you need no reboot when registering a new COM server. 不,注册新的COM服务器时无需重新启动。 We do that inside our deploy sequence inside Azure web roles and it works just fine - a web role VM boots up, our scripts run, the COM server files are downloaded, regsvr32 runs and then our code consumes the just registered COM server happily. 我们在Azure Web角色内的部署序列中执行此操作,并且运行良好-Web角色VM启动,运行脚本,下载COM服务器文件,运行regsvr32 ,然后我们的代码愉快地使用了刚刚注册的COM服务器。

Something is going wrong for you. 您出了什么问题。 It may be that registration actually fails. 可能是注册实际上失败了。 It may be that the consumer and the COM server have different bitnesses. 使用者和COM服务器的位数可能不同。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 将winform usercontrol注册为COM服务器 - Registering a winform usercontrol as a COM server 注册托管COM组件时是否需要“已实现的类别”键? - Is the 'Implemented Categories' key needed when registering a Managed COM Component? 注册为客户端计算机上注册的Excel编写的COM服务器时出现问题(无法设置mscoree.dll的完整路径) - Problem registering a COM server written for Excel registered on client machine (can't set full path to mscoree.dll) 未在GAC中注册COM .NET DLL(REGDB_E_CLASSNOTREG) - COM .NET DLL not registering in the GAC (REGDB_E_CLASSNOTREG) 服务器重启后,DefaultAuthenticationTypes.ApplicationCookie仍然存在 - DefaultAuthenticationTypes.ApplicationCookie persist after server reboot 在更新COM DLL后部署.NET服务 - Deploying a .NET service after updating a COM DLL 注册.NET COM互操作dll可从项目构建中进行,但不能从regasm中进行 - Registering a .NET COM interop dll works from project build but not from regasm 在RegAsm COM dll之后找不到PHP COM文件 - PHP COM File Not found after RegAsm a COM dll 为什么要注册COM接口? - Why registering COM interfaces? 在温莎中注册组件时需要澄清 - Clarification needed on registering components in Windsor
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM