Wednesday, August 19, 2015

(Solved) Error: 500 - Internal server error

Error: 500 - Internal server error. There is a problem with the resource you are looking for, and it cannot be displayed.

Of course the above line makes no sense. We should return the detailed error to fix it.

To display the detailed error follow the below steps,
  • In Internet Information Services (IIS) Manager select your published site
  • In the right side windows double click the "Error Pages" icon
  • A list of errors will be displayed.
  • Right click and choose the "Edit Feature Setting" on the error status code "500"
  • Select the "Detailed Error" radio button
  • Click Ok
  • Run the application again. You will get the detailed error.


Monday, August 17, 2015

(Solved) Error: HTTP Error 401.3 - Unauthorized

HTTP Error 401.3 - Unauthorized
You do not have permission to view this directory or page because of the access control list (ACL) configuration or encryption settings for this resource on the Web server.
Solution:

In IIS,

  • Right Click the  published site -> Edit Permission
  • A dialog will open
  • In the security tab, "Group or user names" section check IUSER is there.
  • If not, click edit button below that section
  • Click the Add button in the dialog
  • Click Advanced button in the dialog
  • Click Find Now button in the dialog
  • In the Search results section select IUSER and click ok.
  • Now choose IUSER and give all the permission by clicking the check box's.