title: WCF Service Deployment in IIS Page cannot be displayed and how does the SVC file work?
body: <p>Arghhh! I'm getting so frustrated trying to get my head around this WCF service.</p>
  
  <p>So I created a WCF service. It works fine in my laptop where I launch it from Visual Studio 2010. Now I have to deploy it on a Windows Server 2003 machine. So I created a virtual directory on that server's IIS. Next I copied the WCF Service DLL file in the virtual directory. I also created an SVC file which had the following entry:</p>
  
  <pre><code>&lt;%@ ServiceHost Language="C#" Service="AMWCF.Service1" %&gt;
  </code></pre>
  
  <p><strong>Ok first of all, I'm so confused here. Where does this line tell the Server where the DLL file is? It just says "AMWCF.Service"! not file location!</strong></p>
  
  <p>So when I try to launch my webpage, it gives an error "THE PAGE CANNOT BE DISPLAYED". I've tried everything which I can find on the net including:</p>
  
  <ol>
  <li>Reinstalling the ServiceModelReg</li>
  <li>Restrarting IIS</li>
  <li>Allowing ASP.NET in IIS</li>
  </ol>
  
  <p>Sorry for showing my frustration here. I really really reallllly appreciate any help. Thanks guys. You guys are the best</p>