Active Server Pages error 'ASP 0137'

Invalid Global Script

/LM/W3SVC/3/ROOT/global.asa, line 1

Script blocks must be one of the allowed Global.asa procedures. Script directives within <% ... %> are not allowed within the Global.asa file. The allowed procedure names are Application_OnStart, Application_OnEnd, Session_OnStart, or Session_OnEnd.