Run aspnet_regiis -i to add the ASPNET account back.
Jim Cheshire [MSFT]
MCP+I, MCSE, MCSD, MCDBA
Microsoft Developer Support
jamesche@online.microsoft.com
This post is provided "AS-IS" with no warranties and confers no rights.
--------------------[color=blue]
>Thread-Topic: Getting error message 'HTTP/1.1 500 Internal Server Error' on
>thread-index: AcRwzhy5qVVcuXPVTVe+6fONkFHZXg==
>X-WBNR-Posting-Host: 204.58.127.10
>From: "=?Utf-8?B?QnJhZA==?=" <Brad@discussions.microsoft.com>
>References: <eOtwrqEaEHA.524@TK2MSFTNGP09.phx.gbl>[/color]
<Iynj8gFaEHA.1008@cpmsftngxa06.phx.gbl>
<#TD29$NaEHA.808@tk2msftngp13.phx.gbl>
<0cWrAeOaEHA.3120@cpmsftngxa06.phx.gbl>
<uhObgQRaEHA.3352@TK2MSFTNGP12.phx.gbl>
<poDwnSSaEHA.2352@cpmsftngxa06.phx.gbl>
<OWTSEjVaEHA.4048@TK2MSFTNGP10.phx.gbl>
<E$vgSqbaEHA.1008@cpmsftngxa06.phx.gbl>[color=blue]
>Subject: Re: Getting error message 'HTTP/1.1 500 Internal Server Error' on
>Date: Fri, 23 Jul 2004 09:00:02 -0700
>Lines: 351
>Message-ID: <0A2EAA37-EBF2-444B-BAB7-17F0AA5893DE@microsoft.com>
>MIME-Version: 1.0
>Content-Type: text/plain;
> charset="Utf-8"
>Content-Transfer-Encoding: 7bit
>X-Newsreader: Microsoft CDO for Windows 2000
>Content-Class: urn:content-classes:message
>Importance: normal
>Priority: normal
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
>Newsgroups: microsoft.public.dotnet.framework.aspnet
>NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.157
>Path: cpmsftngxa06.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFT NGXA03.phx.gbl
>Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:249457
>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
>
>I think I am having the same problem. I'm on XP Pro and Framework 1.1. I[/color]
had deleted my ASPNET, IUSR and IWAM accounts and then reinstalled the
framework and VS.NET. The reinstall added the IUSR and IWAM users back but
not the ASPNET user. Still cannot create or open any Web Projects. Thanks
for any help.[color=blue]
>
>"Jim Cheshire [MSFT]" wrote:
>[color=green]
>> Hi Rod,
>>
>> Yes, that is correct.
>>
>> Jim Cheshire [MSFT]
>> MCP+I, MCSE, MCSD, MCDBA
>> Microsoft Developer Support
>>
jamesche@online.microsoft.com
>>
>> This post is provided "AS-IS" with no warranties and confers no rights.
>>
>> --------------------[color=darkred]
>> >From: "Rod" <Rod@NO.SPAM>
>> >References: <eOtwrqEaEHA.524@TK2MSFTNGP09.phx.gbl>[/color]
>> <Iynj8gFaEHA.1008@cpmsftngxa06.phx.gbl>
>> <#TD29$NaEHA.808@tk2msftngp13.phx.gbl>
>> <0cWrAeOaEHA.3120@cpmsftngxa06.phx.gbl>
>> <uhObgQRaEHA.3352@TK2MSFTNGP12.phx.gbl>
>> <poDwnSSaEHA.2352@cpmsftngxa06.phx.gbl>[color=darkred]
>> >Subject: Re: Getting error message 'HTTP/1.1 500 Internal Server Error'[/color][/color][/color]
on[color=blue][color=green]
>> development machine[color=darkred]
>> >Date: Tue, 13 Jul 2004 22:12:25 -0600
>> >Lines: 290
>> >X-Priority: 3
>> >X-MSMail-Priority: Normal
>> >X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
>> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
>> >Message-ID: <OWTSEjVaEHA.4048@TK2MSFTNGP10.phx.gbl>
>> >Newsgroups: microsoft.public.dotnet.framework.aspnet
>> >NNTP-Posting-Host: h-66-167-130-213.phndaz91.dynamic.covad.net[/color]
>> 66.167.130.213[color=darkred]
>> >Path:[/color]
>>[/color][/color]
cpmsftngxa06.phx.gbl!TK2MSFTNGXS01.phx.gbl!TK2MSFT NGXA05.phx.gbl!TK2MSFTNGP0[color=blue][color=green]
>> 8.phx.gbl!TK2MSFTNGP10.phx.gbl[color=darkred]
>> >Xref: cpmsftngxa06.phx.gbl[/color][/color][/color]
microsoft.public.dotnet.framework.aspnet:246858[color=blue][color=green][color=darkred]
>> >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
>> >
>> >Jim,
>> >
>> >Yes, I can talk with the IT folks and see if that can be done. Would we
>> >have to add the ASPNET account from each developer's machine to the GPO[/color][/color][/color]
for[color=blue][color=green][color=darkred]
>> >the domain, and allow "Log on as a batch job" for each one of them?
>> >
>> >Rod
>> >
>> >
>> >"Jim Cheshire [MSFT]" <jamesche@online.microsoft.com> wrote in message
>> >news:poDwnSSaEHA.2352@cpmsftngxa06.phx.gbl...
>> >> Rod,
>> >>
>> >> The problem is almost certainly a cause of the local ASPNET account[/color][/color][/color]
not[color=blue][color=green][color=darkred]
>> >> having the "Log on as a batch job" right. The fact that you cannot[/color]
>> access[color=darkred]
>> >> this indicates to me that this right is configured on your network[/color][/color][/color]
via a[color=blue][color=green][color=darkred]
>> >> group policy object. Can you check with your IT folks to see if that[/color][/color][/color]
is[color=blue][color=green][color=darkred]
>> >> the case?
>> >>
>> >> Jim Cheshire [MSFT]
>> >> MCP+I, MCSE, MCSD, MCDBA
>> >> Microsoft Developer Support
>> >>
jamesche@online.microsoft.com
>> >>
>> >> This post is provided "AS-IS" with no warranties and confers no[/color][/color][/color]
rights.[color=blue][color=green][color=darkred]
>> >>
>> >>
>> >> --------------------
>> >> >From: "Rod" <Rod@NO.SPAM>
>> >> >References: <eOtwrqEaEHA.524@TK2MSFTNGP09.phx.gbl>
>> >> <Iynj8gFaEHA.1008@cpmsftngxa06.phx.gbl>
>> >> <#TD29$NaEHA.808@tk2msftngp13.phx.gbl>
>> >> <0cWrAeOaEHA.3120@cpmsftngxa06.phx.gbl>
>> >> >Subject: Re: Getting error message 'HTTP/1.1 500 Internal Server[/color][/color][/color]
Error'[color=blue][color=green][color=darkred]
>> >on
>> >> development machine
>> >> >Date: Tue, 13 Jul 2004 13:56:30 -0600
>> >> >Lines: 209
>> >> >X-Priority: 3
>> >> >X-MSMail-Priority: Normal
>> >> >X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
>> >> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
>> >> >Message-ID: <uhObgQRaEHA.3352@TK2MSFTNGP12.phx.gbl>
>> >> >Newsgroups: microsoft.public.dotnet.framework.aspnet
>> >> >NNTP-Posting-Host: amci.unm.edu 64.106.14.35
>> >> >Path:
>> >>[/color]
>>[/color]
>cpmsftngxa06.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSF TNGP08.phx.gbl!TK2MSFTNGP1[color=green]
>> 2[color=darkred]
>> >> phx.gbl
>> >> >Xref: cpmsftngxa06.phx.gbl
>> >microsoft.public.dotnet.framework.aspnet:246737
>> >> >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
>> >> >
>> >> >Jim,
>> >> >
>> >> >OK, I've done some experimenting of my own. I have found that if I[/color][/color][/color]
put[color=blue][color=green][color=darkred]
>> >the
>> >> >ASPNET user into my machine's local Administrators group, that will[/color]
>> "fix"[color=darkred]
>> >> >the problem. However, I strongly suspect that adding the ASPNET[/color][/color][/color]
user to[color=blue][color=green][color=darkred]
>> >> the
>> >> >Administrators group is NOT a good idea.
>> >> >
>> >> >So, the question is, what is it that ASPNET needs permissions to,[/color][/color][/color]
that[color=blue][color=green]
>> it[color=darkred]
>> >> >doesn't have permissions too (so that I can take ASPNET out of my[/color][/color][/color]
local[color=blue][color=green][color=darkred]
>> >> >Administrators group)?
>> >> >
>> >> >Rod
>> >> >
>> >> >"Jim Cheshire [MSFT]" <jamesche@online.microsoft.com> wrote in[/color][/color][/color]
message[color=blue][color=green][color=darkred]
>> >> >news:0cWrAeOaEHA.3120@cpmsftngxa06.phx.gbl...
>> >> >> Rod,
>> >> >>
>> >> >> Everytime there is a request for an ASP.NET resource, IIS will[/color][/color][/color]
attempt[color=blue][color=green][color=darkred]
>> >to
>> >> >> launch the aspnet_wp.exe process. If there is some problem with[/color][/color][/color]
that,[color=blue][color=green][color=darkred]
>> >> >this
>> >> >> event will be logged.
>> >> >>
>> >> >> The HRESULT you are seeing maps to ERR_BAD_TOKEN_TYPE. This[/color][/color][/color]
indicates[color=blue][color=green][color=darkred]
>> >to
>> >> >> me that the ASPNET account might not have sufficient user rights to
>> >> launch
>> >> >> the process. I would check the following user rights in Group[/color][/color][/color]
Policy:[color=blue][color=green][color=darkred]
>> >> >>
>> >> >> Log on as a batch job
>> >> >> Log on as a service
>> >> >>
>> >> >> The ASPNET account should have both of those rights.
>> >> >>
>> >> >> Jim Cheshire [MSFT]
>> >> >> MCP+I, MCSE, MCSD, MCDBA
>> >> >> Microsoft Developer Support
>> >> >>
jamesche@online.microsoft.com
>> >> >>
>> >> >> This post is provided "AS-IS" with no warranties and confers no[/color]
>> rights.[color=darkred]
>> >> >>
>> >> >> --------------------
>> >> >> >From: "Rod" <Rod@NO.SPAM>
>> >> >> >References: <eOtwrqEaEHA.524@TK2MSFTNGP09.phx.gbl>
>> >> >> <Iynj8gFaEHA.1008@cpmsftngxa06.phx.gbl>
>> >> >> >Subject: Re: Getting error message 'HTTP/1.1 500 Internal Server
>> >Error'
>> >> >on
>> >> >> development machine
>> >> >> >Date: Tue, 13 Jul 2004 07:43:13 -0600
>> >> >> >Lines: 130
>> >> >> >X-Priority: 3
>> >> >> >X-MSMail-Priority: Normal
>> >> >> >X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
>> >> >> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
>> >> >> >Message-ID: <#TD29$NaEHA.808@tk2msftngp13.phx.gbl>
>> >> >> >Newsgroups: microsoft.public.dotnet.framework.aspnet
>> >> >> >NNTP-Posting-Host: amci.unm.edu 64.106.14.35
>> >> >> >Path:
>> >> >>
>> >>[/color]
>>
>>cpmsftngxa06.phx.gbl!TK2MSFTNGXS01.phx.gbl!TK2MS FTNGXA05.phx.gbl!TK2MSFTNG
>> P[color=darkred]
>> >> 0
>> >> >> 8.phx.gbl!tk2msftngp13.phx.gbl
>> >> >> >Xref: cpmsftngxa06.phx.gbl
>> >> >microsoft.public.dotnet.framework.aspnet:246616
>> >> >> >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
>> >> >> >
>> >> >> >Hi Jim,
>> >> >> >
>> >> >> >I have made sure that friendly HTTP error messages are disabled[/color][/color][/color]
in[color=blue][color=green]
>> IE.[color=darkred]
>> >> >> >
>> >> >> >When I tried browsing one of the ASPX pages, I got the following
>> >error:
>> >> >> >
>> >> >> >"Server Application Unavailable
>> >> >> >The web application you are attempting to access on this web[/color][/color][/color]
server[color=blue][color=green]
>> is[color=darkred]
>> >> >> >currently unavailable. Please hit the "Refresh" button in your[/color][/color][/color]
web[color=blue][color=green][color=darkred]
>> >> >browser
>> >> >> >to retry your request.
>> >> >> >
>> >> >> >Administrator Note: An error message detailing the cause of this
>> >> specific
>> >> >> >request failure can be found in the application event log of the[/color][/color][/color]
web[color=blue][color=green][color=darkred]
>> >> >> server.
>> >> >> >Please review this log entry to discover what caused this error to
>> >> occur.
>> >> >"
>> >> >> >
>> >> >> >Next, I checked the event log and found the following:
>> >> >> >
>> >> >> >"Event Type: Error
>> >> >> >Event Source: ASP.NET 1.1.4322.0
>> >> >> >Event Category: None
>> >> >> >Event ID: 1084
>> >> >> >Date: 7/13/2004
>> >> >> >Time: 7:40:38 AM
>> >> >> >User: N/A
>> >> >> >Computer: AMCI-43
>> >> >> >Description:
>> >> >> >aspnet_wp.exe could not be started. The error code for the[/color][/color][/color]
failure is[color=blue][color=green][color=darkred]
>> >> >> >80070545. This error can be caused when the worker process[/color][/color][/color]
account[color=blue][color=green]
>> has[color=darkred]
>> >> >> >insufficient rights to read the .NET Framework files. Please[/color][/color][/color]
ensure[color=blue][color=green][color=darkred]
>> >that
>> >> >> the
>> >> >> >.NET Framework is correctly installed and that the ACLs on the
>> >> >installation
>> >> >> >directory allow access to the configured account."
>> >> >> >
>> >> >> >I notice that this error message is coming up every 30 seconds or[/color][/color][/color]
so,[color=blue][color=green][color=darkred]
>> >so
>> >> >> >something odd is/has happened.
>> >> >> >
>> >> >> >Rod
>> >> >> >
>> >> >> >
>> >> >> >"Jim Cheshire [MSFT]" <jamesche@online.microsoft.com> wrote in[/color]
>> message[color=darkred]
>> >> >> >news:Iynj8gFaEHA.1008@cpmsftngxa06.phx.gbl...
>> >> >> >> Hi Rod,
>> >> >> >>
>> >> >> >> Can you try browsing to an ASPX page on this server and tell me[/color]
>> what[color=darkred]
>> >> it
>> >> >> >> says? You may need to make sure that you have friendly HTTP[/color][/color][/color]
error[color=blue][color=green][color=darkred]
>> >> >> >messages
>> >> >> >> disabled in the browser.
>> >> >> >>
>> >> >> >> Thanks.
>> >> >> >>
>> >> >> >> Jim Cheshire [MSFT]
>> >> >> >> MCP+I, MCSE, MCSD, MCDBA
>> >> >> >> Microsoft Developer Support
>> >> >> >>
jamesche@online.microsoft.com
>> >> >> >>
>> >> >> >> This post is provided "AS-IS" with no warranties and confers no
>> >> rights.
>> >> >> >>
>> >> >> >> --------------------
>> >> >> >> >From: "Rod" <Rod@NO.SPAM>
>> >> >> >> >Subject: Getting error message 'HTTP/1.1 500 Internal Server[/color]
>> Error'[color=darkred]
>> >> on
>> >> >> >> development machine
>> >> >> >> >Date: Mon, 12 Jul 2004 13:54:06 -0600
>> >> >> >> >Lines: 43
>> >> >> >> >X-Priority: 3
>> >> >> >> >X-MSMail-Priority: Normal
>> >> >> >> >X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
>> >> >> >> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
>> >> >> >> >Message-ID: <eOtwrqEaEHA.524@TK2MSFTNGP09.phx.gbl>
>> >> >> >> >Newsgroups: microsoft.public.dotnet.framework.aspnet
>> >> >> >> >NNTP-Posting-Host: amci.unm.edu 64.106.14.35
>> >> >> >> >Path:
>> >> >> >>
>> >> >>
>> >>[/color]
>>[color=darkred]
>>>cpmsftngxa06.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2M SFTNGP08.phx.gbl!TK2MSFTNG[/color]
>> P[color=darkred]
>> >> 0
>> >> >> 9
>> >> >> >> phx.gbl
>> >> >> >> >Xref: cpmsftngxa06.phx.gbl
>> >> >> >microsoft.public.dotnet.framework.aspnet:246443
>> >> >> >> >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
>> >> >> >> >
>> >> >> >> >I have been working with ASP.NET 1.1 for quite a while now.[/color][/color][/color]
For[color=blue][color=green][color=darkred]
>> >some
>> >> >> >> >reason, opening some ASP.NET applications we wrote is[/color][/color][/color]
producing[color=blue][color=green]
>> the[color=darkred]
>> >> >> >> >following error message:
>> >> >> >> >
>> >> >> >> >
>> >> >> >> >
>> >> >> >> >"The Web server reported the following error when attempting to
>> >> create
>> >> >> or
>> >> >> >> >open the Web project located at the following URL:
>> >> >> >> >'http://localhost/WebApplication1'. 'HTTP/1.1 500 Internal[/color][/color][/color]
Server[color=blue][color=green][color=darkred]
>> >> >> >Error'."
>> >> >> >> >
>> >> >> >> >
>> >> >> >> >
>> >> >> >> >I am working on a Windows XP Professional machine. I had[/color][/color][/color]
opened[color=blue][color=green][color=darkred]
>> >and
>> >> >> >edited
>> >> >> >> >the same ASP.NET application no more than 2 weeks ago; now I[/color]
>> cannot[color=darkred]
>> >> >open
>> >> >> >it
>> >> >> >> >at all without getting this error message.
>> >> >> >> >
>> >> >> >> >
>> >> >> >> >
>> >> >> >> >I have tried looking at MSDN and the one article I found that[/color]
>> which[color=darkred]
>> >> >> >> >described this situation is article 822319, but that is for[/color]
>> Windows[color=darkred]
>> >> >2003
>> >> >> >> >Server, which I am not using.
>> >> >> >> >
>> >> >> >> >
>> >> >> >> >
>> >> >> >> >I have also tried running aspnet_regiis for .NET 1.1, but that
>> >didn't
>> >> >> >help.
>> >> >> >> >
>> >> >> >> >
>> >> >> >> >
>> >> >> >> >I have to suspect that this is a result of one of Microsoft's
>> >recent
>> >> >> >> >critical updates, as nothing else has gone onto my machine[/color][/color][/color]
since[color=blue][color=green][color=darkred]
>> >> >working
>> >> >> >on
>> >> >> >> >the ASP.NET applications a couple of weeks ago. Also, other
>> >> >developers
>> >> >> >who
>> >> >> >> >work for me are experiencing the same problem (we all have[/color][/color][/color]
Windows[color=blue][color=green][color=darkred]
>> >XP
>> >> >> Pro
>> >> >> >> >installed, with SP 1 for XP applied).
>> >> >> >> >
>> >> >> >> >
>> >> >> >> >
>> >> >> >> >Any suggestions/recommendations please?
>> >> >> >> >
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > Rod
>> >> >> >> >
>> >> >> >> >
>> >> >> >> >
>> >> >> >>
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >>
>> >> >
>> >> >
>> >> >
>> >>
>> >
>> >
>> >[/color]
>>
>>[/color]
>[/color]