title: IIS CRM 2011 web service invocation issue
body: <p>I had a simple program , a asp.net website in which i added a webservice</p>
  
  <p>One of the web  methods accessed a CRM `</p>
  
  <pre><code> [WebMethod]
  public bool RecordExists (String projectName)
  {
      var service = GetService("http://localhost/EventoCorp/");
  
      Entity project = new Entity("new_project");
  
      /*PROJECT DETAILS*/
      project.Attributes["new_name"] = projectName;
      var request = new RetrieveDuplicatesRequest
      {
          BusinessEntity = project,
          MatchingEntityName = "new_project",
          PagingInfo = new PagingInfo() { PageNumber = 1, Count = 50 }
      };
  
      Console.WriteLine("Retrieving duplicates");
      var response = service.Execute(request);
      EntityCollection collection = (EntityCollection)response.Results["DuplicateCollection"];
  
      return collection.Entities.Count &gt; 1 ? true : false;
  }
  </code></pre>
  
  <p>When I press F5. the project runs fine  . I invoke this record exists method , and it correctly brings data from the CRM 2011</p>
  
  <p>However when i deploy this application on IIS 7.5 . I get greeted by this terribly uninformative exception</p>
  
  <pre><code>System.ServiceModel.FaultException: The server was unable to process the request due to an internal error.  For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the &amp;lt;serviceDebug&amp;gt; configuration behavior) on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework 3.0 SDK documentation and inspect the server trace logs.
  </code></pre>
  
  <p>Server stack trace: </p>
  
  <pre><code> at System.ServiceModel.Channels.ServiceChannel.ThrowIfFaultUnderstood(Message reply, MessageFault fault, String action, MessageVersion version, FaultConverter faultConverter)
     at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc&amp; rpc)
     at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
     at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
     at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
  </code></pre>
  
  <p>I am a CRM 2011 noob  . No idea what is going on . Please help me</p>