c# - WCF service failing to carry large array of from DAL to MVC -


i have wcf service returning data of 6500 rows of data list. when trying retrieve data service throwing error - error occurred while receiving http response http://myservice.mydomain.com/services/mytestservice.svc. due service endpoint binding not using http protocol. due http request context being aborted server (possibly due service shutting down). see server logs more details

i have tried increase time in configuration still issue persists.

in trace getting same below :

trace log showing error same below : error occurred while receiving http response http://myservice.mydomain.com/services/mytestservice.svc. due service endpoint binding not using http protocol. due http request context being aborted server (possibly due service shutting down). see server logs more details.

stack trace:

system.servicemodel.channels.httpchannelutilities.processgetresponsewebexception(webexception webexception, httpwebrequest request, httpabortreason abortreason) system.servicemodel.channels.httpchannelfactory`1.httprequestchannel.httpchannelrequest.waitforreply(timespan timeout) 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)

the first thing should set , start using service trace viewer tool, allow drill further down specific call , find out error is.

http://msdn.microsoft.com/en-us/library/ms732023(v=vs.110).aspx

http://msdn.microsoft.com/en-us/library/ms751526(v=vs.110).aspx

once , running can run code , view specific error getting, quite able tell field or object causing error. error getting in debug sign failed, need use trace viewer see what.

without actual error logging, it's hard causing error, common cause lack of proper serialization on object being returned service.

edit:

looking @ stack trace looks may have cyclical reference somewhere in object being returned, you'll need add isreference=true flag offending objects http://msdn.microsoft.com/en-us/library/system.runtime.serialization.datacontractattribute.isreference(v=vs.95).aspx

if can post code object(s) being returned may able better point @ issue.

edit 2: also, if can post xml exception in svclog file (copy contents of xml tabl in service trace viewer), shed further light also.


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -