I'm having issues with an ActiveX control that I developed in C#. I
registered the control with regasm and all went well, except when I'm
calling the control in Javasript (the control is located on the client
and is only going to run on the client - no servers or anything like
that involved).
This is my code (It's just a test project):
var activeX;
activeX = new ActiveXObject("ActiveTest.TestClass");
and the error message I get is either "The specified file cannot be
found" or after I register the activeX dll in the GAC, I now get
"Automation server can't create the object".
I read a bunch of posts that seem to solve to the Automation server
error by setting the Internet Explorer Security to low, however I have
tried this as well, but with no success. I had set all zones to the
lowest possible level and it had no effect on the error. To give you
some more info on the situation:
OS is Vista Ultimate, Browser is Internet Explorer 7 and the
application was developed with .Net 2.0.
My question is, what exactly is the automation server? I read in other
posts that dealt with office automation that Excel or Word were the
automation server in those cases. So am I right when I assume that
Internet Explorer is the automation server in my case?
And of course the main question is, how can I get rid of this error,
since it is a real show stopper!
Thanks,
Steve
- Steve