The XML page cannot be displayed

M

Mammaloe

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" %>
-^
 
P

Paul Henderson

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

Maarten

Thank you Paul, that did the job perfectly!!!


Paul Henderson said:
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,968
Messages
2,570,154
Members
46,702
Latest member
LukasConde

Latest Threads

Top