[英]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.