I am in the process of moving a web site that is mostly classic ASP with a about 4 or 5 ASP.net applications. The core code is all Classic ASP. It has been running for a couple of years on a Windows Server 2003 machine with IIS 6 but now we want to move it to a Windows 2008 R2 machine with IIS 7.5. I didn't write this code but have become somewhat familiar in the 2 years I have been supporting it.
I am a developer so I understand programming logic and have been working with VB for years and have "learned" Classic ASP since working here. What I don't have is very much IIS experience.
I created a handler mapping in IIS 7.5 that used the ServerSideIncludeModule for all *.asp files. That allowed all of the include statements to work.
Most of the application enclosed the VBScript code between a "<%" and a "%>". I don't think there are any places in the code that encloses the VBScript in "<script type="text/vbscript">" and "</script>". I only mention this because it seemed to make a difference in a couple of test pages I created to test if one page would include code from another. And because it seems that to code runs sporatically and I wondered if IIS 7.5 does not recognize the short script notation. It does seem like some functions are called but many of them are over looked altogether and I could be wrong it may not be running any of the functions. I haven't dug down deep enough to determine for sure if the functions are being called.
I was hoping that I could flip a switch or two in IIS 7.5 and it would all just magically work like it does in IIS 6 but so far it is a mess.