473,782 Members | 2,393 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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="Defau lt.aspx.vb"
Inherits="_Defa ult" %>
-^

This is the beginning of the ASP code:

<%@ Page Language="VB" AutoEventWireup ="false" CodeFile="Defau lt.aspx.vb"
Inherits="_Defa ult" %>

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

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


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="Defau lt.aspx.vb"
Inherits="_Defa ult" %>
-^


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="Defau lt.aspx.vb"
Inherits="_Defa ult" %>
-^


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="Defau lt.aspx.vb"
Inherits="_Defa ult" %>
-^


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
6021
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 leave the form to go back to the originating screen, I get a "The page cannot be displayed" screen for "Cannot find server or DNS Error" "Internet Explorer". You know the page - it starts with "The page you are looking for is currently...
1
2592
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 leave the form to go back to the originating program, I get a "The page cannot be displayed" screen for "Cannot find server or DNS error" "Internet Explorer". But when I select a lesser number of records - under 12,000 (don't think there is...
7
4537
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
1725
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, even though the file exists! For example, the error occurs when trying to access this page and several others. http://86.34.27.221/MyWeb/Default.aspx Interestingly, when I try this page it shows up fine:
2
1368
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 only possible difference is that this page has a lot of controls in it and it is huge. If I remove some of the controls (does not matter which ones), it loads fine. Any hints?
0
1461
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 *eventually* re-display this error page correctly. Have not see this when I access the site locally (from desktop). Many of the pages have sort-able data grids. Have also noticed that I often am getting this 'The page cannot be displayed'...
2
8145
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. However, when I test this web service on the deployment server, I only get 'The page cannot be displayed' instead of the exception. That is when I call the web service on the deployment server locally or remotely. The web.config on the...
5
12309
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. On Beta1, I am able to execute a particular page with no problem, that page opens up in the comes up just fine. On Win2kdev1, when I go to execute the same page, it opens a file download dialog and asks me whether I want to open or save the...
69
13490
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 resize and no auto horizontal, vertical scrolling bars. I am wonder can I do the similar inside a HTML file like
4
3521
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 it. <span id="ShowReport" disabled="disabled" style="display:inline-block;height:1200px;width:880px;"> <div> <iframe src=../../WsiLogo.gif<frame src=../../WsiLogo.gif> <embed src=../../WsiLogo.gif</iframe> </div>
0
9643
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
1
10081
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
9946
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
8968
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
7494
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...
0
6735
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4044
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
3643
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2875
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.