title: Server.Execute not executing code in classic ASP
body: <p>I'm trying to make use of constants declared in one ASP file in another file. Here's a basic code overview of what I am trying to accomplish:</p>
  
  <p><strong>FileA.asp</strong></p>
  
  <pre><code>Const tr__first_name = "First Name"
  Const tr__last_name  = "Last Name"
  Const tr__english    = "English"
  </code></pre>
  
  <p><strong>FileB.asp</strong></p>
  
  <pre><code>Server.Execute "FileA.asp"
  Response.Write Eval("tr__first_name")
  </code></pre>
  
  <p>What should happen is that when I run <em>FileB.asp</em> it should print out "First Name" for the <code>Response.Write</code> statement.  If I declare <code>const tr__first_name</code> in <em>FileB.asp</em> resulting in the following code...</p>
  
  <pre><code>Server.Execute "FileA.asp"
  Const tr__first_name = "First Name"
  Response.Write Eval("tr__first_name")
  </code></pre>
  
  <p>Then <em>FileB.asp</em> will print out "First Name" as expected. Any thoughts as to why my first approach won't work?</p>