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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

FileSystemObject error

Status
Not open for further replies.

jhowe

Programmer
May 19, 2000
28
US
I am migrating some items from Personal Web Server to IIS 4.0 and have an error when I try to create a FileSystemObject. The only line of code I have is:

var FSO = Server.CreateObject("Scripting.FileSystemObject");

and the resulting error is

Server object error 'ASP 0177 : 800401f3'
Server.CreateObject Failed
/PyConf/login.asp, line 15
Invalid class string

Does IIS 4.0 not necessarily come with the scripting object as standard ?

Thanks in advance,

jhowe
[sig][/sig]
 
I tried running your code as you have it ( and a few extra lines to read a file ) on an IIS 4.0 server and it worked fine. I didn't set up the server though so I don't know if fileSystemObject is given as an option at install time. You should probably ask the server tech about it. [sig]<p>--Will Duty<br><a href=mailto:wduty@radicalfringe.com>wduty@radicalfringe.com</a><br><a href= > </a><br> [/sig]
 
You might want to check into the scripting host on the server. I am not sure but I think that the FileSystemObject is a VBscripting language context and not a ASP issue. And also what code is at line 15? kinda odd to have code at line 15 without 15 lines of something. [sig]<p>Steve Hagerman<br><a href=mailto:Admin@Advancedisp.com>Admin@Advancedisp.com</a><br><a href= ISP high speed internet access</a><br>I did it my way![/sig]
 
I believe the windows scripting host is an optional component during option pack installation. It can also be installed from the IE5 setup. [sig]<p>nick bulka<br><a href=mailto: > </a><br>[/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top