Error: The XML page cannot be displayed
Hi All,
I created a site and made a virtual directory. I want to run it under IIS. But is always gives an error is that
Code:
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/cs/Default.aspx'. Line 1, ...
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
-^
I have successfully registered my asp.net using
%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -i"
but it still showing the same problem.
Is it not possible to run my site without having asp.net on my production machine/Server.
If yes then what r the requirements for that?
Any help is apprecited. Thanks