Answered by:
WCF - Communication Error

Question
-
User-665281982 posted
I have published WCF services on a server. When trying to access it through the browser, it's alright. But when trying to consume, always gives communication error. And are all the services. What can it be? On another server, the problem does not occur.
thank youSaturday, February 9, 2013 2:29 PM
Answers
-
User614805505 posted
Hi,
<serviceSecurityAudit auditLogLocation="Application" serviceAuthorizationAuditLevel="Failure" messageAuthenticationAuditLevel="Failure" suppressAuditFailure="true" />
Please include this into your Service Behavior and refer to the link below for more detail.
http://msdn.microsoft.com/en-us/library/ms731694.aspx
After than, show us the error message.
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Tuesday, February 12, 2013 9:56 PM
All replies
-
User197322208 posted
always gives communication error.What error?
Saturday, February 9, 2013 2:58 PM -
User-665281982 posted
I can not say specifically what error ... When checking the exception I see is a kind of generic exception ... It may be some firewall?
Saturday, February 9, 2013 3:39 PM -
User-1000095884 posted
But when trying to consume, always gives communication error. And are all the services. What can it be?How do you try to consume the service? Please try inspect the error with fiddler. You can check if the firewall is blocking the request. If you are using net.tcp, make sure Net.Tcp Listener Adapter and Net.Tcp Port Sharing Service are running on the server.
Best Regards.
Monday, February 11, 2013 11:12 PM -
User197322208 posted
I can not say specifically what error ... When checking the exception I see is a kind of generic exception ... It may be some firewall?
Full error, please. and check inner exception too
Tuesday, February 12, 2013 9:30 PM -
User614805505 posted
Hi,
<serviceSecurityAudit auditLogLocation="Application" serviceAuthorizationAuditLevel="Failure" messageAuthenticationAuditLevel="Failure" suppressAuditFailure="true" />
Please include this into your Service Behavior and refer to the link below for more detail.
http://msdn.microsoft.com/en-us/library/ms731694.aspx
After than, show us the error message.
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Tuesday, February 12, 2013 9:56 PM