IIS not displaying ASP pages

G

Guest

Help!! I've spent hours pouring through the Microsoft knowledge base and on
web searching and whilst I find a number of people that have this problem I
can't find the solution.

I am teaching myself how to write web pages and am using am trying to use a
Windows XP Pro machine with SP2 installed to host the site using IIS. I was
using a windows 2000 machine but that was required elsewhere. The XP machine
can serve html pages, but cannot display the ASP pages. The same errors
occurs whether trying to access the page from the hosting PC or from another
PC on my network.

The error in the browser is
Friendly error message: The page cannot be displayed. HTTP 500 - Internal
server error.
Unfriendly error message: The server has encountered an error while loading
an application during the processing of your request. Please refer to the
event log for more detail information. Please contact the server
administrator for assistance.

On the hosting PC the event viewer event is
Source: W3SVC
Category: None
Type: Warning
Event ID: 36
Description: The server failed to load application '/LM/W3SVC/1/ROOT'. This
error was 'Class not registered'.

I've tried reinstalling the IIS a number of times. Also reinstalled .NET.
All with no avail.
 
A

Admiral Q

Tim said:
Help!! I've spent hours pouring through the Microsoft knowledge base and
on
web searching and whilst I find a number of people that have this problem
I
can't find the solution.

I am teaching myself how to write web pages and am using am trying to use
a
Windows XP Pro machine with SP2 installed to host the site using IIS. I
was
using a windows 2000 machine but that was required elsewhere. The XP
machine
can serve html pages, but cannot display the ASP pages. The same errors
occurs whether trying to access the page from the hosting PC or from
another
PC on my network.

The error in the browser is
Friendly error message: The page cannot be displayed. HTTP 500 - Internal
server error.
Unfriendly error message: The server has encountered an error while
loading
an application during the processing of your request. Please refer to the
event log for more detail information. Please contact the server
administrator for assistance.

On the hosting PC the event viewer event is
Source: W3SVC
Category: None
Type: Warning
Event ID: 36
Description: The server failed to load application '/LM/W3SVC/1/ROOT'.
This
error was 'Class not registered'.

I've tried reinstalling the IIS a number of times. Also reinstalled .NET.
All with no avail.

Try posting in one of the IIS groups, i.e. microsoft.public.inetserver.iis
would be a good place to start.
 
D

Doug Knox MS-MVP

If you installed IIS after you installed the .NET Framework, .NET isn't properly registered with IIS, and a simple reinstall won't do it.

Click Start, Run and enter the following command, completely.

C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet_regiis.exe -I

This will re-register .NET with IIS. Note, the v1.1.4322 may be different on your installation, but shouldn't be.
 

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

Top