wcf service stops after few requests -


I am working on an application where I am using a wcf service I currently serve my localhost I'm hosting this and only accessing it by adding service context to my project, on one of my pages, I'm sending a request on the change of selected index on the dropdown list. This works well for some requests first, but after the following approval is given a sudden shutdown

" failed to invoke the service. Possible reasons: Service is offline or inaccessible ; The client-side configuration does not match the proxy, the current proxy is invalid.View stack trace for more details.You start a new proxy, restore the default configuration or save You can try to recover from refresh. "

How can I stop the service without any reason and that too from my localhost it only works for the first 3-4 requests In service I am sending an integer and using a class in a general list, I am returning records on my own basis.

Thanks in advance

What protocol / binding are you using? Can you show us the config? & lt; System.service model & gt; Anything on both server and client side inside .

Do you probably create a client proxy and call the service method and do not stop properly and do not settle the client proxy? In that case, you can get out of the connection at some point - but it is next to impossible to tell without code what are you doing. Can you show us service contracts in question, and how do you call it from the client side?


Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -