开发者

Intemittent Cannot create ActiveX component

开发者 https://www.devze.com 2023-02-23 08:37 出处:网络
Everything was working fine, and then our code starts throwing: Can开发者_如何转开发not create ActiveX component when we try to create a com object.

Everything was working fine, and then our code starts throwing:

Can开发者_如何转开发not create ActiveX component when we try to create a com object.

We reboot the server a couple of times and it goes away

Then after a while it comes back

This is driving us nuts. Any help appreciated.


I apologize that the question was vague. However we had no clue what was causing the problem so what facts would have been relevant?

At any rate it turns out we have two web apps running under IIS, both are trying to create ActiveX components. As soon as we turn one of the web apps off the problem goes away.

After we verified this behavior, we tried calling some simple ActiveX components (like excel). Lo and behold exactly the same behavior as long as there are more than two web apps running.

Our solution for now is to host the second web app elsewhere.

0

精彩评论

暂无评论...
验证码 换一张
取 消