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.
精彩评论