469,912 Members | 1,842 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,912 developers. It's quick & easy.

The XML page cannot be displayed

Hi,

I have VS2005 Beta2. I'm trying to publish a Web Site (as described in
http://msdn2.microsoft.com/en-us/library/1y1404zt.aspx).
When I run the site from Visual Studio on Visual Studio's webserver, the Web
Site runs fine.
When I publish the web site, I'm getting the following error message:

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/GTISubsTest/Default.aspx'. Line ...

<%@ page language="C#" autoeventwireup="true" inherits="_Default,
App_Web_default.aspx.cdcab7d2" %>
-^
Jan 24 '06 #1
3 23294
> When I publish the web site, I'm getting the following error message:
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.


Is ASP.NET properly registered with IIS? Try running
aspnet_regiis -u
aspnet_regiis -i
to re-register it, and see if it works then. If it is, check ASP.NET is
set up correctly in the relevant virtual directory.

Jan 24 '06 #2

Thank you Paul, that did the job perfectly!!!
"Paul Henderson" <pa***********@pittville.demon.co.uk> wrote in message
news:11**********************@o13g2000cwo.googlegr oups.com...
When I publish the web site, I'm getting the following error message:
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.


Is ASP.NET properly registered with IIS? Try running
aspnet_regiis -u
aspnet_regiis -i
to re-register it, and see if it works then. If it is, check ASP.NET is
set up correctly in the relevant virtual directory.

Jan 25 '06 #3
hi paul

how would you register the aspnet_regiis -u with IIS .Could you please explain .I am actually facing the same problem .



> When I publish the web site, I'm getting the following error message:[color=blue]
> 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.[/color]

Is ASP.NET properly registered with IIS? Try running
aspnet_regiis -u
aspnet_regiis -i
to re-register it, and see if it works then. If it is, check ASP.NET is
set up correctly in the relevant virtual directory.
Mar 22 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Bob | last post: by
1 post views Thread by VB Programmer | last post: by
2 posts views Thread by Johannes Setiabudi | last post: by
4 posts views Thread by Peter | last post: by
reply views Thread by Salome Sato | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.