Troubleshooting WCF deployment issues of Silverlight Site on IIS

By Santhosh N

This explains how to troubleshoot the deployment issues of WCF access after deploying the Silverlight sites on IIS

There are many instances when users might face access issues of WCF while deploying the Silverlight site on ISS.
This is one of the common errors you receive most of the times:

CommunicationException
System.ServiceModel.CommunicationException was unhandled by user code
Message="The remote server returned an error: NotFound."


Here are the steps and tips to troubleshoot these kind of issues:

1) Configure the serviceDebug to show the exception details on the client side for debugging purposes.
This could be configured as below:
<serviceDebug includeExceptionDetailInFaults="true" />

Note: Make sure to disable this after debugging.

2) Most of the times, the real issue could be the permission issue for any resource on the server.  Check the permissions required for the resources such as read and write local file or databases and grant these permissions to the service running account.

3) To check the client side issues, one could use fiddler tool to capture the network traffic and analyse.

Related FAQs

This explains the difference between the different versions of the Silverlight
Troubleshooting WCF deployment issues of Silverlight Site on IIS  (1074 Views)