Thursday, July 14, 2011

"Automation server can't create object" - Occuring with "ActiveXObject('Word.Application')"

This specific error occurs when your browser does not support ActiveXObjects or it does support ActiveX but the security features configured does not allow it to proceed.

Hence to fix this issue ActiveX controls must be allowed in the browser

Go to Tools -> Internet Options -> Security -> Custom Level and make the following changes under the ActiveX Controls and plug-ins section

1. Enable - Allow prompting for ActiveX controls   (optional/probable)

2. Enable - Download signed ActiveX controls

3. Enable - Initialize and script ActiveX controls not marked as safe for scripting

Hope this helps :)


  1. Which browser are you working on. ActiveX is supported by IE only.

    If you are using IE then probably you may have to look at other security related issues like OS security, network security etc...

    Give me more details on your issue, probably I will try and solve them for you

  2. Even we too facing the same pblm in our pjt, while trying to create a word document from javascript of crm 2011. any soln for this...