Iis7 error message: An error occurred on the server when processing the URL...

Source: Internet
Author: User

There is always an error when running ASP programs under win7. It turns out to be a problem with site configuration...

Problem 1: The MS Jet Engine changes the location of the temporary directory, but does not have access to the temporary directory, resulting in database usage failure (due to SQL problems, use access database for testing later ).
Solution:
Add an "Authenticated Users" user to the "System Disk: \ windows \ serviceprofiles \ NetworkService \ appdata \ Local \ Temp" directory. The appdata directory is hidden, you can enter a path in the address bar or hide the file in the folder option.

To set permissions, right-click the temp folder, select Properties, select Security tab, click Edit, and then click Add ", in the following "enter an object name to select", enter Authenticated Users (you can also click "advanced... "button, then click" Search ", select authenticated users in the search results), OK, return to" Temp permission ", and grant the permissions of authenticated users to the hook, OK.

Problem 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, what is wrong is unknown.
Solution:
Change "send error to Browser" in ASP module of iis7 to true.
It is critical, otherwise you do not 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.