473,698 Members | 2,275 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How can I prevent HTTP/1.1 500 Internal Server Errors...

Hi,

I am getting HTTP/1.1 500 Internal Server Errors when I try to create a new
ASP.NET Web Service or ASP.NET Web Application. I have been able to create
these in the past and my previous ones can still be opened, so I suspect I
have done something to mess up my security configuration or settings.

I am using Visual Studio 2003 on a Windows 2000 Server running IIS 5.

Thanks for any help to resolve this problem.

Thanks,

Dean
Nov 17 '05 #1
4 1853
Hi Dean,

Based on my research and experience, please try the following steps on your
side.

1. Please delete the ASPNET account using Computer Management.

a) Select Control Panel->Administrati ve Tools->Computer Management->Local
Users and Groups->Users
b) In the right pane, right click the ASPNET account and select "Delete"

2. Please refer to the following Knowledge Base article carefully to repair
IIS mapping.

<http://support.microso ft.com/default.aspx?sc id=kb;en-us;306005>

3. Please restart IIS and test this issue again.

a) Select Start->Run...
b) Type the command "iisreset"

I hope it helps.

Best regards,

Jacob Yang
Microsoft Online Partner Support
Get Secure! ¨C www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Nov 17 '05 #2
Hi Dean,

I am glad to know that the problem is resolved.

You are right that the is not a local ASPNET account in a Domain
Controller. Please refer to the following Knowledge Base article for the
detailed information regarding this issue.

ASP.NET Does Not Work with the Default ASPNET Account on a Domain Controller
http://support.microsoft.com/default...b;en-us;315158

I hope it helps.

Best regards,

Jacob Yang
Microsoft Online Partner Support
Get Secure! ¨C www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Nov 17 '05 #3
Hi Jacob,

Thanks for your suggestion, but it turns out I had already applied the same
instructions to my environment (you provided them to me in a post to this
message board on 10/21/2003 at 6:53PM). It appears that is when my HTTP/1.1
500 problems started.

The reason the suggestion caused problems for my environment is that I run
an Active Directory environment and host IIS Web Servers and SQL 2000
Servers on AD Controllers. This does not allow use of a local ASPNET user
account. Therefore, I had to create a Domain Account that I named ASPUSER
and modify my machine.config file to use this account instead of ASPNET.

When deleting the ASPUSER account and then adding it back, the instructions
required to get everything working again require more work than is outlined
in the Knowledge Base article you mention in Step 2.

I have resolved my HTTP/1.1 500 errors by giving the ASPUSER account (after
adding it back in) access to the IIS Web that was generating the HTTP/1.1
500 errors ... It had access before I deleted the account, but after adding
the account back in, it is treated as a new account with none of the access
it had been previously granted.

Best Regards,

Dean

"Jacob Yang [MSFT]" <ji***@online.m icrosoft.com> wrote in message
news:E$******** ******@cpmsftng xa06.phx.gbl...
Hi Dean,

Based on my research and experience, please try the following steps on your side.

1. Please delete the ASPNET account using Computer Management.

a) Select Control Panel->Administrati ve Tools->Computer Management->Local
Users and Groups->Users
b) In the right pane, right click the ASPNET account and select "Delete"

2. Please refer to the following Knowledge Base article carefully to repair IIS mapping.

<http://support.microso ft.com/default.aspx?sc id=kb;en-us;306005>

3. Please restart IIS and test this issue again.

a) Select Start->Run...
b) Type the command "iisreset"

I hope it helps.

Best regards,

