Reputation: 73
I have two asp.net web applications talking to each other through WCF. Two applications are developed in two different localhosts. Once the developement is successful, we Published them to same test server. Now when one of the application is trying to call the service in another applciation .. it throwing error..remote name could not be resolved. Can any one suggest me how to resolve this?
Upvotes: 0
Views: 3956
Reputation: 8107
As @Dhawalk mentioned, confgs will be very helpful.
Generally, this error usually means that your "service address" is wrong - check the value of your client's endpoint. By default, you'll find it in client's app.config, in section of serviceModel.
Something like (for basicHTTPBinding)
. . .
<client>
<endpoint address="http://YOUR_SERVER_NAME/SERVICE_NAME" ...
. . .
Ensure that you can access this url from your "client's" application
Upvotes: 1