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.