473,378 Members | 1,444 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Help: invalid class string instantiating

System: Windows XP Pro SP2 with all the latest updates

Error Type:
Server object, ASP 0177 (0x800401F3)
Invalid class string
/index.asp, line 20

The code:
SET fs = Server.CreateObject("scripting.fileSystemObject")

This was working just fine up until I just installed Microsoft's latest
updates from their updates site. Now, suddenly, I'm getting this error
message on a very basic line of code. I cannot stress enough that this is
the ONLY thing I've changed.

I tried uninstalling and reinstalling IIS. No luck. I tried manually
registering scrrun.dll from windows\system32. No luck. I searched and
searched via google, and got lots of people running into the same problem,
and not actual solution.

Any help would be GREATLY appreciated. Please forgive me if I haven't
included some vital detail... I'll be happy to in a follow-up.

-Cam
Nov 19 '05 #1
5 2219
If you open RegEdit on the machine you are running this on, can you
find HKEY_CLASSES_ROOT\Scripting.FileSystemObject ? Under this folder
there should be a CLSID folder with the guid
{0D43FE01-F093-11CF-8940-00A0C9054228} (or similar) - can you find this
ID in HKEY_CLASSES_ROOT\CLSID? If so, there should be a folder
InProcServer32 with the path to the scrrun.dll file (in
C:\windows\system32\ on my machine). Can you verify that you have that
file?

How about creating another web page with the same code behind it (but
don't copy and paste - retype that particular line, just in case you
have some sort of string weirdness in there). Maybe that might help
you. Perhaps (for ultimate paranoia) the string is now case-sensitive
for some reason - try Scripting.FileSystemObject? (that seems highly
unlikely)

Or it could be a permissions issue, but it doesn't look like that is
the case, based on the message you are reporting.

Mike

Nov 19 '05 #2
I see the Scripting.FileSystemObject folder under HKEY_CLASSES_ROOT, but I
don't see an InProcServer32. Not sure how that should look. Could you
perhaps email me a .reg or something that I can look at? Or just post it
here as text, perhaps?

I see the scrrun.dll in windows\system32, but I don't know what the
InProcServer32 stuff is. :)

I tried running some very simple sample code with the object off
Microsoft's site, and even that didn't work, so I know it's not a simple
typo or anything. :)

I had also tried adding the internet user account to administrator, just in
case it was a permissions issue, but no dice.

Thanks for your help! It looks like I might just need to know what
InProcServer32 should look like in the registry to get this working again.

-Cam

"xhead" <xh******@gmail.com> wrote in
news:11**********************@z14g2000cwz.googlegr oups.com:
If you open RegEdit on the machine you are running this on, can you
find HKEY_CLASSES_ROOT\Scripting.FileSystemObject ? Under this folder
there should be a CLSID folder with the guid
{0D43FE01-F093-11CF-8940-00A0C9054228} (or similar) - can you find this
ID in HKEY_CLASSES_ROOT\CLSID? If so, there should be a folder
InProcServer32 with the path to the scrrun.dll file (in
C:\windows\system32\ on my machine). Can you verify that you have that
file?

How about creating another web page with the same code behind it (but
don't copy and paste - retype that particular line, just in case you
have some sort of string weirdness in there). Maybe that might help
you. Perhaps (for ultimate paranoia) the string is now case-sensitive
for some reason - try Scripting.FileSystemObject? (that seems highly
unlikely)

Or it could be a permissions issue, but it doesn't look like that is
the case, based on the message you are reporting.

Mike


Nov 19 '05 #3
Well, I searched for scrrun.dll, and there is a
HKEY_CLASSES_ROOT\CLSID\0D43FE01-F093-11CF-8940-00A0C9054228
that points to the correct place in it's InprocServer32 folder.

I guess I"m at square zero again. :(

I love how Microsoft issues patches that break other parts of the system.
I'm frustrated beyond belief at this point, and there's absolutely no way
I'm reinstalling windows because of this. :(

-Cam
Nov 19 '05 #4
I see you've already tried the big hammer for the Permissions case, but
here's an article that might help you track down a little finer for the
permissions:

http://support.microsoft.com/kb/q175804/

In it there is some useful instructions on turning on Auditing to see
what permissions are being requested (and perhaps denied?)
Mike

Nov 19 '05 #5
> http://support.microsoft.com/kb/q175804/

Gave it a try. I change the permissions. The minute I hit "apply" or "OK"
on any change, it reverts back to what it was.

My patience with this sort of microsoft stupidity is at ebb tide. I'm sick
of this crap. :(

-Cam
Nov 19 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Abhas | last post by:
> > Hi, this is Abhas, > > I had made a video library program in C++, but was facing a problem. > > After entering 12 movies, i cannot enter any more movies. > > Something gibberish comes instead....
4
by: elka | last post by:
From asp.net (vb) or another winforms vb.net application I would like to us generic functions compiled in .dl Of course a reference is made to the .dl All the examples show a component to be...
7
by: Ornez | last post by:
Hi, My customer has an abstract class with some interface A . he wants me to Inherit his Class and implement the intrface with some functionality in a new class B. I need to know how he would...
3
by: Stephen Torri | last post by:
Below is a class that is suppose to represent a segment of memory or a contents of a binary image (e.g. ELF executable). I have started to read Modern C++ Design and thought the best way to ensure...
30
by: Alf P. Steinbach | last post by:
I once suggested in that SomeOne Else(TM) should propose a string value class that accepted literals and char pointers and so on, with possible custom deleter, and in case of literal strings just...
2
by: shapper | last post by:
Hello, I have a class named MyClass with 2 properties A and B and two function Fa and Fb. When I am using the class I am able to do the following: Dim mc As MyClass Dim s As String = mc.Fa
18
by: RB | last post by:
Hi guys (and gals!), I've got 2 classes, "TypesafeConstant" and "Color". "Color" inherits from "TypesafeConstant", and adds no new functionality. All "Color" does is to instantiate some class...
44
by: Steven D'Aprano | last post by:
I have a class which is not intended to be instantiated. Instead of using the class to creating an instance and then operate on it, I use the class directly, with classmethods. Essentially, the...
1
by: spynx | last post by:
import javax.swing.JOptionPane; import java.io.*; import java.util.Arrays; public class election5 { public static void main( String args ) {
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.