wpf - how to debug System.ServiceModel.FaultException in WCF? -
i new can't seem meaningful (to me) debugging information. there "best" or "good" method trace error this?
i have client wpf application on laptop addresses separate server running wcf hosted in iis 7. services on server added client project "add service reference". service configured provide asynchronous methods , updated on in client.
when run, maintain getting:
system.servicemodel.faultexception: server unable process request internal error. more inforamtion error, either turn on includeexceptiondetailinfaults configuration behavior) on server in order sent exception infomration client, or turn on tracing per microsoft .net frameowrk sdk documentation , inspect .server trace logs.
i have been unable trace or maintain missing solution. (and don't know error coming from).
any ideas?
here client app.config file (where think error -- wrong!):
<system.servicemodel> <bindings> <basichttpbinding> <binding name="basichttpbinding_inovadataservice" /> <binding name="basichttpbinding_inovadataservice1" /> <binding name="basichttpbinding_inovadataservice2" /> </basichttpbinding> </bindings> <client> <endpoint name="mylocalservice" address="http://localhost/novawebsite/nova.svc" binding="basichttpbinding" bindingconfiguration="basichttpbinding_inovadataservice" contract="dataservice.inovadataservice" /> <endpoint name="libraryservice" address="http://192.168.1.100:43175/novawebsite/nova.svc" binding="basichttpbinding" bindingconfiguration="basichttpbinding_inovadataservice1" contract="dataservice.inovadataservice" /> <endpoint name="officeservice" address="http://10.0.11.100:43175/novawebsite/nova.svc" binding="basichttpbinding" bindingconfiguration="basichttpbinding_inovadataservice2" contract="officeservice.inovadataservice" /> </client> </system.servicemodel> i'm thinking there good/simple way utilize single
contract="dataservice.inovadataservice" but alter address endpoint in code (i know dataservice.inovadataservice contract work correctly).
any suggestions sure appreciated.
wpf visual-studio-2010 wcf
No comments:
Post a Comment