title: How to Server.Transfer from a standalone page?
body: <p>I have a page in a folder on a site, and I want to <code>Server.Transfer</code> to it from the domain root. I tried adding a page to the root containing:</p>
  
  <pre><code>Server.Transfer("~/folder1/default.aspx");
  </code></pre>
  
  <p>But I get a 500 error. I also tried </p>
  
  <pre><code>Server.Transfer("/folder1/default.aspx");
  </code></pre>
  
  <p>With the same result.
  But when I tried <code>Server.Transfer("default2.aspx");</code> - another page in the root, it worked. </p>
  
  <p>So how do I transfer to the page I want to transfer to?</p>
  
  <p>EDIT: folder1 is a web application (Asp.net) - does it matter?</p>