The page cannot be displayed .. You have attempted to execute a CGI, ISAPI, other… HTTP Error 403.1 – Forbidden: Execute access is denied

This is common problem occur when we publish our website to IIS. When this error occur it show the below message to user.

The page cannot be displayed

You have attempted to execute a CGI, ISAPI, or other executable program from a directory that does not allow programs to be executed.
———————————————-
Please try the following:

Contact the Web site administrator if you believe this directory should allow execute access.
HTTP Error 403.1 – Forbidden: Execute access is denied.
Internet Information Services (IIS)

Solution to fix this problem, Go to your IIS server. Then select the website you created Under the Web Site.
Right-Click on the created website and select Properties. It will show the properties of website like below image :-

HTTP Error 403.1 - Forbidden: Execute access is denied

HTTP Error 403.1 – Forbidden: Execute access is denied

Set the properties like marked in the above images and try to browse website again. It will work like charm. If need any assistance feel free to contact me.

Cheers……..

Posted by | View Post | View Group