Symptoms
-
Unable to access the website the following error occurs:
The page can not be displayed because an external server error.
-
One of the following errors is shown when detailed errors option is set in IIS:
HTTP Error 500.19 - external Server Error.
The requested page cannot be accessed because the related configuration data for the page is invalid.
Detailed Error Information: Module CustomErrorModule
Notification SendResponse
Handler PHP-php
Error Code 0x80070021
Config Error Lock violation
Config File \?C:Inetpubvhostsexample.comhttpdocsweb.config
Requested URL http://www.example:80/index.php/
Physical Path C:Inetpubvhostsexample.comhttpdocsindex.php
Logon Method Anonymous
Logon User Anonymous
Config Source:
4: <httpErrors>
5: <clear />
6: <error statusCode="400" path="C:Inetpubvhostsexample.comerror_docsbad_request.html" />Or:
Warning
-SET_RESPONSE_ERROR_DESCRIPTION
ErrorDescription
Absolute physical path "C:inetpubcusterr401.htm" is not allowed in system.webServer/httpErrors section in web.config file. Use relative path instead.Or:
Severity
Event
Module Name
135. view trace Warning -SECURITY_DENIED_BY_MIMEMAP
FileName C:INETPUBVHOSTSEXAMPLE.COMHTTPDOCSJOBINDEX.PHP
136. view trace Warning -MODULE_SET_RESPONSE_ERROR_STATUS
ModuleName StaticFileModule
Notification EXECUTE_REQUEST_HANDLER
HttpStatus 404
HttpReason Not Found
HttpSubStatus 3
ErrorCode The request is not supported.
(0x80070032)
ConfigExceptionInfo StaticFileModule
Cause
%plesk_vhosts%/example.com/httpdocs/web.config
file is either corrupted or points to non-existent or wrongly configured error pages.
Resolution
-
Connect to the server via RDP.
-
Move the
web.config
file out of%plesk_vhosts%/example.com/httpdocs/
folder. -
Recreate the
web.config
file with:C:> plesk repair web example.com
-
Review the custom
web.config
file and set correct values for error pages under the<httpErrors>
section.