Got more questions? Find advice on: SQL | XML | Regular Expressions | Windows
in Search
Welcome to AspAdvice Sign in | Join | Help

Automation Server can't create object

Last post 02-20-2007, 12:43 AM by anujrathi. 0 replies.
Sort Posts: Previous Next
  •  02-20-2007, 12:43 AM 27476

    Automation Server can't create object

    Hi Friends,

    I am trying to use the javascript's    FileSysyemObject as ,,

    var fso = new ActiveXObject("Scripting.FileSystemObject");
               var a = fso.CreateTextFile("c:\\testfile.txt",true);
               a.WriteLine("This is a test");

    If am making  an .html page then it is working fine. But if i am using this script in .aspx page, I am facing a javascript  error message.

    Automation Server can't create object..

    I am searching the solution  from last 2 days.
    Please give me a proper reason of this error

    Anuj Kumar
View as RSS news feed in XML