Jacob Yang
Microsoft Online Partner Support
Get Secure! (C www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Nov 17 '05 #4
Hi Jacob,

Thanks for the reference to the KB article ... I went thru this process many
months back and knew most of the steps to follow, but did not have all the
information available from this KB article. That will help make sure I did
not miss a step.

I really appreciate the quick response!

Take care,

Dean

"Jacob Yang [MSFT]" <ji***@online.m icrosoft.com> wrote in message
news:3f******** ******@cpmsftng xa06.phx.gbl...
Hi Dean,

I am glad to know that the problem is resolved.

You are right that the is not a local ASPNET account in a Domain
Controller. Please refer to the following Knowledge Base article for the
detailed information regarding this issue.

ASP.NET Does Not Work with the Default ASPNET Account on a Domain Controller http://support.microsoft.com/default...b;en-us;315158

I hope it helps.

Best regards,

Jacob Yang
Microsoft Online Partner Support
Get Secure! (C www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Nov 17 '05 #5

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

Similar topics

2
5441
by: Ralph | last post by:
HTTP 500 - Internal server error ASP pages I am running Windows 2K with IIS 5.1 and I started having problems accessing ASP databases shortly after applying the MS patch Windows 2000 Hotfix KB824146. I also started getting DCOM errors in the Server System log just after the reboot. When anyone goes to open an ASP based page they get : HTTP 500 - Internal server error We are just using ASP and not .NET. All other webserver...
10
10814
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 the browser, followed by a descriptive error message: Microsoft VBScript runtime error '800a000b' Division by zero followed by the number of the error-making line
2
1344
by: Mike | last post by:
How can you prevent the database error from displaying on screen? Can you redirect users to a more friendly error screen that is custom created. Using ASP/SQL Server. For instance, if the database cannot be found, instead of displaying, Microsoft OLE DB Provider for SQL Server error '80004005' SQL Server does not exist or access denied.
2
3229
by: Anton van der Merwe | last post by:
I'm getting the foolowing error when trying to view an asp page on a windows2003 server. On our previous IIS server (Windows 2000) the error was described in detail. Windows 2003 ------------ The page cannot be displayed There is a problem with the page you are trying to reach and it cannot be displayed.
1
5104
by: errorQuest | last post by:
Hi There, I have a problem with the IIS running. Whenever I try to ru http://localhost/aaa.asp i got this error "HTTP 500-Internal Serve Error". I use very simple code in aaa.asp. I try to look for the Sho Friendly http error messages, but it doesn't give me another othe error beside "HTTP 500-Internal Server Error". Does anyone know what i happening here? I use Window XP with IIS 5.1 -
0
3274
by: Ross | last post by:
Hi folks I have been designing a web service that is intended to extract information from a SQL server DB using parameterised SP's. So far I have 2 web methods. 1 GetPostCodeForSuburb(ByVal intSuburb As Int64) As postcode1 2 GetSuburbIDAndNameForSuburbStart(ByVal vchSuburb_Start As Char) As dsSuburbIDAndName The 1st web method GetPostCodeForSuburb is working OK, but the 2nd one
3
3974
by: wwwmike | last post by:
For some reasons my HTTP Redirect for 404 errors does not work for certain files like .gif .jpg on IIS Version: 5.1, but it works perfectly with the VisualStudio2005 internal webserver ****Web.Config**** ....... <customErrors mode="On" defaultRedirect="http://www.cnn.com"> <error statusCode="403" redirect="NoAccess.htm" /> <error statusCode="404" redirect="FileNotFound.aspx" />
2
12297
Frinavale
by: Frinavale | last post by:
I thought it would be nice to share the solution to my IIS headache with the rest of the world. I have developed a web application that has been distributed. Upon installing my application, some people encountered a "500 Internal Error" and of course blamed my software immediately (and got frustrated when uninstalling/reinstalling my software didn't fix the problem). Finally I was able to take a look at one of these computers and discovered...
3
5947
by: guillaume.braux | last post by:
Hello, I am running WS2008 + IIS7 + FASTCGI + ZendCore. I have not modified the default ZendCore php.ini configuration file. Actualy, any kind of PHP error, warning or notice gives me immediately a IIS 500 Error (Internal Server Error). It is a good thing in production environnement. For debuging purposes, I want temporary to be able to see PHP warnings and errors embedded on the html page.
0
8600
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9156
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9021
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8892
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8860
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7712
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6518
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5860
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
2
2323
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.