tags:

views:

38

answers:

0

I have the the following scenario:

MyWCFProject.dll - this is a WCF service which is hosted in IIS at http://mywebsite/

MyWebProject.dll - this is an MVC project which displays the webpages for the site also hosted by IIS at http://mywebsite/

MySilverlight.xap - a silverlight application.

MyWCFProject.dll has a number of services. MySilverlight can connect to those services over the internet and its all good. I want MyWebProject to access those same services. However, when it tries to connect using the same address as the MySilverlight project uses, e.g. http://mywebsite/myservice.svc, I get the error:

"A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond xxx.xxx.xxx.xxx:80".

The endpoints are created in code so MyWebProject.dll should be finding it ok. The address shown in the website is the correct one.

Now I know its going to be some sort of config issue but I am not sure what I am looking for.

Jeff