Error consuming cloud WCF through ASP.NET client but it works with the console based clientI have a WCF service deployed at azure live cloud.  I am able to consume the cloud deployed wcf service through a console based client running on my local machine.   But when i try to consume the cloud wcf service through ASP.NET web application running on my local machine it gives me an error.  <br/>Exception:&quot;There was no endpoint listening at <a href="http://____.cloudapp.net/___.svc">http://____.cloudapp.net/___.svc</a> that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.&quot;<br/>Inner Exception:&quot;The remote name could not be resolved: '____.cloudapp.net'&quot;© 2009 Microsoft Corporation. All rights reserved.Wed, 08 Jul 2009 11:27:25 Z7aaa390a-e870-4d16-8715-66aec70825d5http://social.msdn.microsoft.com/Forums/en-US/windowsazure/thread/7aaa390a-e870-4d16-8715-66aec70825d5#7aaa390a-e870-4d16-8715-66aec70825d5http://social.msdn.microsoft.com/Forums/en-US/windowsazure/thread/7aaa390a-e870-4d16-8715-66aec70825d5#7aaa390a-e870-4d16-8715-66aec70825d5nikhil_chinchwadehttp://social.msdn.microsoft.com/Profile/en-US/?user=nikhil_chinchwadeError consuming cloud WCF through ASP.NET client but it works with the console based clientI have a WCF service deployed at azure live cloud.  I am able to consume the cloud deployed wcf service through a console based client running on my local machine.   But when i try to consume the cloud wcf service through ASP.NET web application running on my local machine it gives me an error.  <br/>Exception:&quot;There was no endpoint listening at <a href="http://____.cloudapp.net/___.svc">http://____.cloudapp.net/___.svc</a> that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.&quot;<br/>Inner Exception:&quot;The remote name could not be resolved: '____.cloudapp.net'&quot;Fri, 03 Jul 2009 07:52:14 Z2009-07-03T07:52:14Zhttp://social.msdn.microsoft.com/Forums/en-US/windowsazure/thread/7aaa390a-e870-4d16-8715-66aec70825d5#d97af06d-4d16-490d-8da2-78232bdd2bb1http://social.msdn.microsoft.com/Forums/en-US/windowsazure/thread/7aaa390a-e870-4d16-8715-66aec70825d5#d97af06d-4d16-490d-8da2-78232bdd2bb1Yi-Lun Luohttp://social.msdn.microsoft.com/Profile/en-US/?user=Yi-Lun%20LuoError consuming cloud WCF through ASP.NET client but it works with the console based clientHello, since you an consume the service from a console application, I think the service is working fine. The problem is on the client side. Can you compare the configuration and code between the console application and the ASP.NET application? Are there any differences?<hr class="sig">Lante, shanaolanxing This posting is provided &quot;AS IS&quot; with no warranties, and confers no rights.Fri, 03 Jul 2009 09:07:17 Z2009-07-03T09:07:17Zhttp://social.msdn.microsoft.com/Forums/en-US/windowsazure/thread/7aaa390a-e870-4d16-8715-66aec70825d5#9df797a0-6434-48af-a0c9-b8577a2141e2http://social.msdn.microsoft.com/Forums/en-US/windowsazure/thread/7aaa390a-e870-4d16-8715-66aec70825d5#9df797a0-6434-48af-a0c9-b8577a2141e2nikhil_chinchwadehttp://social.msdn.microsoft.com/Profile/en-US/?user=nikhil_chinchwadeError consuming cloud WCF through ASP.NET client but it works with the console based clienthey thanks for replying:).   I have already compared two of the configuration files and those look more than similar :).  Does anyone have any idea regarding this??Mon, 06 Jul 2009 05:46:03 Z2009-07-06T05:46:03Zhttp://social.msdn.microsoft.com/Forums/en-US/windowsazure/thread/7aaa390a-e870-4d16-8715-66aec70825d5#0305962e-3b72-444d-bb3c-8d2a8316fb0chttp://social.msdn.microsoft.com/Forums/en-US/windowsazure/thread/7aaa390a-e870-4d16-8715-66aec70825d5#0305962e-3b72-444d-bb3c-8d2a8316fb0cYi-Lun Luohttp://social.msdn.microsoft.com/Profile/en-US/?user=Yi-Lun%20LuoError consuming cloud WCF through ASP.NET client but it works with the console based clientAre you behind a proxy? You can try to add the following to your configuration file. But if proxy is the problem, it can't describe why it works in a console application...<br/><br/><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small"><font size=2 color="#0000ff"><font size=2 color="#0000ff"> <p>&lt;</p> </font></font></span><font size=2 color="#0000ff"> <p> </p> </font></span> <p><span style="color:#a31515;font-size:x-small"><span style="color:#a31515;font-size:x-small">system.net</span></span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">&gt;<font size=2 color="#0000ff"><font size=2 color="#0000ff"> <p>&lt;</p> </font></font></span><font size=2 color="#0000ff"> <p> </p> </font></span></p> <p><span style="color:#a31515;font-size:x-small"><span style="color:#a31515;font-size:x-small">defaultProxy</span></span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">&gt;<font size=2 color="#0000ff"><font size=2 color="#0000ff"> <p>&lt;</p> </font></font></span><font size=2 color="#0000ff"> <p> </p> </font></span></p> <p><span style="color:#a31515;font-size:x-small"><span style="color:#a31515;font-size:x-small">proxy</span></span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small"> </span></span><span style="color:#ff0000;font-size:x-small"><span style="color:#ff0000;font-size:x-small">proxyaddress</span></span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">=</span></span><span style="font-size:x-small">&quot;</span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">youraddress</span></span><span style="font-size:x-small">&quot;</span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">/&gt;<font size=2 color="#0000ff"><font size=2 color="#0000ff"> <p>&lt;/</p> </font></font></span><font size=2 color="#0000ff"> <p> </p> </font></span></p> <p><span style="color:#a31515;font-size:x-small"><span style="color:#a31515;font-size:x-small">defaultProxy</span></span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">&gt;<font size=2 color="#0000ff"><font size=2 color="#0000ff"> <p>&lt;/</p> </font></font></span><font size=2 color="#0000ff"> <p> </p> </font></span></p> <p><span style="color:#a31515;font-size:x-small"><span style="color:#a31515;font-size:x-small">system.net</span></span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">&gt;</span></span></p>  <hr class="sig">Lante, shanaolanxing This posting is provided &quot;AS IS&quot; with no warranties, and confers no rights.Mon, 06 Jul 2009 07:01:53 Z2009-07-06T07:01:53Zhttp://social.msdn.microsoft.com/Forums/en-US/windowsazure/thread/7aaa390a-e870-4d16-8715-66aec70825d5#e8b67e6c-75a7-45ae-a316-c8566921ed38http://social.msdn.microsoft.com/Forums/en-US/windowsazure/thread/7aaa390a-e870-4d16-8715-66aec70825d5#e8b67e6c-75a7-45ae-a316-c8566921ed38nikhil_chinchwadehttp://social.msdn.microsoft.com/Profile/en-US/?user=nikhil_chinchwadeError consuming cloud WCF through ASP.NET client but it works with the console based client<p>I guess even that is not the problem, still i am trying out the solution.  I have a reason for that:  If I configure the WCF service consumers in a web role and a worker role and upload it to azure live cloud, my worker role is able to consume the wcf service but not the web role.<br/><br/>Is it by any chance a problem with azure itself??  I am really confused.</p>Mon, 06 Jul 2009 09:43:49 Z2009-07-06T09:43:49Zhttp://social.msdn.microsoft.com/Forums/en-US/windowsazure/thread/7aaa390a-e870-4d16-8715-66aec70825d5#17e3952f-5005-49ad-b564-67455b776ffahttp://social.msdn.microsoft.com/Forums/en-US/windowsazure/thread/7aaa390a-e870-4d16-8715-66aec70825d5#17e3952f-5005-49ad-b564-67455b776ffanikhil_chinchwadehttp://social.msdn.microsoft.com/Profile/en-US/?user=nikhil_chinchwadeError consuming cloud WCF through ASP.NET client but it works with the console based clientI could resolve the problem. My client application is running in corpnet and trying to consume WCF service on azure. It was somehow related to proxy servers. But i am still not sure why it was working with console application. The issue was with IAS server. Either my IIS could not find the IAS server or IAS server has some firewall configuration rules. Installing Firewall client management tool and enabling it allowed me to solve the problem. Any clarifications on this? Why this happenes? Tue, 07 Jul 2009 10:10:57 Z2009-07-07T10:10:57Zhttp://social.msdn.microsoft.com/Forums/en-US/windowsazure/thread/7aaa390a-e870-4d16-8715-66aec70825d5#1bb8fb12-5c54-4066-9946-3f0ee7e44723http://social.msdn.microsoft.com/Forums/en-US/windowsazure/thread/7aaa390a-e870-4d16-8715-66aec70825d5#1bb8fb12-5c54-4066-9946-3f0ee7e44723Yi-Lun Luohttp://social.msdn.microsoft.com/Profile/en-US/?user=Yi-Lun%20LuoError consuming cloud WCF through ASP.NET client but it works with the console based clientOne possible cause is your proxy server requires authentication, and IIS does not pass your Windows identity to the proxy server. If this is the case, you can refer to <a href="http://blogs.msdn.com/stcheng/archive/2008/12/03/wcf-how-to-supply-dedicated-credentials-for-webproxy-authentication.aspx">http://blogs.msdn.com/stcheng/archive/2008/12/03/wcf-how-to-supply-dedicated-credentials-for-webproxy-authentication.aspx</a> to see if it solves the problem.<hr class="sig">Lante, shanaolanxing This posting is provided &quot;AS IS&quot; with no warranties, and confers no rights.Tue, 07 Jul 2009 10:16:27 Z2009-07-07T10:16:27Z