I need a simple, easy, quick solution.
As I said before, this did work, and now I've upgraded to IIS6 and now it doesn't. I want to know if anyone has had this problem, and how they fixed it.
I already know plenty of tedious ways to fix it, and this suggestion is not even remotely close to the easiest.
Obviously you don't understand what I'm trying to do, or the error that I am getting. And you definitely have not been reading my posts, or you would have already realized this.
I'm not intermixing formats, at least by IIS standards. Both file types are valid in IIS, the only difference is that a .STM has tags in it that signify executable parts, and .ASP has executable script in it, but ABSOLUTELY NOT the other way around. I can't do EXEC CGI in an .ASP page, and I can't do '#INCLUDE FILE/VIRTUAL' on a .STM page, so your suggestion involves a lot of extra work, for the little it accomplishes. I'm simply trying to execute some Servers Side script that is located in a common area of my site, from a page that DOES NOT CONTAIN ASP server side script. Most of my users, are not experienced with ASP (hence the .STM file and the EXEC call), so this is a simple solution for them to have a dynamic counter on their page, without learning ASP. If they suddenly found .ASP files instead of .STM files in their web space that contained ASP code they didn't understand, well they would probably freak out, and I would have an even larger problem on my hands than before.
An IFRAME gets me nowhere, I don't have a problem with my HTML. Also, '#include file' and '#include virtual' do the same thing except one uses relative file paths, and the other uses IIS virtual directory paths.
When I posted to this forum I hoped I would get a response, from somebody who had experience it before, and could give me some useful input.
I DID NOT POST to hear "WHY? WHY? WHY?" about these methods. Nor did I post to be ridiculed because of the way a formerly working piece of code is structured. If it weren't right, then it would have never worked in the first place. I didn't write this code anyhow, I'm just in charge of service if something goes wrong.
If you haven't had this problem yourself, or you don't know the internal workings of IIS6, then you can't help me. And, if you are so hung up on WHY I am doing this, you need to go into Philosophy/Psychology, and get the hell out of coding, because you can't help any programmers with that kind of attitude.
I'm sorry if I offended anyone, but I'm very stressed about this upgrade (downgrade!) from hell. I've been working for many days straight making sure the 308,000 documents that are on my server are working correctly, and I think I'm at the end of my rope.
Quote:
|
So if you have another way to fix my problem, without me having to do a GREP for '#EXEC CGI', and then open the 60+ files it finds and change how the counter call works, I would greatly appreciate it.
|