Error message when you visit a Web site that is hosted on IIS 7.0: "HTTP Error 500.15 – Direct request for global.asa are not allowed"


Symptoms


You have a Web site that is hosted on Internet Information Services (IIS) 7.0. When you visit the Web site in a Web browser, you may receive an error message that resembles the following:
Server Error

--------------------------------------------------------------------------------

HTTP Error 500.15 – Direct request for global.asa are not allowed


HRESULT: No HResult shown


Description of HRESULT

No HResult shown

Cause


This behavior occurs because the Web site tries to request the Global.asa file directly. However, IIS 7.0 does not allow the Web site to request the Global.asa file directly.

Status


This behavior is by design.