Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Error: The XML page cannot be displayed

Error: The XML page cannot be displayed

Scheduled Pinned Locked Moved ASP.NET
helpcsharpasp-netxmlsysadmin
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    Bajrang Singh
    wrote on last edited by
    #1

    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. Thanks

    Bajrang Singh Using .net 2.0 (VS2005)

    C 1 Reply Last reply
    0
    • B Bajrang Singh

      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. Thanks

      Bajrang Singh Using .net 2.0 (VS2005)

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      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 )

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups