473,372 Members | 931 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,372 software developers and data experts.

"The XML page cannot be displayed" Error

TC
Hey All,

I'm receiving a weird error in IE now:

"The XML page cannot be displayed"

This is even with the simplest of pages that I previously could view.

Any ideas?

Thanks,

TC

Jun 27 '08 #1
6 3097
This usually happens if the XML is not correctly formatted.

--
Best regards,
Dave Colliver.
http://www.AshfieldFOCUS.com
~~
http://www.FOCUSPortals.com - Local franchises available
"TC" <ge**********@yahoo.comwrote in message
news:OD****************@TK2MSFTNGP06.phx.gbl...
Hey All,

I'm receiving a weird error in IE now:

"The XML page cannot be displayed"

This is even with the simplest of pages that I previously could view.

Any ideas?

Thanks,

TC

Jun 27 '08 #2
TC
Hey Folks,

This is happening with files that I could open yesterday. I installed
dotNetNuke and NUnite. I do not know if this could be the culprit.

For example, considering the following file saved as "FirstPage.aspx":
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title>My First ASP.NET 2.0</title>
<script runat="server" language="C#">
protected void Page_Load(object sender, EventArgs e)
{
timeLabel.Text=DateTime.Now.ToString();
}
</script>
</head>
<body>
<p>Hello there!</p>
<p>The time is now:
<asp:Label runat="server" id="timeLabel" />
</p>
</body>
</html>
This is the full error that I receive:

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

The operation completed successfully. Error processing resource
'file:///F:/Books Source Code/Creating Web Sites -- The Mis...

<html>

There is nothing wrong with the above simple file.

Please help!

Thanks,

Todd
"David" <da*****************@revilloc.REMOVETHIS.comwrot e in message
news:%2****************@TK2MSFTNGP04.phx.gbl...
This usually happens if the XML is not correctly formatted.

--
Best regards,
Dave Colliver.
http://www.AshfieldFOCUS.com
~~
http://www.FOCUSPortals.com - Local franchises available
"TC" <ge**********@yahoo.comwrote in message
news:OD****************@TK2MSFTNGP06.phx.gbl...
>Hey All,

I'm receiving a weird error in IE now:

"The XML page cannot be displayed"

This is even with the simplest of pages that I previously could view.

Any ideas?

Thanks,

TC


Jun 27 '08 #3
Check to see whether .aspx files are mapped to the IIS file mappings.

If not, from a command window in the .net Framework 2.0 directory, first run :

aspnet_regiis -u

and after that, run :

aspnet_regiis -i

Just running aspnet_regiis -i will not do it.


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"TC" <ge**********@yahoo.comwrote in message news:%2****************@TK2MSFTNGP04.phx.gbl...
Hey Folks,

This is happening with files that I could open yesterday. I installed dotNetNuke and NUnite. I do not know if this
could be the culprit.

For example, considering the following file saved as "FirstPage.aspx":
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title>My First ASP.NET 2.0</title>
<script runat="server" language="C#">
protected void Page_Load(object sender, EventArgs e)
{
timeLabel.Text=DateTime.Now.ToString();
}
</script>
</head>
<body>
<p>Hello there!</p>
<p>The time is now:
<asp:Label runat="server" id="timeLabel" />
</p>
</body>
</html>
This is the full error that I receive:

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

The operation completed successfully. Error processing resource 'file:///F:/Books Source Code/Creating Web Sites --
The Mis...

<html>

There is nothing wrong with the above simple file.

Please help!

Thanks,

Todd
"David" <da*****************@revilloc.REMOVETHIS.comwrot e in message news:%2****************@TK2MSFTNGP04.phx.gbl...
>This usually happens if the XML is not correctly formatted.

--
Best regards,
Dave Colliver.
http://www.AshfieldFOCUS.com
~~
http://www.FOCUSPortals.com - Local franchises available
"TC" <ge**********@yahoo.comwrote in message news:OD****************@TK2MSFTNGP06.phx.gbl...
>>Hey All,

I'm receiving a weird error in IE now:

"The XML page cannot be displayed"

This is even with the simplest of pages that I previously could view.

Any ideas?

Thanks,

TC




Jun 27 '08 #4
TC
Hey Juan,

Thanks for the reply. It appears to be have been a good suggestion.

However, .aspx extension shows up under all websites listed in IIS.

Should I try your suggestion anyway?

This is only failing for files stored locally. My .aspx located on the
virtual directories, all works fine.

Thanks,

Todd

"Juan T. Llibre" <no***********@nowhere.comwrote in message
news:uR**************@TK2MSFTNGP06.phx.gbl...
Check to see whether .aspx files are mapped to the IIS file mappings.

