asp.net and IIS 500 error

  • Thread starter Thread starter Mark Jones
  • Start date Start date
M

Mark Jones

Hi all, I have a very weird problem with Windows 2000 Advanced server.
When I go to view a page as served by IIS I get a 500 Internal server error.
I though, ok, bad ASP script so I created a straight HTML file consisting of
nothing more than a hello world message.
I still receive the same message so it has nothing to do with serving ASP
files.
So, I went in to Internet Explorer and disabled "Show friendly error
messages" and then went back and viewed the page;

This time the error messgae was a more than cryptic

-2146893054 (0x80090302)

The strange thing is that if I view intranet.mycompany.com I get the above
error message
If I view search.mycompany.com the application works fine and both sites are
served by the same server.

The problem mentioned above just appeared one day.

Any help greatly appreciated
Cheers
Mark
 
This might be the case because the ASP.NET process identity don't have
sufficient privileges to run the ASP.NET worker process. however you said
you tried html pages but still got the error ??? any way try this ...
=========
1) Delete the ASPNET account using Computer Management.
2) Recreate the ASPNET account by running: aspnet_regiis -i, from
C:\<winDir>\microsoft.net\framework\v1.1.4322 directory :
The following is an excerpt from KB-Article
http://support.microsoft.com/?id=306005 how to do this.

Click Start, and then click Run.
In the Open text box, type cmd, and then press ENTER.
At the command prompt, type the following, and then press
ENTER:

"%windir%\Microsoft.NET\Framework\version\aspnet_regiis.exe" -i

In this path, version represents the version number of the .NET
Framework
that you installed on your server.
You must replace this placeholder with the actual version number
when you
type the command. If you use Visual Studio 2003 and framework 1.1 it it
v1.1.4322
3) Restart IIS.
4) Now the ASPX pages should work fine and you also should be able to
create new ASP.NET web projects.

Mohamed Mahfouz
MEA Developer Support Center
ITworx on behalf of Microsoft EMEA GTSC
 
Hi Mohamed, Thankyou for your help. I will get our sysadmin to give it a try

Thanks again
Mark
 
Back
Top