当前位置: 动力学知识库 > 问答 > 编程问答 >

javascript - Automation server can't create object, ie7

问题描述:

var fSO = new ActiveXObject("Scripting.FileSystemObject");

var fh = fSO.CreateTextFile(path + fileName + ".xml", true, true);

I get the following javascript error: Automation server can't create object, even though all my ActiveX settings are enabled in IE that i can think of (ActiveX and plug-ins section). The browser that i'm using for this is IE7.

What could possibly cause this errormessage?

Any help is MUCH appreciated!

Thanks in advance.

网友答案:

According to this, the object is blocked via killbit in all systems. So you cannot use it without registry modification.

分享给朋友:
您可能感兴趣的文章:
随机阅读: