Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Does anyone know how to fix this pr

Status
Not open for further replies.

dcusick

Technical User
Aug 9, 2000
271
US
Does anyone know how to fix this problem???? I've received this once before, but that was because I was using an older version of PWS. I am now running Win98SE, IE6.0, and the newest version of PWS.

ASP Error 137

Invalid Global Script - 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 don't know what is causing this and I really would like to get this fixed. Any help would be greatly appreciated. Thanks.
 
My global.asa doesn't seem to be the problem. I have a global.asa file on my server but it just has empty subs. It's saying my problem is in an include file I have to connect to my database. I have a connection string in a file and I include it in each of my pages. This info works fine on two similar setups on different machines, but on this one machine, it isn't working. I'm stuck!
 
Maybe u have the line
Code:
<%Language=VBScript%>
included twice in your project, see if is in your include file... ________
George, M
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top