[IIS 5.0 & 2000] na edit global.asa - 404 fout

Pagina: 1
Acties:

  • El_BingO
  • Registratie: Juli 2001
  • Laatst online: 22-04 10:47
Ik heb een aantal websites draaien op een Windows 2000 server SP3 met IIS 5.0. Nu wordt ik helemaal gek van het volgende probleem:

Als ik een nieuwe virtuele map aanmaak, dan worden de asp bestanden in die directory gewoon uitgevoerd. Maar zodra ik 1 kleine verandering doorvoer in de global.asa (spatie aan het eind toevoegen bv.) dan kan ie de bestanden in eens niet meer vinden. Ik krijg in de browser gewoon een 404 bestand niet gevonden - fout.

Wat moet ik doen? Help?

Verwijderd

Misschien helpt dit volgende:

Global.asa:
This sounds like a terrific file, but there are some flaws. The first problem is that the Application_OnEnd script doesn't run. At least nobody that I have talked two have managed to get it to work. This script would be so great, since that means that you can have a script that saves all your global variables into a file when IIS/PWS is ended, and then you can load this info back in when IIS/PWS is started again (with Application_OnStart).

The next "bad news" is that sessions only work with visitors that have cookies enabled. So if you have a script that uses the Session_OnStart script to add 1 to your visitor counter, it will count a user with cookies turned off several times as he view pages on your website.

So what else sucks with Global.asa? Well one thing that irritates me is that it's hard to refresh when you make a change to the script. Usually you have to reboot the machine to get it refreshed. This problem seams to occur a bit randomly, I just sat up a NT 4.0 IIS 4.0 machine with a new global.asa file and the server would only serve the message "Application Restarting" to the visitors no matter how long I waited. A quick reboot fixed it. But the next time I modified the Global.asa file it worked without a problem or restart.

  • El_BingO
  • Registratie: Juli 2001
  • Laatst online: 22-04 10:47
Ah het is al verholpen. Wat was er nou?
Mijn ultraedit was zodanig ingesteld (heb nieuwe versie 10) dat ie het bestand gelocked hield als je hem had opgeslagen.

IIS mocht er simpelweg dus niet bij.. }:O