I am getting the error "object required" on the "server.createobject" statement when it is run in ie from the server. I do not get the error if I put the script in a vbs file and run it in the server without an error. I've written lots of scripts but I am just starting to put them in an html file. I would like to use the filesystemobject to write links to documents in a folder. But I can't get past this error to do that. From what I have read I should be able to do this.
What is causing the error??? I hope this is an easy question because I am stumped. Thanks!
<TITLE>Test Create Object</TITLE>
<SCRIPT LANGUAGE="VBSCRIPT" runat="server">
on error resume next
set fso = Server.CreateObject("Scripting.FileSystemObject")
msgbox "fso error - " & err.description