Getting this error when running my web service
<blockquote>
  <p>Server Error in '/' Application.
  Parser Error 
   Description: 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 'DBwebService.WebService1'.</p>
  
  <p>Source Error: </p>
  
  <p>Line 1:  &lt;%@ WebService Language="C#" CodeBehind="WebService1.asmx.cs" Class="DBwebService.WebService1" %></p>
  
  <p>Source File:  /WebService1.asmx    Line:  1 </p>
  
  <p>Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1  --. Metadata contains a reference that cannot be resolved: 'http://localhost:50387/WebService1.asmx'. The content type text/html; charset=utf-8 of the response message does not match the content type of the binding (application/soap+xml; charset=utf-8). If using a custom encoder, be sure that the IsContentTypeSupported method is implemented properly. The first 1024 bytes of the response were: ' 
  Server Error in '/' Application.
  Parser Error 
   '. The remote server returned an error: (500) Internal Server Error. If the service is defined in the current solution, try building the solution and adding the service reference again.</p>
</blockquote>
