473,416 Members | 1,713 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,416 software developers and data experts.

Getting error message 'HTTP/1.1 500 Internal Server Error' on development machine

Rod
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
Nov 18 '05 #1
8 9983
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
ja******@online.microsoft.com

This post is provided "AS-IS" with no warranties and confers no rights.

--------------------
From: "Rod" <Ro*@NO.SPAM>
Subject: Getting error message 'HTTP/1.1 500 Internal Server Error' on development machineDate: 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: <eO*************@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!TK2MSFT NGP08.phx.gbl!TK2MSFTNGP09
..phx.gblXref: 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


Nov 18 '05 #2
Rod
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]" <ja******@online.microsoft.com> wrote in message
news:Iy**************@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
ja******@online.microsoft.com

This post is provided "AS-IS" with no warranties and confers no rights.

--------------------
From: "Rod" <Ro*@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: <eO*************@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!TK2MSFT NGP08.phx.gbl!TK2MSFTNGP09 phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:246443X-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 editedthe same ASP.NET application no more than 2 weeks ago; now I cannot open itat 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 onthe ASP.NET applications a couple of weeks ago. Also, other developers whowork 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

Nov 18 '05 #3
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
ja******@online.microsoft.com

This post is provided "AS-IS" with no warranties and confers no rights.

--------------------
From: "Rod" <Ro*@NO.SPAM>
References: <eO*************@TK2MSFTNGP09.phx.gbl> <Iy**************@cpmsftngxa06.phx.gbl>Subject: Re: Getting error message 'HTTP/1.1 500 Internal Server Error' on development machineDate: 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: <#T*************@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!TK2MSFT NGXA05.phx.gbl!TK2MSFTNGP0
8.phx.gbl!tk2msftngp13.phx.gblXref: 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]" <ja******@online.microsoft.com> wrote in message
news:Iy**************@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
ja******@online.microsoft.com

This post is provided "AS-IS" with no warranties and confers no rights.

--------------------
>From: "Rod" <Ro*@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: <eO*************@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!TK2MSF TNGP08.phx.gbl!TK2MSFTNGP0

9
phx.gbl
>Xref: cpmsftngxa06.phx.gblmicrosoft.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 ServerError'." >
>
>
>I am working on a Windows XP Professional machine. I had opened andedited >the same ASP.NET application no more than 2 weeks ago; now I cannot openit >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'thelp. >
>
>
>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 workingon >the ASP.NET applications a couple of weeks ago. Also, other developerswho >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
>
>
>



Nov 18 '05 #4
Rod
Hello Jim,

I have tried to do as you suggested. I ran gpedit.msc on my Windows XP
Professional machine; I went into:

Local Computer Policy | Computer Configuration | Windows Settings | Security
Settings | Local Policies | User Rights Assignment

I found both policies you mentioned ("Log on as a batch job" and "Log on as
a service") listed there. I brought up both policies' properties pages, but
found that I could do nothing with them (the "Add user or group..." and
"Remove" buttons are disabled). I don't understand how this could be, as I
am in the Administrators group on my own machine.

Help!

Rod
"Jim Cheshire [MSFT]" <ja******@online.microsoft.com> wrote in message
news:0c**************@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
ja******@online.microsoft.com

This post is provided "AS-IS" with no warranties and confers no rights.

--------------------
From: "Rod" <Ro*@NO.SPAM>
References: <eO*************@TK2MSFTNGP09.phx.gbl> <Iy**************@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: <#T*************@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!TK2MSFT NGXA05.phx.gbl!TK2MSFTNGP0 8.phx.gbl!tk2msftngp13.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:246616X-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 browserto 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 installationdirectory 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]" <ja******@online.microsoft.com> wrote in message
news:Iy**************@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
ja******@online.microsoft.com

This post is provided "AS-IS" with no warranties and confers no rights.

--------------------
>From: "Rod" <Ro*@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: <eO*************@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!TK2MSF TNGP08.phx.gbl!TK2MSFTNGP0
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 openit
>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
workingon
>the ASP.NET applications a couple of weeks ago. Also, other
developerswho
>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
>
>
>


Nov 18 '05 #5
Rod
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]" <ja******@online.microsoft.com> wrote in message
news:0c**************@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
ja******@online.microsoft.com

This post is provided "AS-IS" with no warranties and confers no rights.

