SALVA A TUTTI,
STO UTILIZZANDO UN SERVIZIO WCF IL QUALE FORNISCE I DATI AL CLIENT WPF IL TUTTO IN AMBIENTE IIS7.
FUNZIONA TUTTO PERFETTAMENTE, SE NON FOSSE PER IL FATTO CHE SUPERATE LE CIRCA 7000 RIGHE DI UNA TABELLA MI DA IL SEGUENTE ERRORE:
System.ServiceModel.ComunicationExeption:
Il server non è stato in grado di fornire una risposta significativa. Ciò potrebbe essere causato da un contratto non corrispondente, un arresto prematuro della sessione o un errore server interno.
HO PROVATO AD AUMENTARE I VALORI MAXRECIVE ECC...MA NULLA VARIA.
STAVO PENSANDO CHE FORSE POTEVA BLOCCARMI LO STESSO IIS
IL CODICE RELATIVO AL CLIENT WPF:
<bindings>
<wsHttpBinding>
<binding name="WSHttpBinding_IService1" closeTimeout="00:05:00"
openTimeout="00:05:00" receiveTimeout="00:10:00" sendTimeout="00:05:00"
bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard"
maxBufferPoolSize="4147483647" maxReceivedMessageSize="2147483647"
messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true"
allowCookies="false">
<readerQuotas maxDepth="32" maxStringContentLength="2147483647"
maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
<reliableSession ordered="true" inactivityTimeout="00:10:00"
enabled="false" />
<security mode="Message">
<transport clientCredentialType="Windows" proxyCredentialType="None"
realm="">
<extendedProtectionPolicy policyEnforcement="Never" />
</transport>
<message clientCredentialType="Windows" negotiateServiceCredential="true"
algorithmSuite="Default" establishSecurityContext="true" />
</security>
</binding>
</wsHttpBinding>
</bindings>
<client>
<endpoint address="http://127.0.0.1:83/Service1.svc" binding="wsHttpBinding"
bindingConfiguration="WSHttpBinding_IService1" contract="WG7_Service.IService1"
name="WSHttpBinding_IService1">
<identity>
<servicePrincipalName value="host/pc-frenz" />
</identity>
</endpoint>
</client>
IL CODICE RELATIVO AL SERVICE WCF:
<basicHttpBinding>
<binding name="MyBinding"
maxReceivedMessageSize="2147483647" maxBufferPoolSize="2147483647">
<readerQuotas
maxArrayLength="2147483647" maxStringContentLength="2147483647" maxNameTableCharCount="16400" maxBytesPerRead="2147483647" />
</binding>
</basicHttpBinding>
</bindings>
<services>
<service behaviorConfiguration="IrideService.Service1Behavior" name="WG7_Service.Service1">
<endpoint address="" binding="wsHttpBinding" contract="WG7_Service.IService1">
</endpoint>
<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
</service>
</services>