The client object model code in my application is throwing the following exception. How to solve it?.
System.ServiceModel.ServiceActivationException: The service '/_vti_bin/client.svc' cannot be activated due to an exception during compilation. The exception message is: A relative URI cannot be created because the 'uriString' parameter represents an absolute URI.http://Servername.DomainName:10000/_vti_bin/client.svc. ---> System.UriFormatException: A relative URI cannot be created because the 'uriString' parameter represents an absolute URI.http://Servername.DomainName:10000/_vti_bin/client.svc
System.ServiceModel.ServiceActivationException: The service '/_vti_bin/client.svc' cannot be activated due to an exception during compilation. The exception message is: A relative URI cannot be created because the 'uriString' parameter represents an absolute URI.http://Servername.DomainName:10000/_vti_bin/client.svc. ---> System.UriFormatException: A relative URI cannot be created because the 'uriString' parameter represents an absolute URI.http://Servername.DomainName:10000/_vti_bin/client.svc