Automation server can’t create object error

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.

 

 

Leave a Reply


All material @ copyrighted by chrisranjana.com. If you want to link to this article you are welcome to do so. Unauthorized publication is strictly prohibited. This developer tutorial website contains articles by Php programmers , Software developers, Mysql programmers and asp c# programmers. This website also contains ajax tutorials and advanced mysql sql stored procedures and functions tutorials and sample codes.