Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to solve the 500 errors inside the http server of a website

2025-02-14 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly explains "how to solve the 500th error inside the http server of the website". The content in the article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn "how to solve the 500error inside the http server of the website".

It is generally divided into the following reasons:

1. Whether the parent directory is enabled in iis

Internet Explorer

Key solutions to this problem:

WEB site right-click property-- "Directory (configuration)--" option-- enable parent path

The WEB site directory must have iusr users, and iusr users (if newly created users should also be given permission) need read and write permissions (if there is no need to run asp or php scripts, they do not need to write)

2. In general, if the client ie opens to view the program error, you can see the detailed error. You can search Baidu according to the error prompt.

3. For reasons of excessive traffic to iis, for example, asp cannot be accessed, but php can be accessed normally.

The solution to the problem that the communication volume exceeds the configuration capacity of the website

The solution that the communication volume exceeds the configuration capacity of the website, it is common to encounter people who are attacked by CC. Why do you still have this after turning on hard defense?

It is recommended to rent our high defense server directly. The error in the browse is as follows: the request cannot be processed at this time. The communication volume exceeds the configuration capacity of the website.

After testing and debugging, it is found that it is not the following reasons mentioned in some misleading articles at all.

1.ddos (if really ddos! It's impossible to open it!)

2.iis is not enough! (this is not the case with insufficient iis)

The reason for summing up yourself is that there are not enough processes for iis to parse asp at the same time!

Modify the IIS--- website by following-attribute-Home directory-configuration-caching options-double the original number!

If it still fails, you can refer to the following method:

The error introduced today is: http server internal error, this error is often encountered by many webmasters whether they write their own programs or download other people's source programs. As soon as you press the wrong page, the display is:

The site cannot display the page

HTTP 500

The most likely reasons are:

The website is under maintenance.

There is a program error on this website.

You can try the following:

Refresh the page.

Return to the previous page.

More information

This error (HTTP 500internal server error) means that there is a server problem with the website you are visiting, which prevents the page from being displayed.

For more information about HTTP errors, see help.

Many webmasters were dumbfounded when they saw this page, and some people went to Baidu to search for answers, but the answers on the Internet were more or less the same, and many of them were very complicated, and they didn't know what they were talking about. In fact, the 500 errors inside the server can be divided into two types, one is the permission problem of the server itself, and the other is caused by procedural irregularities or errors. So in order to solve this problem, we need to find out what kind of reason it is, so how to detect that kind of reason? Please look down:

In the IE browser, click the tool-internet option-Advanced, scroll bar to the end, uncheck the box before "Show friendly HTTP error message", OK, then refresh the "500 Internal Server error" page, or restart the page, the page will pop up a new error item, which is the page error message will tell you is the cause of this error occurred.

Of course, at this time, many webmasters will find that even if they show the wrong type, they still don't know how to solve it. The easiest way is for you to copy the new error type to Baidu again for questioning and inquiry, and you will know how to solve it. As for the program problem, it is really difficult to say how to solve it here, because there are many types of program errors, and I have no idea what kind of errors webmasters will encounter. If it is found out that it is a permission problem, it is easy to solve it. Look down on it:

The program is local: click to go to the root folder of the source program, click the top tool-folder option-View, uncheck the box before "use simple File sharing (recommended)" and make sure. To change the permissions of the file or folder for which you want to set permissions, right-click on the file or folder, select Properties-Security-add-Advanced-find immediately, select IWAM_ (your computer name) and IUSR_ (your computer name) from the following group of users, make sure, return to the "Security" interface, and set the IWAM_ (your computer name) (process account) permission to full control. IUSR_ (your computer name) (guest account) is set to read permissions.

If you find it annoying, the simplest thing is to select the folder where the entire program is stored, pay attention to the folder where the program is stored, and right-click to repeat the above steps. When selecting permissions, directly select Everyone and set the permissions to full control. If your program has permission problems on the server, you need to contact the streamlined service provider.

How to solve the http 500Internal Server error

How to resolve http 500 internal server errors? First of all, you need to install the version 5.1 in IIS,XP SP2. Installation method:

1-> Open the control panel and select add and remove programs

2-> Select add and remove components, select Internet Information Service, that is, IIS

3-> Click the next step to install.

After installation, maybe your machine will display the http://localhost/ page normally, but it is a pity that mine can not be displayed properly, and it shows the internal server error of HTTP 500. of course, I believe there must be a lot of people in this situation, search and know how many.

Solution:

First of all, we need to select tools-> Internet options-> Advanced-> display a friendly HTTP error message in Internet Explore, and uncheck the previous item.

Refreshing the http://localhost/ page in this way will show a detailed error message, and there may be other reasons. Now let's just say what I encountered, which is the cause of the error encountered by most people, that is, the following error:

Server Application Error

The server has encountered an error while loading an application during the processing of your request. Please refer to the event log for more detail information. Please contact the server administrator for assistance.

As for the specific cause of the error, we will not say much here, we will only talk about the solution, if you are interested in finding out the reason, you can refer to other materials on the Internet.

Solution:

1-> right-click my computer-> Administration-> Local users and groups-> users, and set the password for both IUSR_ machine name and IWAM_ machine name, which is the same.

2-> start-> run-> enter cmd to enter the console

3-> enter cd c:\ Inetpub\ AdminScripts under the console

4-> enter your password for cscript.exe adsutil.vbs set w3svc/wamuserpass

5-> enter your password cscript.exe adsutil.vbs set w3svc/anonymoususerpass

Be careful not to close the console at this time

Refresh http://localhost/ if the normal display of two pages, indicating that normal, the following can not be done, if not, please continue

6-> continue to enter cscript.exe synciwam.vbs-v under the console

7-> if a 8004e00f error occurs at this time, skip step 8 and proceed directly to step 9

8-> enter iisreset, restart IIS, refresh http://localhost/, normal

9-> start-> run-> enter dcomcnfg- > enter component Services-> Click component Services on the right-> computer-> my computer-> COM+ Application

Error "COM+ cannot talk to Microsoft distributed transaction coordinator" and cannot view the objects in it

10-> enter the event Viewer and find that the msdtc service does not start properly.

11-> start-> run-> enter regedit to enter the registry (the following deleted items had better be exported first)

12-> find HKEY_LOCAL_MACHINE\ SYSTEM\ CurrentControlSet\ Services\ MSDTC to delete

13-> find HKEY_LOCAL_MACHINE\ SOFTWARE\ Microsoft\ MSDTC to delete

14-> find HKEY_CLASSES_ROOT\ CID to delete

15-> continue to enter net stop msdtc under the console to stop the MSDTC service

16-> enter msdtc-uninstall to uninstall the MSDTC service

Type msdtc-install to reinstall the MSDTC service

18-> confirm that the msdtc service has started normally in the event Viewer

19-> if it is not working properly, please re-execute step 17 and execute it a few more times, so that we can see that the COM+ application can be accessed. If you cannot restart the computer, IIS should also work properly. Refresh the http://localhost/, refresh the page to see if it is successful, and if it is still unsuccessful, reinstall IIS.

20-> problem solving.

Thank you for your reading, the above is the content of "how to solve the internal 500error of the website http server". After the study of this article, I believe you have a deeper understanding of how to solve the problem of how to solve the problem of the internal 500error of the website http server, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report