473,405 Members | 2,287 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,405 software developers and data experts.

XML Page cannot be displayed

When I open my website, I get a directory, which I really don't want. I want
it to open default.aspx. But when I click on the default.aspx link, I get
this error:
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://70.136.170.105/Default.aspx'. Line 1, Posi...

<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb"
Inherits="_Default" %>
-^

This is the beginning of the ASP code:

<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb"
Inherits="_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>ACS Home Page</title>

I am fairly new to ASP (being strictly a VB Windows programmer).

Is there something I missed here?

Thanks for the help.
Nov 20 '05 #1
3 1843


Brad wrote:

A name was started with an invalid character. Error processing resource
'http://70.136.170.105/Default.aspx'. Line 1, Posi...

<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb"
Inherits="_Default" %>
-^


Make sure ASP.NET is enabled on that web server, the above looks as if
the Default.aspx is not executed on the server but simply served as a
file to the browser.

--

Martin Honnen --- MVP XML
http://JavaScript.FAQTs.com/
Nov 20 '05 #2
Martin,

I have been having problems with the IWAM account, the metadata, etc and I
think I finally have these problems solved.

Now, being new to this, how do I enable ASP.Net on the server? I have
already run the aspnet_iisreg -i utility.

"Martin Honnen" wrote:


Brad wrote:

A name was started with an invalid character. Error processing resource
'http://70.136.170.105/Default.aspx'. Line 1, Posi...

<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb"
Inherits="_Default" %>
-^


Make sure ASP.NET is enabled on that web server, the above looks as if
the Default.aspx is not executed on the server but simply served as a
file to the browser.

--

Martin Honnen --- MVP XML
http://JavaScript.FAQTs.com/

Nov 20 '05 #3
Actually I just did run aspnet_regiis and now I am back to the old error from
the event viewer:

Event Type: Warning
Event Source: W3SVC
Event Category: None
Event ID: 36
Date: 11/20/2005
Time: 1:45:04 PM
User: N/A
Computer: BRAD
Description:
The server failed to load application '/LM/W3SVC'. The error was 'The
specified metadata was not found.
'.
For additional information specific to this message please visit the
Microsoft Online Support site located at:
http://www.microsoft.com/contentredirect.asp.

For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.
"Martin Honnen" wrote:


Brad wrote:

A name was started with an invalid character. Error processing resource
'http://70.136.170.105/Default.aspx'. Line 1, Posi...

<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb"
Inherits="_Default" %>
-^


Make sure ASP.NET is enabled on that web server, the above looks as if
the Default.aspx is not executed on the server but simply served as a
file to the browser.

--

Martin Honnen --- MVP XML
http://JavaScript.FAQTs.com/

Nov 20 '05 #4

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

Similar topics

5
by: Bob | last post by:
I am displaying a form with a datagrid populated from a select of database records which now exceed 12,000 when I select them all. The form displays just fine with all 12,000+ entries but when I...
1
by: Bob | last post by:
I am displaying a form with a datagrid populated from a select of database records which now exceed 12,000 when I select them all. The form displays just fine with all 12,000+ entries but when I...
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: VB Programmer | last post by:
I am setting up a intranet webserver that will run my ASP.NET website. (Everything works fine locally.) When I try accessing an aspx page, via IE, it gives me the "Page cannot be displayed" error,...
2
by: Johannes Setiabudi | last post by:
I got a "Page Cannot Be Displayed" error on an aspx page I'm loading. The page loads halfway and then I got the error. I don't think it is the mapping since all other pages are loading fine. The...
0
by: L Scott | last post by:
Have developed a c# / asp.net web app. Works locally. But over the internet when I access the site, it eventually returns a 'The page cannot be displayed' page. Not always on the same page. Can...
2
by: Tim Reynolds | last post by:
Team, When my web service throws an exception and I am debugging on my PC - I get the exception back in my browser fine. My web.config shows <customErrors mode="Off"/> and this is working well. ...
5
by: Neil Rossi | last post by:
I have an issue with a particular ASP page on two web servers. Let's call these servers Dev1 and Beta1. Both Servers are running IIS 5, Windows 2000 SP4 with "almost" all of the latest patches. ...
69
by: RC | last post by:
I know how to do this in JavaScript by window.open("newFile.html", "newTarget", "scrollbars=no,resizable=0,width=200,height=200"); The browser will open a new window size 200x200, not allow...
4
by: Peter | last post by:
I have the following code which works fine in IE6 and IE7 and FireFox, but when I run IE6 on Citrix I get "The page cannot be displayed" in the iframe. We don't have IE7 on Citrix so I can't try...
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: 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
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...
0
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...

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.