Re: Getting error message 'HTTP/1.1 500 Internal Server Error' on development machine
From: Jim Cheshire [MSFT] (jamesche_at_online.microsoft.com)
Date: 07/13/04
- Next message: Moe Sizlak: "Re: Object reference not set to an instance of an object."
- Previous message: Mr. Dot Net: "Re: Help with ASPX Style ***"
- In reply to: Rod: "Re: Getting error message 'HTTP/1.1 500 Internal Server Error' on development machine"
- Next in thread: Rod: "Re: Getting error message 'HTTP/1.1 500 Internal Server Error' on development machine"
- Reply: Rod: "Re: Getting error message 'HTTP/1.1 500 Internal Server Error' on development machine"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 13 Jul 2004 21:59:11 GMT
Rod,
The problem is almost certainly a cause of the local ASPNET account not
having the "Log on as a batch job" right. The fact that you cannot access
this indicates to me that this right is configured on your network via a
group policy object. Can you check with your IT folks to see if that is
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 rights.
--------------------
>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 Error' 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:
cpmsftngxa06.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP12
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 put the
>ASPNET user into my machine's local Administrators group, that will "fix"
>the problem. However, I strongly suspect that adding the ASPNET user to
the
>Administrators group is NOT a good idea.
>
>So, the question is, what is it that ASPNET needs permissions to, that it
>doesn't have permissions too (so that I can take ASPNET out of my local
>Administrators group)?
>
>Rod
>
>"Jim Cheshire [MSFT]" <jamesche@online.microsoft.com> wrote in message
>news:0cWrAeOaEHA.3120@cpmsftngxa06.phx.gbl...
>> Rod,
>>
>> Everytime there is a request for an ASP.NET resource, IIS will attempt to
>> launch the aspnet_wp.exe process. If there is some problem with that,
>this
>> event will be logged.
>>
>> The HRESULT you are seeing maps to ERR_BAD_TOKEN_TYPE. This indicates 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 Policy:
>>
>> 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 rights.
>>
>> --------------------
>> >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:
>>
>cpmsftngxa06.phx.gbl!TK2MSFTNGXS01.phx.gbl!TK2MSFTNGXA05.phx.gbl!TK2MSFTNGP
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 in IE.
>> >
>> >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 server is
>> >currently unavailable. Please hit the "Refresh" button in your web
>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 web
>> 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 failure is
>> >80070545. This error can be caused when the worker process account has
>> >insufficient rights to read the .NET Framework files. Please ensure 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 so, so
>> >something odd is/has happened.
>> >
>> >Rod
>> >
>> >
>> >"Jim Cheshire [MSFT]" <jamesche@online.microsoft.com> wrote in message
>> >news:Iynj8gFaEHA.1008@cpmsftngxa06.phx.gbl...
>> >> Hi Rod,
>> >>
>> >> Can you try browsing to an ASPX page on this server and tell me what
it
>> >> says? You may need to make sure that you have friendly HTTP error
>> >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 Error'
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:
>> >>
>>
>>cpmsftngxa06.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP
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. For some
>> >> >reason, opening some ASP.NET applications we wrote is producing the
>> >> >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 Server
>> >Error'."
>> >> >
>> >> >
>> >> >
>> >> >I am working on a Windows XP Professional machine. I had opened and
>> >edited
>> >> >the same ASP.NET application no more than 2 weeks ago; now I cannot
>open
>> >it
>> >> >at all without getting this error message.
>> >> >
>> >> >
>> >> >
>> >> >I have tried looking at MSDN and the one article I found that which
>> >> >described this situation is article 822319, but that is for Windows
>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 since
>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 Windows XP
>> Pro
>> >> >installed, with SP 1 for XP applied).
>> >> >
>> >> >
>> >> >
>> >> >Any suggestions/recommendations please?
>> >> >
>> >> >
>> >> >
>> >> > Rod
>> >> >
>> >> >
>> >> >
>> >>
>> >
>> >
>> >
>>
>
>
>
- Next message: Moe Sizlak: "Re: Object reference not set to an instance of an object."
- Previous message: Mr. Dot Net: "Re: Help with ASPX Style ***"
- In reply to: Rod: "Re: Getting error message 'HTTP/1.1 500 Internal Server Error' on development machine"
- Next in thread: Rod: "Re: Getting error message 'HTTP/1.1 500 Internal Server Error' on development machine"
- Reply: Rod: "Re: Getting error message 'HTTP/1.1 500 Internal Server Error' on development machine"
- Messages sorted by: [ date ] [ thread ]