title: The server was unable to process the request due to an internal error. in WCF error
body: <p>I have written my service in framework 4.0 using C#. It's an simple method which returns a value</p>
  
  <p>The Web.config is like this:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;configuration&gt;
    &lt;system.web&gt;
      &lt;machineKey validationKey="0E1F430D6FFFA91FBEDAEC1D2DDAAC2127EB055DBAFB78328C5BDE83249A94EA66400453B" decryptionKey="A13EACEAAABBECF2D06619924A8" validation="SHA1" decryption="AES" /&gt;
      &lt;compilation debug="true" targetFramework="4.0" /&gt;
    &lt;/system.web&gt;
    &lt;system.serviceModel&gt;
      &lt;services&gt;
        &lt;service name="DecryptCookie.Service1"&gt;
          &lt;host&gt;
            &lt;baseAddresses&gt;
              &lt;add baseAddress = "http://localhost:8732/Design_Time_Addresses/WCFandEFService/ProductService/" /&gt;
            &lt;/baseAddresses&gt;
          &lt;/host&gt;
          &lt;endpoint address=""  binding="wsHttpBinding"    contract="DecryptCookie.IService1"&gt;
            &lt;identity&gt;
              &lt;dns value="localhost"/&gt;
            &lt;/identity&gt;
          &lt;/endpoint&gt;
          &lt;endpoint address="mex" binding="mexHttpBinding" contract = "IMetadataExchange"/&gt;
        &lt;/service&gt;
      &lt;/services&gt;
      &lt;behaviors&gt;
        &lt;serviceBehaviors&gt;
          &lt;behavior&gt;
            &lt;serviceMetadata httpGetEnabled="True"/&gt;
            &lt;serviceDebug includeExceptionDetailInFaults="true" /&gt;
          &lt;/behavior&gt;
        &lt;/serviceBehaviors&gt;
      &lt;/behaviors&gt;
    &lt;/system.serviceModel&gt;  
  &lt;/configuration&gt;
  </code></pre>
  
  <p>When I try to consume the service, I am getting an error like this:</p>
  
  <pre><code>Error: 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 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.System.Exception {System.ServiceModel.FaultException}
  </code></pre>
  
  <p>I am not sure what the problem is.</p>