500 Internal Server Error if the full path is not entered (0x80070542)

500 Internal Server Error is one of the most common IIS server errors I see daily basis. Most of the time, a coding or configuration issue causes this error.

In a case I have recently worked on, the page was displaying the error below if the user tries accessing the root of the application. There were no issues if they enter the full path.

(Solved) Disallowed Parent Path error (ASP 0131 ASP_LOG_ERROR)

There are two ways to reference a file in your code: Using an absolute path (Ex: /folder/file) or using a relative path (Ex: ../folder/file). If you use a relative path in your ASP code but your IIS server is not configured properly, you may come across to “Disallowed Parent Path” error (ASP 0131 ASP_LOG_ERROR).