Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Error ASP 0177 (0x800401F3) Invalid class sting -- on default.asp

20 views
Skip to first unread message

Harlan Witherspoon

unread,
Jul 15, 2006, 12:55:01 AM7/15/06
to
Sirs:

I've been running my home web site using XP SP2's IIS 5.1

For a number of years now, my .ASP pages have been running fine.
All of a sudden, however, code such as the following on the default.asp page:

Dim fso
Set fso = Server.CreateObject( "Scripting.FileSystemObject" )

Generates the following error message:


Server object, ASP 0177 (0x800401F3) Invalid class string

My browser information is as follows:

Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1;
{A5C4CBBE-70B1-430C-9369-5C9C2FF8936F}; SV1;
.NET CLR 1.1.4322; InfoPath.1; .NET CLR 2.0.50727)


I can't find anything in the knowledgebase about this. Does anyone have any
idea what's wrong?

Thanks in advance.

Bernard Cheah [MVP]

unread,
Jul 15, 2006, 3:07:08 AM7/15/06
to
Have you disabled FSO object ?
the scrrun.dll ? or do you have any antivirus or firewall program that
disable it.

--
Regards,
Bernard Cheah
http://www.iis.net/
http://www.iis-resources.com/
http://msmvps.com/blogs/bernard/


"Harlan Witherspoon" <HarlanWi...@discussions.microsoft.com> wrote in
message news:E87C2DCE-2BDA-423D...@microsoft.com...

Harlan Witherspoon

unread,
Jul 15, 2006, 8:43:01 PM7/15/06
to
Nope, that's not it. As proof, I can execute a sample .vbs script from the
command prompt that uses the FSO to enumerate all drives on a computer.

It's only when I'm hitting IIS that this is happening.
Is there any diagnostic tool that can tell me what should be switched on
that isn't?

Thanks again.

Bernard Cheah [MVP]

unread,
Jul 16, 2006, 5:19:22 AM7/16/06
to
Weird. but that's what ASP complains......
diag tool in IIS 5.1 ? don't think so. at least not for detail request
tracing.

Anyway - have you try register the dll? and check if that's the line number
that throwing the error ?


"Harlan Witherspoon" <HarlanWi...@discussions.microsoft.com> wrote in

message news:E6EC3C55-FCB4-418A...@microsoft.com...

Harlan Witherspoon

unread,
Jul 16, 2006, 11:03:01 AM7/16/06
to
At this point, I have done the following:

* I have uninstalled and re-installed IIS

* I have examined all documents in the knowledgebase referring to "ASP 0177
(0x800401F3)", and found that they do not apply to me. (There's even one
suggesting that the IUSR_Computername account should have read access in the
security tab for C:\WINDOWS\System32, but that's just ridiculous. (In any
case, I tried it, just to be sure, but no effect).

* I unregistered and reregistered each dll in C:\Windows\System32\Inetsvr

* I unregistered and reregistered the dll you told me to check.

The problem isn't limited to the File System Object. Either of these lines
will also produce the same error:

Set objMail = Server.CreateObject("CDONTS.NewMail")
set oRSci=Server.CreateObject("ADODB.recorset")

HOWEVER, this one works:
set shell = Server.CreateObject("WScript.Shell")

* I have even gone through the Windows Live Secuiry Center and had the thing
clean my registry, and still: no joy.

I appreciate your continued attention to this matter.

Bernard Cheah [MVP]

unread,
Jul 16, 2006, 10:47:35 PM7/16/06
to
wow! this is happening to other object as well.
I see you have try most of the things that I would try.

do you know what change recently that break your IIS ?
also what's the application protection level for the app? can you set it to
low?
next, is to get filemon and regmon from sysinternals.com and see if can find
anything funny in the log file.


"Harlan Witherspoon" <HarlanWi...@discussions.microsoft.com> wrote in

message news:F0113125-AA71-43B6...@microsoft.com...

Peter Kranenburg

unread,
Aug 15, 2006, 6:16:01 AM8/15/06
to
I also had this problem suddenly for many (all) objects that I used in web
pages. Something changed access permission for these objects.

You can change the permission settings for these objects (i.e.
Scripting.FileSystemObject) in the registry (regedit --> HKEY_CLASSES_ROOT
and search for your objects). Grant access for IUSR_<machine>.

This will solve your problem.
Regards
Peter

0 new messages