0
votes

In my project am using WCF Service hosted in Windows Service. Am able to get service reference of my wcf service to my Silverlight Application, But when i call a method in wcf service am getting error as follows :

Protocol exception was Unhandled by User-Code :

The server at net.tcp://localhost:4502/WCFHost/ rejected the session-establishment request.

Please help me out

1

1 Answers

0
votes

The problem is most likely a missing/incorrect client access policy. This article walks you through setting it up. Just ignore the IIS related stuff and make sure you have the policy correct.