HTTP/1.1 500 Internal Server Error

G

Guest

Hi,

In an ASP.NET application that I have had for some time, when I open the
solution I ocassionally receive an error dialog saying that:

"The Web server reported the following error when attempting to create or
open the Web project located at the following URL:
'http://toshiba17/PearlCircleWeb'. 'HTTP/1.1 500 Internal Server Error'.

When I press OK and the solution is loaded I have no further problems
compiling or debugging the application. What could be going on? Why would
this be sporadic?

Thanks in advance,

Juan Dent, M.Sc.
 
J

jongalloway

Most likely a permission issue, although it's odd that your error is
intermittent. The short answer is to run "aspnet_regiis -i", although
sometimes it's a more complex user permission issue.

Quite a bit of discussion about that problem here (see comments):
http://codebetter.com/blogs/peter.van.ooijen/archive/2003/11/20/3796.aspx

This script looks pretty promising:
------------------------------
Echo Stop IIS
iisreset /stop
echo "----------------------"
echo "Deleting the ASPNET account."
net user ASPNET /delete
echo "----------------------"
echo "Reregistering ASP.NET and the ASPNET account."
aspnet_regiis -i
echo "Restarting IIS."
iisreset /start
echo "----------------------"
 
G

Guest

Thanks. Yes I had to remove SP2 for XP some time ago and it has been since
then that the problem appears sporadically. I have a hunch that removing this
SP2 is the root. Are there any specific remedies for this?

Juan
 

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