title: Classic ASP super newbie question
body: <p>OK, So I have recently moved into the world of Web development after spending quite a few years coding in a pretty simple proprietary language, and one of my first jobs is to tweak an old classic ASP page for one of our clients.
  I'm using Visual Studio 2008 to try debug some problems I am having, but the page won't load at all. If I browse the site locally using IIS, then everything works without any trouble at all, so I am not sure what I am doing wrong.</p>
  
  <p>Here's the error message I get;</p>
  
  <pre><code>Compiler Error Message: BC30451: Name 'VariableName' is not declared.
  </code></pre>
  
  <p>The way this is setup, is that file1.asp has an include for file2.asp</p>
  
  <pre><code>&lt;!-- #include file=./includes/file2.asp --&gt;
  </code></pre>
  
  <p>Then file2.asp has a form post for file3.asp</p>
  
  <pre><code>&lt;FORM METHOD="POST" ACTION="/includes/file3.asp"&gt;
  </code></pre>
  
  <p>Inside file3.asp is where the variable is created.</p>
  
  <p>So, when running this site via IIS, everything works, the variables look to be passed between files without any trouble, but when I try to debug the site using VS2008, I get the BC30451 error code.</p>
  
  <p>Can anyone right my ship? I've been doing a lot of googling and reading of other websites that seem to deal with this issue, but a lot of it is going over my head.
  If anyone could please take the time to explain what &amp; why this is happening, as well as providing some kind of solution, or pointing me in the direction of somewhere that may be able to help, it would be more than greatly appreciated.</p>
  
  <p>Cheers,</p>
  
  <p>Pat.</p>