If not, from a command window in the .net Framework 2.0 directory, first
run :

aspnet_regiis -u

and after that, run :

aspnet_regiis -i

Just running aspnet_regiis -i will not do it.


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"TC" <ge**********@yahoo.comwrote in message
news:%2****************@TK2MSFTNGP04.phx.gbl...
>Hey Folks,

This is happening with files that I could open yesterday. I installed
dotNetNuke and NUnite. I do not know if this
could be the culprit.

For example, considering the following file saved as "FirstPage.aspx":
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title>My First ASP.NET 2.0</title>
<script runat="server" language="C#">
protected void Page_Load(object sender, EventArgs e)
{
timeLabel.Text=DateTime.Now.ToString();
}
</script>
</head>
<body>
<p>Hello there!</p>
<p>The time is now:
<asp:Label runat="server" id="timeLabel" />
</p>
</body>
</html>
This is the full error that I receive:

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

The operation completed successfully. Error processing resource
'file:///F:/Books Source Code/Creating Web Sites --
The Mis...

<html>

There is nothing wrong with the above simple file.

Please help!

Thanks,

Todd
"David" <da*****************@revilloc.REMOVETHIS.comwrot e in message
news:%2****************@TK2MSFTNGP04.phx.gbl...
>>This usually happens if the XML is not correctly formatted.

--
Best regards,
Dave Colliver.
http://www.AshfieldFOCUS.com
~~
http://www.FOCUSPortals.com - Local franchises available
"TC" <ge**********@yahoo.comwrote in message
news:OD****************@TK2MSFTNGP06.phx.gbl.. .
Hey All,

I'm receiving a weird error in IE now:

"The XML page cannot be displayed"

This is even with the simplest of pages that I previously could view.

Any ideas?

Thanks,

TC






Jun 27 '08 #5
re:
!This is only failing for files stored locally.
!My .aspx located on the virtual directories, all works fine.

ASP.NET files must be executed from the root application
and/or virtual directories or their subdirectories.

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"TC" <ge**********@yahoo.comwrote in message news:%2***************@TK2MSFTNGP06.phx.gbl...
Hey Juan,

Thanks for the reply. It appears to be have been a good suggestion.
However, .aspx extension shows up under all websites listed in IIS.
Should I try your suggestion anyway?
This is only failing for files stored locally. My .aspx located on the virtual directories, all works fine.

Thanks,

Todd

"Juan T. Llibre" <no***********@nowhere.comwrote in message news:uR**************@TK2MSFTNGP06.phx.gbl...
>Check to see whether .aspx files are mapped to the IIS file mappings.

If not, from a command window in the .net Framework 2.0 directory, first run :

aspnet_regiis -u

and after that, run :

aspnet_regiis -i

Just running aspnet_regiis -i will not do it.


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"TC" <ge**********@yahoo.comwrote in message news:%2****************@TK2MSFTNGP04.phx.gbl...
>>Hey Folks,

This is happening with files that I could open yesterday. I installed dotNetNuke and NUnite. I do not know if this
could be the culprit.

For example, considering the following file saved as "FirstPage.aspx":
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title>My First ASP.NET 2.0</title>
<script runat="server" language="C#">
protected void Page_Load(object sender, EventArgs e)
{
timeLabel.Text=DateTime.Now.ToString();
}
</script>
</head>
<body>
<p>Hello there!</p>
<p>The time is now:
<asp:Label runat="server" id="timeLabel" />
</p>
</body>
</html>
This is the full error that I receive:

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

The operation completed successfully. Error processing resource 'file:///F:/Books Source Code/Creating Web Sites --
The Mis...

<html>

There is nothing wrong with the above simple file.

Please help!

Thanks,

Todd
"David" <da*****************@revilloc.REMOVETHIS.comwrot e in message
news:%2****************@TK2MSFTNGP04.phx.gbl.. .
This usually happens if the XML is not correctly formatted.

--
Best regards,
Dave Colliver.
http://www.AshfieldFOCUS.com
~~
http://www.FOCUSPortals.com - Local franchises available
"TC" <ge**********@yahoo.comwrote in message news:OD****************@TK2MSFTNGP06.phx.gbl...
Hey All,
>
I'm receiving a weird error in IE now:
>
"The XML page cannot be displayed"
>
This is even with the simplest of pages that I previously could view.
>
Any ideas?
>
Thanks,
>
TC
>
>
>





Jun 27 '08 #6
TC
Hey Juan,

Yep! I now see my stupidity.

THANKS! for the help.

I've been bouncing back and forth between Notepad, IE, .html and .aspx
files. My .aspx WERE in my virtual directory and I'd been opening them via
localhost... when I copied a couple of these files elsewhere, I received the
errors.