--------------------
From: "Rod" <Ro*@NO.SPAM>
References: <eO*************@TK2MSFTNGP09.phx.gbl> <Iy**************@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: <#T*************@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!TK2MSFT NGXA05.phx.gbl!TK2MSFTNGP0 8.phx.gbl!tk2msftngp13.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:246616X-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 browserto 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 installationdirectory 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]" <ja******@online.microsoft.com> wrote in message
news:Iy**************@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
ja******@online.microsoft.com

This post is provided "AS-IS" with no warranties and confers no rights.

--------------------
>From: "Rod" <Ro*@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: <eO*************@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!TK2MSF TNGP08.phx.gbl!TK2MSFTNGP0
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 openit
>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
workingon
>the ASP.NET applications a couple of weeks ago. Also, other
developerswho
>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
>
>
>


Nov 18 '05 #6
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
ja******@online.microsoft.com

This post is provided "AS-IS" with no warranties and confers no rights.
--------------------
From: "Rod" <Ro*@NO.SPAM>
References: <eO*************@TK2MSFTNGP09.phx.gbl> <Iy**************@cpmsftngxa06.phx.gbl>
<#T*************@tk2msftngp13.phx.gbl>
<0c**************@cpmsftngxa06.phx.gbl>Subject: Re: Getting error message 'HTTP/1.1 500 Internal Server Error' on development machineDate: 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: <uh**************@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!TK2MSFT NGP08.phx.gbl!TK2MSFTNGP12
.phx.gblXref: 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 theAdministrators 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]" <ja******@online.microsoft.com> wrote in message
news:0c**************@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
ja******@online.microsoft.com

This post is provided "AS-IS" with no warranties and confers no rights.

--------------------
>From: "Rod" <Ro*@NO.SPAM>
>References: <eO*************@TK2MSFTNGP09.phx.gbl>

<Iy**************@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: <#T*************@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!TK2MSF TNGXA05.phx.gbl!TK2MSFTNGP

0 8.phx.gbl!tk2msftngp13.phx.gbl
>Xref: cpmsftngxa06.phx.gblmicrosoft.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 webbrowser >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 theinstallation >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]" <ja******@online.microsoft.com> wrote in message
>news:Iy**************@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
>> ja******@online.microsoft.com
>>
>> This post is provided "AS-IS" with no warranties and confers no rights. >>
>> --------------------
>> >From: "Rod" <Ro*@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: <eO*************@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!TK2MS FTNGP08.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 Windows2003 >> >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 sinceworking >on
>> >the ASP.NET applications a couple of weeks ago. Also, otherdevelopers >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
>> >
>> >
>> >
>>
>
>
>



Nov 18 '05 #7
Hi Rod,

Yes, that is correct.

Jim Cheshire [MSFT]
MCP+I, MCSE, MCSD, MCDBA
Microsoft Developer Support
ja******@online.microsoft.com

This post is provided "AS-IS" with no warranties and confers no rights.

--------------------
From: "Rod" <Ro*@NO.SPAM>
References: <eO*************@TK2MSFTNGP09.phx.gbl> <Iy**************@cpmsftngxa06.phx.gbl>
<#T*************@tk2msftngp13.phx.gbl>
<0c**************@cpmsftngxa06.phx.gbl>
<uh**************@TK2MSFTNGP12.phx.gbl>
<po**************@cpmsftngxa06.phx.gbl>Subject: Re: Getting error message 'HTTP/1.1 500 Internal Server Error' on development machineDate: 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: <OW**************@TK2MSFTNGP10.phx.gbl>
Newsgroups: microsoft.public.dotnet.framework.aspnet
NNTP-Posting-Host: h-66-167-130-213.phndaz91.dynamic.covad.net 66.167.130.213Path: cpmsftngxa06.phx.gbl!TK2MSFTNGXS01.phx.gbl!TK2MSFT NGXA05.phx.gbl!TK2MSFTNGP0
8.phx.gbl!TK2MSFTNGP10.phx.gblXref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:246858
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 for
the domain, and allow "Log on as a batch job" for each one of them?

Rod
"Jim Cheshire [MSFT]" <ja******@online.microsoft.com> wrote in message
news:po**************@cpmsftngxa06.phx.gbl...
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
ja******@online.microsoft.com

