Ok, this is stumping me. I have these files:

(root folder)
--index.asp, uses the counter code
--(counter folder)

(counter folder)
--counter.asp, code for the counter
--demo.asp, counter test page
--counter.txt, number of people who have visited.

This is what is happening: When I try to load the index.asp page, I get a HTTP 500 Internal Server Error (because of the counter). But, when I go to the demo.asp page, it works fine. So I go back to the nindex.asp page, and it is working fine! This is confusing me, can someone please tell me why? I can post the code for the files if you need to.