Error Details:
The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
A name was started with an invalid character. Error processing resource
‘http://SENWIN2008/WCF/Service/’
<%@ ServiceHost Language="C#" Debug="true" Service="Service Name" CodeBehind="Service.svc.cs" %>
Resolution
- Check whether the IIS site is configured for .NET 2.0, in the ASP.NET tab of the properties, in some cases the ASP.NET will be 1.1 reference.
- If the above is not solved, may be the order of installation of .NET is wrong. Always need to install IIS and then .NET 3.5. If thats the case run the ServiceModelReg.exe from the framework folder this should solve the issue.