title: Classic ASP function calls not working on Windows 2008 R2 in IIS 7.5
body: <p>We are moving our web site from a Windows 2003 server running IIS 6 to a Windows 2008 R2 server running IIS 7.5.  The web site is mostly written in classic ASP but there are a handful of Dot Net apps as part of the web site as well.</p>
  
  <p>Right now I am just trying to get the basic foundational code to work and that is all Classic ASP.  There are a couple of ASP files that are just VBScript pages with a series of functions in the file.  In the main pages there is a  statement embedded near the top of the file.</p>
  
  <p>Later in the ASP page it calls one of the functions from the MyFunctions.asp file.  This works great on the old server but on the new server it acts like it never heard of this function and it gives me an error.  It is a non descriptive 505 error so I don't know what the browser is actually complaining about.</p>
  
  <p>I tried comparing the IIS 7 Web Site setup with another 2008 R2 &amp; IIS 7.5 web server that is working (although it is running a straight dot net web site so that could be the main difference) to see if I could see if anything was different and they were mostly the same.</p>
  
  <p>I read about creating a Classic ASP App Pool that does not use managed code and the pipeline is classic and I set the web site to use that App Pool but that didn't help anything.</p>
  
  <p>I am at a loss and I don't want to nor do I have the time to rewrite the web site in dot net.</p>