This post is provided "AS-IS" with no warranties and confers no rights.
--------------------
>From: "Rod" <Ro*@NO.SPAM>
>References: <eO*************@TK2MSFTNGP09.phx.gbl>

<Iy**************@cpmsftngxa06.phx.gbl>
<#T*************@tk2msftngp13.phx.gbl>
<0c**************@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: <uh**************@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!TK2MSF TNGP08.phx.gbl!TK2MSFTNGP1

2 phx.gbl
>Xref: cpmsftngxa06.phx.gblmicrosoft.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 putthe >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]" <ja******@online.microsoft.com> wrote in message
>news:0c**************@cpmsftngxa06.phx.gbl...
>> Rod,
>>
>> Everytime there is a request for an ASP.NET resource, IIS will attemptto >> 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 indicatesto >> 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
>> ja******@online.microsoft.com
>>
>> This post is provided "AS-IS" with no warranties and confers no rights. >>
>> --------------------
>> >From: "Rod" <Ro*@NO.SPAM>
>> >References: <eO*************@TK2MSFTNGP09.phx.gbl>
>> <Iy**************@cpmsftngxa06.phx.gbl>
>> >Subject: Re: Getting error message 'HTTP/1.1 500 Internal ServerError' >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: <#T*************@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!TK2MS FTNGXA05.phx.gbl!TK2MSFTNG P 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 followingerror: >> >
>> >"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 ensurethat >> 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]" <ja******@online.microsoft.com> wrote in message >> >news:Iy**************@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
>> >> ja******@online.microsoft.com
>> >>
>> >> This post is provided "AS-IS" with no warranties and confers no

rights.
>> >>
>> >> --------------------
>> >> >From: "Rod" <Ro*@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: <eO*************@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!TK2M SFTNGP08.phx.gbl!TK2MSFTNG
P 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 thatdidn't >> >help.
>> >> >
>> >> >
>> >> >
>> >> >I have to suspect that this is a result of one of Microsoft'srecent >> >> >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 WindowsXP >> Pro
>> >> >installed, with SP 1 for XP applied).
>> >> >
>> >> >
>> >> >
>> >> >Any suggestions/recommendations please?
>> >> >
>> >> >
>> >> >
>> >> > Rod
>> >> >
>> >> >
>> >> >
>> >>
>> >
>> >
>> >
>>
>
>
>



Nov 18 '05 #8
Run aspnet_regiis -i to add the ASPNET account back.

Jim Cheshire [MSFT]
MCP+I, MCSE, MCSD, MCDBA
Microsoft Developer Support
ja******@online.microsoft.com

This post is provided "AS-IS" with no warranties and confers no rights.
--------------------
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==?=" <Br**@discussions.microsoft.com>
References: <eO*************@TK2MSFTNGP09.phx.gbl> <Iy**************@cpmsftngxa06.phx.gbl>
<#T*************@tk2msftngp13.phx.gbl>
<0c**************@cpmsftngxa06.phx.gbl>
<uh**************@TK2MSFTNGP12.phx.gbl>
<po**************@cpmsftngxa06.phx.gbl>
<OW**************@TK2MSFTNGP10.phx.gbl>
<E$**************@cpmsftngxa06.phx.gbl>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: <0A**********************************@microsoft.co m>
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 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.
"Jim Cheshire [MSFT]" wrote:
Hi Rod,

Yes, that is correct.

Jim Cheshire [MSFT]
MCP+I, MCSE, MCSD, MCDBA
Microsoft Developer Support
ja******@online.microsoft.com

This post is provided "AS-IS" with no warranties and confers no rights.

--------------------
>From: "Rod" <Ro*@NO.SPAM>
>References: <eO*************@TK2MSFTNGP09.phx.gbl>

<Iy**************@cpmsftngxa06.phx.gbl>
<#T*************@tk2msftngp13.phx.gbl>
<0c**************@cpmsftngxa06.phx.gbl>
<uh**************@TK2MSFTNGP12.phx.gbl>
<po**************@cpmsftngxa06.phx.gbl>
>Subject: Re: Getting error message 'HTTP/1.1 500 Internal Server Error' on
development machine
>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: <OW**************@TK2MSFTNGP10.phx.gbl>
>Newsgroups: microsoft.public.dotnet.framework.aspnet
>NNTP-Posting-Host: h-66-167-130-213.phndaz91.dynamic.covad.net

