473,765 Members | 2,047 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

"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 3126
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**********@y ahoo.comwrote in message
news:OD******** ********@TK2MSF TNGP06.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(objec t sender, EventArgs e)
{
timeLabel.Text= DateTime.Now.To String();
}
</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.comw rote in message
news:%2******** ********@TK2MSF TNGP04.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**********@y ahoo.comwrote in message
news:OD******** ********@TK2MSF TNGP06.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**********@y ahoo.comwrote in message news:%2******** ********@TK2MSF TNGP04.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(objec t sender, EventArgs e)
{
timeLabel.Text= DateTime.Now.To String();
}
</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.comw rote in message news:%2******** ********@TK2MSF TNGP04.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**********@y ahoo.comwrote in message news:OD******** ********@TK2MSF TNGP06.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.comwrot e in message
news:uR******** ******@TK2MSFTN GP06.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**********@y ahoo.comwrote in message
news:%2******** ********@TK2MSF TNGP04.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(objec t sender, EventArgs e)
{
timeLabel.Text= DateTime.Now.To String();
}
</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.comw rote in message
news:%2******* *********@TK2MS FTNGP04.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**********@y ahoo.comwrote in message
news:OD****** **********@TK2M SFTNGP06.phx.gb l...
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**********@y ahoo.comwrote in message news:%2******** *******@TK2MSFT NGP06.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.comwrot e in message news:uR******** ******@TK2MSFTN GP06.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_regii s -u

and after that, run :

aspnet_regii s -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**********@y ahoo.comwrote in message news:%2******** ********@TK2MSF TNGP04.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(objec t sender, EventArgs e)
{
timeLabel.Text= DateTime.Now.To String();
}
</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.comw rote in message
news:%2****** **********@TK2M SFTNGP04.phx.gb l...
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**********@y ahoo.comwrote in message news:OD******** ********@TK2MSF TNGP06.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.comwrot e in message
news:%2******** *******@TK2MSFT NGP06.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**********@y ahoo.comwrote in message
news:%2******** *******@TK2MSFT NGP06.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.comwrot e in message
news:uR******* *******@TK2MSFT NGP06.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_regi is -u

and after that, run :

aspnet_regi is -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**********@y ahoo.comwrote in message
news:%2****** **********@TK2M SFTNGP04.phx.gb l...
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(objec t sender, EventArgs e)
{
timeLabel.Text= DateTime.Now.To String();
}
</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.comw rote in message
news:%2***** ***********@TK2 MSFTNGP04.phx.g bl...
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**********@y ahoo.comwrote in message
news:OD**** ************@TK 2MSFTNGP06.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
4536
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" ACTION="UploadAction.asp" METHOD="POST" enctype=multipart/form-data> <input type="file" name="fileName"> //etc ... </FORM>
1
2066
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 data is loaded in the database, the page is redirected to a new one. The problem is, after the file parsing is over and the data is commited to the Oracle database, i get "Page cannot be displayed error". This is
2
14944
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 but has anyone seen this before on a error page? I think it occured when users were reporting general slow web performance. I've seen it while users try to log into an NT domain from their desktops but not while using a web browser. Users can log...
1
2236
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 page cannot be displayed" in IE and "the document contains no data" in FireFox. The error I get is when I try to access page, which is www.mywebsite.com/addtocart.aspx?ProductID=xx. I know for a fact that addtocart.aspx exists but I am still...
1
2624
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 instead of displaying the text in XML. Here's more or less what I have: public string checkAsciiFileCheck() { businessLogic bLogic = new businessLogic(); bLogic.processAsciiFile("test"); // If I comment this, I'll see the
1
2225
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 had to mention this just in case related error was seen before. When I run a very simple script such as <% Response.Write "Test" %> which saved as Default.asp under a folder "Test" in the Default Website (localhost/test/default.asp), it is giving...
2
2786
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 page cannot be displayed" error page. Some points:
5
2807
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 someone inside the firewall accesses it, that always works. 2) If someone inside the firewall accesses it, then the person outside can access it. It's as though an inside connection is needed to wake it up.
2
2263
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 "Page cannot be displayed error". I suspect i have not even configured tomcat properly. Could anybody pls help me.. Thanks in advance
0
9404
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10007
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9959
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9835
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8833
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7379
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
1
3926
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3532
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2806
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.