Monday 19 January 2015

HTTP Error 500.19 - Internal Server Error

IIS Manager
Sites
Select your root web site
In the center section pane, Select "Features View"
Right page Under the Actions
Basic Settings
Click on Connect as...
You will see prompt
In the prompt, it should be "Specific user". Click on "Set", you can enter your service account User Id and Password.
Click OK
Now Click "Test Settings.."
It should pass Authentication and Authorization test.
Some times you will see "Authorization" error because of access issue.

If you get Access related issue, try below steps.
1.In Windows Explorer, locate the folder that contains the ApplicationHost.config file that is associated with the Web site, or locate the virtual directories or the application directories that contain the Web.config file that is associated with the Web site.
2.Right-click the folder that contains the ApplicationHost.config file, or right-click the virtual or application directories that may contain the Web.config file.
3.Click Properties.
4.Click the Security tab, and then click Edit.
5.Click Add.
6.In the Enter the object names to select box, type computername\IIS_IUSRS, click Check Names, and then click OK.
Note Computername is a placeholder for the computer name.
7.Click to select the Read check box, and then click OK.
8.In the Properties dialog box for the folder, click OK.
Note Make sure the folder's properties are inherited by the ApplicationHost.config and Web.config files so that IIS_IUSRS has the Read permission for those files.
Or
Add computername\IIS_IUSRS to Administrator group in the system where Application is located.