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 you
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.
Please mark the replies as answers if they help or unmark if not.
Feedback to us
atiliosud
Member
78 Points
93 Posts
WCF - Communication Error
Feb 09, 2013 06:29 PM|LINK
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 you
ignatandrei
All-Star
137682 Points
22147 Posts
Moderator
MVP
Re: WCF - Communication Error
Feb 09, 2013 06:58 PM|LINK
What error?
atiliosud
Member
78 Points
93 Posts
Re: WCF - Communication Error
Feb 09, 2013 07:39 PM|LINK
I can not say specifically what error ... When checking the exception I see is a kind of generic exception ... It may be some firewall?
Haixia Xie -...
Contributor
3087 Points
298 Posts
Microsoft
Re: WCF - Communication Error
Feb 12, 2013 03:12 AM|LINK
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.
Feedback to us
Develop and promote your apps in Windows Store
ignatandrei
All-Star
137682 Points
22147 Posts
Moderator
MVP
Re: WCF - Communication Error
Feb 13, 2013 01:30 AM|LINK
Full error, please. and check inner exception too
CruzerB
Contributor
5399 Points
1098 Posts
Re: WCF - Communication Error
Feb 13, 2013 01:56 AM|LINK
Hi,
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.
My Technical Blog