Sorry if I'm posting this to the wrong area: I'm going nuts trying to figure this issue out. I've done a search in TechNet and Google using the error codes (shown below) and while they come up with possibilities, none seem to match this particular issue.
I'm using Classic ASP on IIS 7 running under Windows Vista Home Premium on a 64-bit computer. There appears to be no issues with using ADO on the machine and as far as I can tell all standard ADO objects can be instantiated except for the Scripting File
System Object. Here's a smippet of code I use just to test and bring the issue to the surface to show an error message:
what have you tried so far? since this is FSO, do you have any antivirus running ? script blocking ? have you try failed request tracing to see if it give more clues.
PeterPipe
1 Post
File System Object fails to instantiate itself on IIS 7
Oct 27, 2011 12:48 AM|LINK
Sorry if I'm posting this to the wrong area: I'm going nuts trying to figure this issue out. I've done a search in TechNet and Google using the error codes (shown below) and while they come up with possibilities, none seem to match this particular issue.
I'm using Classic ASP on IIS 7 running under Windows Vista Home Premium on a 64-bit computer. There appears to be no issues with using ADO on the machine and as far as I can tell all standard ADO objects can be instantiated except for the Scripting File System Object. Here's a smippet of code I use just to test and bring the issue to the surface to show an error message:
<%@LANGUAGE="VBSCRIPT"%>
<%
dim fso
set fso=Server.CreateObject("Scripting.FileSystemObject")
%>
As soon as the code executes, the following error message appears in the browser:
Server object error 'ASP 0177 : 800401f3'
Server.CreateObject Failed
/didly/TEST_CREATE_FILESYSTEMOBJECT.asp, line 4
800401f3
As I said, I dicovered the problem only recently but I can't say when it actually started and there are no issues with creating other ASP objects.
The Vista machine has been updated with the latest updates and it may have stopped working somewhere along the way.
The computer is running Vista Home Premium, Service Pack 2
IIS7 is version 7.0.6000.16386
Any help would be greatly appreciated !
qbernard
5011 Posts
MVP
Moderator
Re: File System Object fails to instantiate itself on IIS 7
Oct 27, 2011 02:32 AM|LINK
Bernard Cheah
HCamper
8048 Posts
Re: File System Object fails to instantiate itself on IIS 7
Oct 29, 2011 02:30 PM|LINK
Hi,
Look at Bill Staples Trick & Tips Guide.
http://blogs.iis.net/bills/archive/2009/02/20/more-tips-and-troubleshooting-help-for-classic-asp-developers.aspx
Post the detailed Status codes from the IIS Server log to will help.
Martin
Community Member Award 2011
London
345 Posts
Re: File System Object fails to instantiate itself on IIS 7
Oct 31, 2011 07:46 AM|LINK
Hi,
Run "regsvr32 scrrun.dll" to see if it helps. You can also try run your script form command line.