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
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. ThanksBajrang Singh Using .net 2.0 (VS2005)
-
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
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. ThanksBajrang Singh Using .net 2.0 (VS2005)
Have a look in IIS to make sure it's got an ASP.NET tab in the properties for the default site. If you've run regiis, I'd have to wonder if IIS is even running.
axn321 wrote:
Is it not possible to run my site without having asp.net on my production machine/Server.
No, it's not possible to run ASP.NET if ASP.NET is not registered, and .NET installed.
Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )