title: Web service Parser Error Message: Could not create type 'xxx'
body: <p>I am getting a parser error when i try to browse my web service.</p>
  
  <p>Already found so many answers, but none helped me. If anybody can guide me to a helpful link that i might have overlooked, it will be of great help.</p>
  
  <p>Here is the scenario :</p>
  
  <p>I have web service built in VS-2010 (framework 4.0) hosted on IIS 7.5 which uses "ASP.NET v4.0 Classic" app pool. This used to work fine until i reinstalled it. It started showing the Error below</p>
  
  <hr>
  
  <blockquote>
    <p><em><strong>Parser Error</em></strong></p>
  </blockquote>
  
  <p><strong>Description:</strong> An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.</p>
  
  <p>Parser Error Message: Could not create type 'AuthenticateUser'.</p>
  
  <p><strong>Source Error:</strong></p>
  
  <blockquote>
    <p>Line 1:  &lt;%@ WebService Language="C#"
    CodeBehind="~/App_Code/AuthenticateUser.cs" Class="AuthenticateUser"
    %></p>
  </blockquote>
  
  <p><strong>Source File:</strong> /WebService101/Services/AuthenticateUser.asmx    <strong>Line:</strong> 1</p>
  
  <p>Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1016 </p>
  
  <hr>
  
  <p>Please Help.</p>