500 - Internal server error. There is a problem with the resource you are looking for, and it cannot be displayed.
I have a project in which i uses the wcf service for fetching data from the database. In local host my project is working absolutely fine. When i implemented my project on the server and browse my wcf service i got the following error:-
500 - Internal server error.
There is a problem with the resource you are looking for, and it cannot be displayed.
because of this i m not able to fetch data from the database.
I can browse my wcf service in the local host.
Also, when i tried to create a service reference of the service which i have placed on the server from the localhost i got the followng error:-Metadata contains a reference that cannot be resolved:
The content type text/html of the response message does not match the content type of the binding (application/soap+xml; charset=utf-8). If using a custom encoder, be sure that the IsContentTypeSupported method is implemented properly.
do you the ServiceReference.ClientConfig file in your main silverlight project? ( the project that generates the XAP )
if yes, do you have the server url point to the correct URL? probably should not be localhost and should be something else (machinename:port).
have you registered the WCF in your IIS?