title: How do I deploy a pre-compiled ASP.NET web application?
body: <p>I have a web service implemented in ASP.NET 2.0 and have pre-compiled it using the aspnet_compiler.</p>
  
  <p>I have no clue now how to deploy it to IIS, can someone point me in the right direction? I am using IIS 6.0 on a Windows Server 2003 machine.</p>
  
  <p>I have placed the pre-compiled files into a virtual directory, when I access the service through the browser I get the following parser error message:</p>
  
  <pre>
  Parser Error Message: The page must have a 
  &lt;%@ webservice class="MyNamespace.MyClass" ... %&gt; directive.
  </pre>
  
  <p>I then checked the .asmx file for said directive and the contents have been changed by the compiler to:</p>
  
  <pre>
  This is a marker file generated by the precompilation tool, and should not be deleted!
  </pre>
  
  <p><strong>UPDATE:</strong> When I place the non-pre-compiled web app in the virtual directory it works fine, when I place the pre-compiled wen app in the virtual directory, I get the above errors. </p>
  
  <p>Anyone have any ideas!?</p>