Thanks Again.

-- Todd

"Juan T. Llibre" <no***********@nowhere.comwrote in message
news:%2***************@TK2MSFTNGP06.phx.gbl...
re:
!This is only failing for files stored locally.
!My .aspx located on the virtual directories, all works fine.

ASP.NET files must be executed from the root application
and/or virtual directories or their subdirectories.

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"TC" <ge**********@yahoo.comwrote in message
news:%2***************@TK2MSFTNGP06.phx.gbl...
>Hey Juan,

Thanks for the reply. It appears to be have been a good suggestion.
However, .aspx extension shows up under all websites listed in IIS.
>Should I try your suggestion anyway?
>This is only failing for files stored locally. My .aspx located on the
virtual directories, all works fine.

Thanks,

Todd

"Juan T. Llibre" <no***********@nowhere.comwrote in message
news:uR**************@TK2MSFTNGP06.phx.gbl...
>>Check to see whether .aspx files are mapped to the IIS file mappings.

If not, from a command window in the .net Framework 2.0 directory, first
run :

aspnet_regiis -u

and after that, run :

aspnet_regiis -i

Just running aspnet_regiis -i will not do it.


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"TC" <ge**********@yahoo.comwrote in message
news:%2****************@TK2MSFTNGP04.phx.gbl.. .
Hey Folks,

This is happening with files that I could open yesterday. I installed
dotNetNuke and NUnite. I do not know if this
could be the culprit.

For example, considering the following file saved as "FirstPage.aspx":
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title>My First ASP.NET 2.0</title>
<script runat="server" language="C#">
protected void Page_Load(object sender, EventArgs e)
{
timeLabel.Text=DateTime.Now.ToString();
}
</script>
</head>
<body>
<p>Hello there!</p>
<p>The time is now:
<asp:Label runat="server" id="timeLabel" />
</p>
</body>
</html>
This is the full error that I receive:

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

The operation completed successfully. Error processing resource
'file:///F:/Books Source Code/Creating Web Sites --
The Mis...

<html>

There is nothing wrong with the above simple file.

Please help!

Thanks,

Todd
"David" <da*****************@revilloc.REMOVETHIS.comwrot e in message
news:%2****************@TK2MSFTNGP04.phx.gbl. ..
This usually happens if the XML is not correctly formatted.
>
--
Best regards,
Dave Colliver.
http://www.AshfieldFOCUS.com
~~
http://www.FOCUSPortals.com - Local franchises available
>
>
"TC" <ge**********@yahoo.comwrote in message
news:OD****************@TK2MSFTNGP06.phx.gbl.. .
>Hey All,
>>
>I'm receiving a weird error in IE now:
>>
>"The XML page cannot be displayed"
>>
>This is even with the simplest of pages that I previously could view.
>>
>Any ideas?
>>
>Thanks,
>>
>TC
>>
>>
>>
>
>





Jun 27 '08 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Joe | last post by:
I have an upload file operation in the web application. UploadForm.asp is the form, and UploadAction.asp is the form processing. //UploadForm.asp <FORM NAME="InputForm"...
1
by: kongkong99 | last post by:
Hi, I have an ASP.NET application that loads files, parses them and loads in the database which is running in window 2000 webserver. When I load a text file after the file is parsed and the...
2
by: Steve M | last post by:
A few users today received the message "The trust relationship between this workstation and the primary domain failed" on their web browser while using an ASP.NET web app. The problem went away...
1
by: emon.haider | last post by:
Hi guys, I just made a web application using ASP.Net and C#. The application compiles and works fine from my workstation, but after I uploaded it to my webserver, I am getting an error of "the...
1
by: VMI | last post by:
I wrote a web service whose only purpose is to update a field in a table (sql server). And everything works except for the browser window that opens up with "The page cannot be displayed" error...
1
by: LeoKoach | last post by:
I have SSI 5+ and running Server 2000 Advance on my laptop computer. Most of you might not familiar but I also run Web Extender (An EMC Documentum Product) locally as a test site. It uses ASP.NET. I...
2
by: spam1 | last post by:
Hi all, I'm not new to ASP.NET but I'm trying to get a simple Hello World page going on IIS 6.0 on Windows 2003. I'm connecting from the local machine. It comes back with the standard "The...
5
by: David Thielen | last post by:
Hi; We have our app up on a beta server. Sometimes people from outside the firewall get "The page cannot be displayed" when they try to access it. A couple of weird things about this: 1) If...
2
by: MicroMinds | last post by:
Hi, I have installed jdk 6 and tomcat 4.1.29 in my local machine. Just want to run some sample web application. When tried to check if tomcat works fine using http://localhost:8080, I'm getting...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.