473,395 Members | 1,418 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,395 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 3098
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 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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.