66.167.130.213
>Path:

cpmsftngxa06.phx.gbl!TK2MSFTNGXS01.phx.gbl!TK2MSFT NGXA05.phx.gbl!TK2MSFTNGP0 8.phx.gbl!TK2MSFTNGP10.phx.gbl
>Xref: cpmsftngxa06.phx.gbl
microsoft.public.dotnet.framework.aspnet:246858 >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 for >the domain, and allow "Log on as a batch job" for each one of them?
>
>Rod
>
>
>"Jim Cheshire [MSFT]" <ja******@online.microsoft.com> wrote in message
>news:po**************@cpmsftngxa06.phx.gbl...
>> 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
>> ja******@online.microsoft.com
>>
>> This post is provided "AS-IS" with no warranties and confers no rights. >>
>>
>> --------------------
>> >From: "Rod" <Ro*@NO.SPAM>
>> >References: <eO*************@TK2MSFTNGP09.phx.gbl>
>> <Iy**************@cpmsftngxa06.phx.gbl>
>> <#T*************@tk2msftngp13.phx.gbl>
>> <0c**************@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: <uh**************@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!TK2MSF TNGP08.phx.gbl!TK2MSFTNGP1
2
>> 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]" <ja******@online.microsoft.com> wrote in message >> >news:0c**************@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
>> >> ja******@online.microsoft.com
>> >>
>> >> This post is provided "AS-IS" with no warranties and confers no

rights.
>> >>
>> >> --------------------
>> >> >From: "Rod" <Ro*@NO.SPAM>
>> >> >References: <eO*************@TK2MSFTNGP09.phx.gbl>
>> >> <Iy**************@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: <#T*************@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!TK2MS FTNGXA05.phx.gbl!TK2MSFTNG
P
>> 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]" <ja******@online.microsoft.com> wrote in

message
>> >> >news:Iy**************@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
>> >> >> ja******@online.microsoft.com
>> >> >>
>> >> >> This post is provided "AS-IS" with no warranties and confers no
>> rights.
>> >> >>
>> >> >> --------------------
>> >> >> >From: "Rod" <Ro*@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: <eO*************@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!TK2M SFTNGP08.phx.gbl!TK2MSFTNG

P
>> 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
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >>
>> >> >
>> >> >
>> >> >
>> >>
>> >
>> >
>> >
>>
>
>
>



Nov 18 '05 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: | last post by:
I am accessing the same error-containing ASP page on an ISP server using w2k IE6 but with different effect. On the first computer I get several line of HTML outputed by ASP, shown correctly by...
1
by: Bob | last post by:
I have both VS2002 and VS2003 installed on the same machine with IIS. In VS2002 I can create a new web application , but when I try in VS2003 I get an error stating "500 Internal Server Error".
8
by: pmud | last post by:
Hi, I am using a compare validator in asp.net application(c# code). This Custom validator is used for comparing a value enterd by the user against the primary key in the SQL database. IF the...
5
saranjegan
by: saranjegan | last post by:
Hello, Am running a CGI script programmed in C in my apache server , the code is throwing some sorts of error with 500 internal server error , from error log i came to know its premature end of...
1
by: BethH | last post by:
Hello! I'm developing a webpage locally. I originally started it on PHP 5 and XP (where it was working). We've recently changed my machine to a dual boot with most of the important stuff on...
0
by: =?Utf-8?B?ZGVlcGFr?= | last post by:
Hi All, I created a dll of an aspnet application after building the application in relase mode with debug=false in its wbconfig . Later i copied this dll in other server and when some outside...
4
by: =?Utf-8?B?ZGVlcGFr?= | last post by:
Hi All, I created a dll of an aspnet application in a server (say server 1)after building the application in relase mode with debug=false in its wbconfig . Later i copied this dll in other...
1
by: =?Utf-8?B?ZGVlcGFr?= | last post by:
Hi All, I created a dll of an aspnet application in a server (say server 1)after building the application in relase mode with debug=false in its wbconfig . Later i copied this dll in other...
3
by: Junior | last post by:
Vista SP1 IIS7 I'm trying to configure web.config following MSDN docs but keep getting errors I don't know how to resolve.. <configuration> <!--error--> <appSettings...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.