views:

81

answers:

1

I have a Silverlight/RIA application that worked fine locally and on my IIS 7 server. Now that I've moved it to Azure, I'm getting EndpointNotFoundExceptions. Can you provide me with any help to try to figure out why this is happening?

[EndpointNotFoundException]: There was no channel actively listening at
'http://rd00155d3a15d6:20000/Services/WebApp-RIAServices-
DomainService.svc/binary/SeviceEndpoint

ive seen the solution for wcf services here http://social.msdn.microsoft.com/Forums/en-US/windowsazure/thread/d8ef1095-9c82-40d5-8f48-b2279578df1d but im not sure if this is also applicable for ria services

Im guessing the port number 2000, which is the azure instance port is causing the issue

A: 

Check this post by Nikhil Kothari: http://www.nikhilk.net/RIA-Services-MIX09.aspx

maartenba
thanks but i can really find anything that helps me
tom
Are you running .NET 3.5 or 4.0? The 4.0 version of WCF ria services should not have this behaviour.
maartenba
im running .net 4.0, thanks
tom
@maarenba do you have any pointer on how to deal with this issue, or how it was dealt with in .net 3.5 as im geting a bit short on time and i can see references online that could help
tom
The main problem is that the Windows Azure is listening on HTTP port 80, but that the internal role instances are on port 20000. For ASP.NET you can simply do some output rewriting and you are done, however I do not immediately have an idea for WCF RIA services. Did you post on the MSDN Azure forum?
maartenba
Thanks maartenba
tom