Last post Nov 12, 2009 06:06 AM by email@example.com
Nov 12, 2009 12:54 AM|rajuls|LINK
Hi My problem is I have hosted my wcf service on IIS 5.1 on machine 'A', it is working fine and on trying to consume it in my web application on machine 'Web'.
I am able to consume it. But when i hosted it on Machine 'B', it is working fine. I tried it to consume it locally, I am able to do it. But when I tried to consume it on machine 'Web', i am getting the following error: The document at the url http://MacB/WCF11/service1.svc
was not recognized as a known document type. The error message from each known type may help you fix the problem: - Report from 'http://MacB/WCF11/service1.svc' is 'The document format is not recognized (the content type is 'text/html; charset=UTF-8').'. -
Report from 'DISCO Document' is 'There was an error downloading 'http://MacB/WCF11/Service1.svc?disco'.'. - The remote name could not be resolved: 'MacB' - Report from 'WSDL Document' is 'The document format is not recognized (the content type is 'text/html;
charset=UTF-8').'. - Report from 'XML Schema' is 'The document format is not recognized (the content type is 'text/html; charset=UTF-8').'. Metadata contains a reference that cannot be resolved: 'http://MacB/WCF11/service1.svc'. Content Type application/soap+xml;
charset=utf-8 was not supported by service http://MacB/service1.svc. The client and service bindings may be mismatched. The remote server returned an error: (415) Unsupported Media Type. If the service is defined in the current solution, try building the solution
and adding the service reference again. :( please help me out...
Nov 12, 2009 06:06 AMfirstname.lastname@example.org|LINK
Register svc extenstion in IIS