Automation server can’t create object error
Que:
I created a c# class library that is exposed to COM for using in an asp.net page as an activex control. I have registered the dll and have created a strong name.
When i am using it in my page i getting a “Automation server can’t create object ” error.
Ans:
You need to tweak the properties of the browser.
In the Browser Toolbar:
Tools -> Internet Options -> choose the Security tab
Click the Custom Level button
Enable the following settings:
Run ActiveX controls and plug-ins
Initialize and script ActiveX control not marked as safe.
