Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Getting an error!

Status
Not open for further replies.

dadougalee

Programmer
Joined
Jul 29, 2005
Messages
10
Location
US
I am using FileSystemObject in Javascript, to use to navigate files for a website. When I load the website, I get the runtime error, "Automation server can't create object". This error occurs at:

var xml = new ActiveXObject("Microsoft.XMLDOM")
->->->xml.async = false<-<-<-
fsObj = new ActiveXObject('Scripting.FileSystemObject');

Any ideas why this error is popping up? I am beginning to think that the error is brought up by some other error in the program, but I don't see any. Thanks for any help!
 
It probably means your security settings do not allow you to instantiate ActiveX objects. Try changing them and refreshing the page.

Hope this helps,
Dan


[tt]Dan's Page [blue]@[/blue] Code Couch
[/tt]
 
That was it, thanks a lot man! That never even crossed my mind!

Doug
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top