c# - MS sync with WCF: The request operation did not complete within the allotted timeout of 00:01:00 -
i'm quite new sync framework, have quite challenging task @ hand...we developing application sync client/server databases need use http protocol (using services) access server database. getting exception
the request channel timed out while waiting reply after 00:00:55.1217210. increase timeout value passed call request or increase sendtimeout value on binding. time allotted operation may have been portion of longer timeout.
stacktrace:
server stack trace: @ system.servicemodel.channels.requestchannel.request(message message, timespan timeout) @ system.servicemodel.dispatcher.requestchannelbinder.request(message message, timespan timeout) @ system.servicemodel.channels.servicechannel.call(string action, boolean oneway, proxyoperationruntime operation, object[] ins, object[] outs, timespan timeout) @ system.servicemodel.channels.servicechannelproxy.invokeservice(imethodcallmessage methodcall, proxyoperationruntime operation) @ system.servicemodel.channels.servicechannelproxy.invoke(imessage message)
exception rethrown @ [0]: @ system.runtime.remoting.proxies.realproxy.handlereturnmessage(imessage reqmsg, imessage retmsg) @ system.runtime.remoting.proxies.realproxy.privateinvoke(messagedata& msgdata, int32 type) @ autocrib.sync.appservice.iservice1.getchanges(uint32 batchsize, syncknowledge destinationknowledge) @ autocrib.sync.ui.relationalproviderproxy.getchangebatch(uint32 batchsize, syncknowledge destinationknowledge, object& changedataretriever) in d:\aspsync7.0\aspsync7.0\autocrib.sync.winform\relationalproviderproxy.cs:line 92 @ microsoft.synchronization.knowledgeproviderproxy.getchangebatch(uint32 dwbatchsize, isyncknowledge psyncknowledge, isyncchangebatch& ppchangebatch, object& ppunkdataretriever)
server web.config
<wshttpbinding> <binding name="largemessagehttpbinding" maxreceivedmessagesize="1004857600" maxbufferpoolsize="1004857600" closetimeout="00:1:00" opentimeout="00:1:00" receivetimeout="00:1:00" >sendtimeout="00:1:00"> <readerquotas maxarraylength="2147483647" maxbytesperread="2147483647"/> enter code here`<security mode="none"/> <reliablesession enabled="true" inactivitytimeout="00:00:59"/> </binding> </wshttpbinding>
Comments
Post a Comment