The XML page cannot be displayed.
You cannot view XML input using a style sheet. Correct the error and click Refresh or try again later.
--------------------------------------------------------------------------------
Process resources
Http: // localhost/Asp.net/Default.aspx Error. Row 1st, Location: 2
<% @ Page Language = "C #" AutoEventWireup = "true" CodeFile = "Default. aspx. cs" Inherits = "_ Default" %>
-^
----------------------
Analysis: this error occurs because the asp.net account is not registered in iis. The possible cause is that. net framework 2.0 is installed before iis, or iis is uninstalled and reinstalled. Solution: Method 1: Open the vs.net command prompt line, enter the aspnet_regiis-ir-enable Method 2: Enter "cmd" to enter the DOS prompt command window, such as "C: \ WINDOWS \ Microsoft. NET \ Framework \ v2.0.50727 directory. After running the aspnet_regiis.exe/I command, the system will prompt that asp.net is being installed. After the installation is complete, the system will be able to operate normally. In addition, check whether the ASP.net version in the default website attribute is 2.0.50.