Symptom:
You are getting the following error message:
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://localhost/xxx.aspx. Line 1, ...
Description:
This is mostly due to incomplete registration of the new .NET framework installation. but why such an irrelevant error message? Errr... don't ask :p
Resolution:
a) Re-register the .NET framework, similar to this KB.
306005 How to repair IIS mapping after you remove and reinstall IIS
Just ensure you are in the correct 'version' folder...then execute the following command.
"%windir%\Microsoft.NET\Framework\version\aspnet_regiis.exe" -i
b) There are few instances that Step a) may not complete solve the problem. Hence, what you can try next is to reinstall the .NET Framework package via Control Panel - Add or Remove Programs.