Click here to Skip to main content
15,896,726 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi
I write one wcf service in c#.net. I call the service through the AJAX request model.
In service succes i did not get the response text, the response text is returns as empty. I run the service in browser and there also returns empty. This particular service are having 28292 records. But all other services are running perfect in Ajax request and returns below 1000 records. I found out the error is in webconfig, but i dont know how can i resolve that. My webconfig is given below.
XML
 <behaviors>
      <serviceBehaviors>
        <behavior name="iPadReportServiceBehavior">
          <serviceMetadata httpGetEnabled="true"/>
          <serviceDebug includeExceptionDetailInFaults="false"/>
        </behavior>
      </serviceBehaviors>
      <endpointBehaviors>
        <behavior name="iPadReportServiceBehavior">
          <webHttp/>
        </behavior>
      </endpointBehaviors>
    </behaviors>
    <bindings>
      <basicHttpBinding>
        <binding name="iPadReportServiceBinding" maxReceivedMessageSize="2147483647" maxBufferSize="2147483647" allowCookies="true" transferMode="Streamed">
          <readerQuotas maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxStringContentLength="2147483647"/>
        </binding>
      </basicHttpBinding>
    </bindings>
    <services>
      <service behaviorConfiguration="iPadReportServiceBehavior" name="iPadReportService">
        <endpoint address="" binding="webHttpBinding" behaviorConfiguration="iPadReportServiceBehavior" contract="IiPadReportService" >
          <identity>
            <dns value="localhost" />
          </identity>
        </endpoint>
        <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
      </service>
    </services>


Please give me a quick results
Posted
Updated 17-Apr-12 2:00am
v2
Comments
ZurdoDev 17-Apr-12 8:00am    
If you know the error is in web.config, what part is the error and how do you fix that?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900