Link to home
Start Free TrialLog in
Avatar of praneetha
praneetha

asked on

XML and javascript

When I try to save a
file on my machine using the Javascript inside my .aspx file. Like
follows:

var fso = new ActiveXObject("Scripting.FileSystemObject");
var a = fso.CreateTextFile("testfile222.xml", true);

It gives me error on the first line saying that: "Microsoft JScript
runtime error: Automation server can't create object".

I guess it has to do something with creation of automation objects in
Javascript while the script is running on IIS server.
ASKER CERTIFIED SOLUTION
Avatar of b1xml2
b1xml2
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of praneetha
praneetha

ASKER

Thanks again :)