Win7 IIS7.5 configuration solves ASP 500 error

  
http 500 internal server error Description IIS server can not parse ASP code, if you find that the server is not found 500 error.
Iis settings in iis7 to enable The parent path option, you can do it later, of course, in order to debug the program you can open the "ASP settings options - debug properties" some debugging features inside, to facilitate the debugging of the program.
Win7 IIS7.5 500 error when running ASP
Please make sure that the IIS configuration is complete on your computer, the static page can be opened, but open ASP will have 500 errors. Then perform the following configuration. The details are as follows:
First, enter "C: WindowsServiceProfilesNetworkServiceAppDataLocal" (If you enter C: WindowsServiceProfilesNetworkService, there is no AppData, then directly enter the address bar).
Second, right click on the "Temp" folder -> Properties -> Security -> Select Authenticated Users (no point: edit -> add -> Advanced-->Immediately Find-->Select User Authenticated Users-->OK-->OK)--><;Full Control>Check--> OK--> OK .
Three, enter the Internet Information Services (IIS) Manager [Search IIS in the Start menu comes out]--> Double-click ASP
4, expand "behavior", this, "and enable parent path" ” changed to “Ture”, the right point "application” is OK.
Of course, you have to set your default document, path, and so on.
First, start-->Control Panel-->Uninstaller

Second, turn Windows features on or off-->Internet Information Service (hook the services you need, such as I need ASP but does not need FTP)

OK, wait for the configuration to restart, then you can see the inetpub folder on the system disk (my C:).



Entering "localhost" in the browser can open the following page to indicate that the configuration is successful. If it is not successful, return to the above check.

In this IIS configuration is complete, the static page can be opened, but open ASP will have 500 errors. Then perform the following configuration. The details are as follows:
First, enter "C: WindowsServiceProfilesNetworkServiceAppDataLocal" (If you enter C: WindowsServiceProfilesNetworkService, there is no AppData, then directly enter the address bar).
Second, right click on the "Temp" folder -> Properties -> Security -> Select Authenticated Users (no point: edit -> add -> Advanced-->Immediately Find-->Select User Authenticated Users-->OK-->OK)--><;Full Control>Check--> OK--> OK .

3. Entering the Internet Information Service (IIS) Manager [Searching for IIS in the Start Menu is coming out]-->Double-click ASP

Four, expand "behavior" Change “Enable Parent Path” to “Ture”, right point "application” is OK.
Of course, you have to set your default document, path, and so on.
500 error is a server internal error, generally not related to the program. The final problem was solved, but the N places were changed. The reason for which is not clear is that they can't run these places anyway.
Note: The following picture is not complete, you can save the picture as a picture, you can see it on the computer!
1. Open the service that is easy to be ignored.
Enter “Control Panel---Administrative Tools---Services---DistributedTransaction Coordinator”. Set this service to automatic and start it.

2. Permission configuration.
The first step is to modify the website application pool process identifier to be: NetWorkService. Specific as shown.

The second step is to configure connection identity information. As shown below:

The user name in the figure fills in the login user name of the current user of the system, and the password fills in the login password of the current user of the system.
After the permissions are configured, click ““ next to the “test connection” next to the ”, if the items listed are all green, there is no yellow exclamation mark, it means the permissions are configured. If you do not configure permissions, you may not be able to access the site directory due to insufficient permissions.

3. Register for .NET.
After the above two steps, if there are still 500 errors, please remember carefully, is it necessary to install vs and then open the IIS service, which will cause the .NET registration in IIS to fail, although IIS can see, But it is not registered, so it will cause 500 errors.
The registration method is very simple. You can enter the following command in the cmd command prompt:
"%WINDIR%Microsoft.NETFrameworkv4.0.30319aspnet_regiis.exe"-iru –enable
After the installation is successful, There will be two more in the IIS application pool.

Doing these jobs, try it out, is it successful to open the .NET web page?

Copyright © Windows knowledge All Rights Reserved