Home > php教程 > PHP开发 > body text

HTTP Error 500.19- Internal Server Error Error Resolution

高洛峰
Release: 2017-01-06 16:23:14
Original
3694 people have browsed it

I just deployed a WebService test on this machine. When browsing, an "HTTP Error 500.19 - Internal Server Error" error occurred, as shown below:

HTTP 错误 500.19- Internal Server Error 错误解决方法

After inspection, it was found This is because you install vs2008 first and then iis. You only need to re-register AspNet. The specific steps are as follows

1 Open Run and enter cmd to enter the command prompt window.

2 Enter the C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727 directory.

3 Enter aspnet_regiis.exe –i to execute

Note: If the system is 64-bit, the path in the second step is C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727

iis7 error message An error occurred on the server when processing the URL...
There is always an error when running the ASP program under win7. It turns out to be a problem with the site configuration. . .

Problem 1: The MS Jet engine changed the location of the temporary directory, but did not have access rights to the temporary directory, causing the database to fail (due to SQL problems, the access database was later used for testing).
Solution:
Add an "Authenticated Users" user to the "System Disk:\Windows\ServiceProfiles\NetworkService\AppData\Local\Temp" directory. The AppData directory is hidden and can be entered directly. Enter the path in the address bar, or show hidden files in the folder options.

Steps to set permissions: Right-click the Temp folder, select "Properties" > Select the "Security" tab > Click "Edit" > The "Temp Permissions" dialog box appears, click "Add", in Enter Authenticated Users in the "Enter object name to select" below (you can also click the "Advanced..." button, then click the "Search" button, and select Authenticated Users in the search results), confirm> return to "Temp Permissions" , check Full Control in the permissions of Authenticated Users, OK > OK.

Question 2: IIS7 does not send detailed errors to the client by default, so it only gives us a script error message (this information can be modified): An error occurred on the server when processing the URL. Please contact the system administrator. In this way, it is unknown what went wrong.
Solution:
Change "Send errors to the browser" in the ASP module in iis7 to True.
is very important, otherwise you won’t know where the error is.

For more HTTP error 500.19- Internal Server Error error solutions, please pay attention to the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!