title: net::ERR_CONNECTION_RESET REST WCF
body: <p>Hello so i've made rest wcf and trying to get some object call is done and after it return list of object i get msg:</p>
  
  <pre><code>GET http://localhost/ESService/ESService.svc/GetExecutiveSummariesByBuyer?buyerId=1 net::ERR_CONNECTION_RESET
  </code></pre>
  
  <p>I've checked google there was some info to add this to webconfig:</p>
  
  <pre><code> &lt;behavior name="restfulBehavior"&gt;
      &lt;dataContractSerializer maxItemsInObjectGraph="1234567" /&gt;
        &lt;webHttp /&gt;
      &lt;/behavior&gt;
  </code></pre>
  
  <p>But still no luck same answer from server:
  here is my datacontract</p>
  
  <pre><code>using System;
  using System.Runtime.Serialization;
  
  namespace ESContracts
  {
  [DataContract]
  public class ExecutiveSummaries
  {
      [DataMember] public int BuyerID;
      [DataMember] public DateTime CheckOutDate;
      [DataMember] public int CheckOutPerson;
      [DataMember] public DateTime CreateDate;
      [DataMember] public int CreatedBy;
      [DataMember] public int CustomerID;
      [DataMember] public bool Deleted;
      [DataMember] public int DeletedBy;
      [DataMember] public DateTime DeletedDate;
      [DataMember] public int ESStatusID;
      [DataMember] public int ID;
      [DataMember] public bool IsDecisionGroup;
      [DataMember] public bool IsWritingStyleFormal;
      [DataMember] public int ModifiedBy;
      [DataMember] public DateTime ModifiedDate;
      [DataMember] public string OpportunityTitle;
      [DataMember] public string Step2_Achievement;
      [DataMember] public int Step2_ComplianceID;
      [DataMember] public string Step2_Intention;
      [DataMember] public string Step2_SolutionAttribute;
  }
  }
  </code></pre>
  
  <p>--edit </p>
  
  <p>i forgot to add interface definition:) </p>
  
  <pre><code>    [ServiceContract]
     public interface IESService{....
  
  
      [OperationContract]
      [WebInvoke(
          Method = "GET",
          ResponseFormat = WebMessageFormat.Json,
          UriTemplate = "GetExecutiveSummariesByBuyer?buyerId={BuyerId}")]
      List&lt;ExecutiveSummaries&gt; GetExecutiveSummariesByBuyer(string BuyerId);
  </code></pre>
  
  <p>when i changed datetime to string it's working any ideas?</p>