Can anyone please help me what is the error about and why I get this error and how to solve it?
When i run any asp page i get the following error:
Active Server Pages error 'ASP 0137'
Invalid Global Script
//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.
I dont know whats the problem ?can anyone tell me how i can solve the problem and make my asp page work.
Thanks.
<SCRIPT LANGUAGE=VBScript RUNAT=Server>
Sub Session _onStart
...
' Some session vars
...
End Sub
sub Application_OnStart
...
...
'Some application vars
End Sub
</SCRIPT>