Just moved the program from the XP environment under the Win7, you throw HTTP error 500.19-internal Server error. A summary of the relevant solutions found on the Internet is summarized below. If everyone for other reasons also throw such errors, welcome to add, without it, only for later people encounter such problems can be resolved quickly, save time.
1, IIS and VS installation sequence caused the problem.
Solution: If you install IIS after VS, simply re-register the ASPNET, as follows
1 open to run, enter cmd into the command Prompt window.
2 into the C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727 directory.
3 input Aspnet_regiis.exe–i execution can be noted: if the system is a 64-bit second step path for C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727
2, net2.0 version of the program appears this error.
Workaround:
HTTP Error 500.22-internal Server error may also be reported
Detects asp.net settings that are not applicable in integrated managed piping mode.
Turn on IIS, select the basic settings in the right operation, click Next to the application pool, choose Classic. NET AppPool, and switch the admin mode to Classic mode OK.
3, the issue of permissions caused.
The original folder, right-click to select its properties, open the Security tab, see "Group or User name", click the Edit button to add a new username "Everyone", and then change its permissions, and set the second permission "modify" to allow