Yesterday, under Windows 7, a project that was previously written with the. NET Framework 3.5 was run with IIS 7.5 and found that there was always a 500.19 error, as follows:
Baidu for a long time, did not find a solution to the exact answer, I also know that certainly is the authority of the problem, of course, after some attempt, finally solved, the solution is as follows (personal method, you can try):
1, find the folder where your profile is located, my is E:\ source \asp.net\dtcms10beta2
2. Right-click on properties, switch to the Security tab, add the Iis-iusrs user group to the Safe list, and assign its permissions as required (I gave permission to modify), after changing as follows:
3, check the security permissions of Web. config, if you have permission to this user group to indicate success, otherwise proceed to the next step;
4. Go back to the root folder, open the "Security" tab, select the Iis-iusrs user group, click "Advanced" to open the Advanced Security Settings dialog box, select the Iis-iusrs user group, click "Change Permissions", open the Editable Advanced Security Settings dialog box, select the Red Area Check button,
Then click OK to inherit the permissions to all child objects.
To complete the above steps, if you do not resolve the problem, select the application in IIS, point to Basic Settings, click the application pool after the selection, pop-up dialog box, the following properties will be displayed. NET version, choose a version lower than your application, I chose Classic. NET AppPool (note: Because my application is lower than the current. NET Framework version, it should be set to classic. NET AppPool).
"IIS Error-HTTP Error 500.19" HTTP Error 500.19-internal Server Error resolution method (II)