Enter the URL in the browser: ' http://localhost/test.aspx ' The following error message appears:
The XML page could not be displayed.
XML input cannot be viewed using XSL style sheets. Please correct the error and click the Refresh button, or try again later.
--------------------------------------------------------------------------------
The name begins with an invalid character. An error occurred while processing the resource ' http://localhost/test.aspx '. Line 1th, Location: 2
<%@ page language= "C #" .... %>
-^
It's obvious that. NET doesn't work and looks for it on the Internet, the solution is as follows: (Gray for the command line input and output content)
1. Find the location of. NET mine is in C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727 everyone with according to their position, the general difference is not small.
(Open cmd input cd C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727 )
C:\CD C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
2. Run aspnet_regiis.exe/i (just continue typing in cmd:aspnet_regiis.exe/i) and wait a moment.
c:\windows\microsoft.net\framework\v2.0.50727>aspnet_regiis.exe/i
Start installation of ASP. NET (2.0.50727).
........................
ASP. NET (2.0.50727) installation is complete.
3, this is OK. Enter the URL in the browser: ' Http://localhost/test.aspx ' on it.
WebService error: Unable to view XML input using XSL style sheet