Forum Moderators: open

Message Too Old, No Replies

global.asa won't execute

         

tkt0680

4:11 am on Nov 8, 2003 (gmt 0)

10+ Year Member



i have create a global.asa file but it doesn't execute when i placed in the root directory of IIS 5.1 . And there is nothing wrong with my global.asa. Could anyone please help me how to execute the global.asa file using IIS 5.1, thank you

mattglet

5:08 am on Nov 8, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



what exactly do you mean by "execute"?

-Matt

korkus2000

5:14 am on Nov 8, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



When any file that is processed by the IIS(ASP files most commonly) the global.asa executes. If you modify a global.asa sometimes it gets locked while the application is running. It needs a server reboot to refresh the new global.asa.

mattglet

5:16 am on Nov 8, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



yeah, but if the global.asa was locked, no asp pages would work right? you would get an error or timeout whenever you tried to view an asp page. i could be wrong. just wondering though.

-Matt

korkus2000

5:23 am on Nov 8, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



This is where IIS is flaky. Sometimes it locks and bombs the site and sometimes it runs fine off the old global.asa. Also I have seen it take new Global.asas without needing an application restart. I am told that .Net has fixed those problems with global.asax.

Another issue is that it doesn't see the Global.asa because the application has not stopped yet. See if a server reboot or IIS restart fixes the problem.

tkt0680

7:34 am on Nov 8, 2003 (gmt 0)

10+ Year Member



i already tried to reboot and restart the server but still doesn't work, any other ideas?

thanks

plumsauce

8:01 am on Nov 8, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member




ok, stupid question, not being familiar with xp,

but ...

you do mean the root of your site right?
not some other root?

wardbekker

8:07 am on Nov 8, 2003 (gmt 0)

10+ Year Member



Did you made the site an application in iis?

pageoneresults

8:21 am on Nov 8, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Hmmm, just a wild guess...

Have you installed any trial versions of software that had an expiration date recently?

mattglet

9:10 pm on Nov 8, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



korkus2000-
i totally agree with you. i have made many many changes to my global.asa without restarting the server, with no ill results. but i have had a few times where i've totally locked up my whole site just by saving the file (even without changing any of the content). the nature of the beast i guess.

-Matt