ASP Class not found Error

G

Guest

I am using XP Pro with IIS5.1. my classic ASP programs were working fine but
now ASPX programs work but ASP programs result in an error message "class not
found". Anyone run into this issue, if so how did you fix it?
 
C

cbDevelopment

I would verify that you have the correct script mappings in IIS for .ASP.
You can see this under Default Web Site>Properties>Home Directory>
Configuration>Mappings.

Most likely, you do have the mapping, otherwise your asp code would
probably come through as plain text since IIS would have no processor for
that file extension.

Next thing to do is make sure asp.dll is registered. You can see the
path in the mappings. Go to a command prompt and do a "regsvr32
asp.dll" in the directory.

I can't be sure if this is any ASP page or a specific application. Did
you try a "Hello world" ASP app?

Best of luck!
 
G

Guest

Thank you for trying. I registered asp.dll but it did not change anything. I
also checked the script mappings but that was a long shot. The log says it's
error 500 which is what I was getting before I disabled friendly error
messages in IE. I also tried a simple hello World script, nothing changed. I
noticed that I get different errors if I change the user under directory
security for the default web site. Do you know what this user should be? Mine
is set to ASPNET_ServerName
 
G

Guest

Thanks fopr trying. I did everything suggested, still same error. Do you know
what the user for the default web site should be? Mine is set to ASPNET.
 
V

Victor Hadianto

The default user to run the ASP.Net is (in WinXP at least)
MachineName\ASPNET, but if you refer to the user that ASPNET impersonate to
browse as an anonymous user is usually IUSR_(machine name)
 
C

cbDevelopment

This is going to sound extreme, but how about reinstalling IIS? I don't
have many other suggestions. It could be some other software recently
loaded...

ASPNET is the local account for XP. Windows 2003 Server uses the built-
in account NetworkServices.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,764
Messages
2,569,567
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top