Quantcast
Channel: Security
Viewing all articles
Browse latest Browse all 4737

0x800a01ad - Microsoft JScript runtime error: Automation server can't create object

$
0
0

I am trying to create a Word document from a template on a client.  The Client is Windows 7 64bit with Office 2010 32bit and IE 9.0.

The Web page is a Web Form and is using javascript to create the Word object

var word = new ActiveXObject("Word.Application");

but I am getting "0x800a01ad - Microsoft JScript runtime error: Automation server can't create object" when the program hits this line.

and Word does get loaded in memory, but the program fails at that line

I have changed the security settings on IE

"Tools > Internet options > Security > Custom Level

Under the ActiveX controls and plug-ins, select Enable for Initializing and Script ActiveX controls not marked as safe. 

but still getting the error.

The same javascript works fine from the desktop so the problem must be IE and security settings.

Any suggestions?

Thank You

Peter


Viewing all articles
Browse latest Browse all 4737

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>