Return MembershipUser using WCF service

前端 未结 2 1645
慢半拍i
慢半拍i 2021-01-25 01:13

I have WCF service to get users from the ActiveDirectory. I receive parameter from the request (user name) and create response with MembershipUser property. from some reason, th

2条回答
  •  我在风中等你
    2021-01-25 02:17

    Turn on WCF diagnostic tracing to see the error that is causing the connection to be closed. It could originate on the client or the service, so you'll have to turn it on for both sides.

    How to turn on tracing: http://msdn.microsoft.com/en-us/library/ms733025.aspx

    Using the Service Trace Viewer to read trace logs: http://msdn.microsoft.com/en-us/library/aa751795(VS.85).aspx

提交回复
热议问题