HTTP Error 500.19-internal Server Error resolution method

Source: Internet
Author: User
Tags access database

There was an "HTTP error 500.19-internal Server error" error while browsing, as shown in the following figure, when a webservice test was deployed on this machine:

1 open to run, enter cmd into the command Prompt window.

2 into the c:windowsmicrosoft.netframeworkv2.0.50727 directory.

3 Input ASP Tutorial Net_regiis.exe–i execution can be

Note: If the system is a 64-bit second step path to c:windowsmicrosoft.netframework64v2.0.50727

IIS7 error occurred on the server when processing the URL ...
Win7 running the ASP program is always an error, the original site configuration problem ...

Problem one: The MS jet engine changed the location of the temp directory, but did not have access to the temporary directory, causing the database tutorial to fail (because of SQL problems, then use the Access database test).
Solution:
Add a user for "Authenticated users" to the "system disk: Windowsserviceprofilesnetworkserviceappdatalocaltemp" directory where the AppData directory is hidden, You can enter the path directly in the address bar when entering, or display hidden files in Folder options.

To set permissions step: Right-click the Temp folder, select Properties Select the Security tab Click Edit to come out of the Temp Permissions dialog box, click Add, and then enter authenticated Users in the "Enter object name to select" option (click "Advanced ... button, click the "Find" button, select authenticated Users in the search results, OK "return to" Temp permission ", authenticated the full control of users ' permissions on the hook, ok" OK ".

Question two: is the IIS7 default does not send detailed errors to the client, so just give 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, what is wrong is unknown.
Workaround:
Change the "Send errors to Browser" Inside the ASP module in IIS7 to True.
is critical, or you don't know where the error is.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.