Hi. I have just hosted a couple of Silverlight applications and that works fine, however, integration into my WCF services does not work at all. I'm experiencing massive problems trying to host a WCF service on my account. I have followed the instructions I have found on numerous posts in the forum etc - but not getting anywhere. Once the service is deployed, it seems to be impossible to access the .svc file. If I do it from within Visual Studio I get the following error: The document at the url http://www.dezionlabs.com/Service.svc was not recognized as a known document type. The error message from each known type may help you fix the problem: - Report from 'DISCO Document' is 'Name cannot begin with the '%' character, hexadecimal value 0x25. Line 1, position 2.'. - Report from 'WSDL Document' is 'There is an error in XML document (1, 2).'. - Name cannot begin with the '%' character, hexadecimal value 0x25. Line 1, position 2. - Report from 'XML Schema' is 'Name cannot begin with the '%' character, hexadecimal value 0x25. Line 1, position 2.'. Metadata contains a reference that cannot be resolved: 'http://www.dezionlabs.com/Service.svc'. The remote server returned an unexpected response: (405) Method Not Allowed. The remote server returned an error: (405) Method Not Allowed. If the service is defined in the current solution, try building the solution and adding the service reference again. If I try to access it through the browser, it attempts to download the file !! I have run all of this successfully on my local IIS 7, however, problems occur when I deploy. I am ideally hoping to host the WCF service in a sub-directory (which is itself an application). Is there something I am missing here? Any help would be appreciated.
Resolved . It turns out IIS 7 was not configured to support .svc files. It required the addition of a Managed Handler & Script Handler to support them.