473,503 Members | 3,171 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

wierd error.....help please.....

have been working with a site and today started getting an error when uploaded page on the live server...everything works well locally...

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://www.bchandbook.com/kalamunda/cats.asp'. Line 3, Position 2

<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
-^

the top of the page looks like this...

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>

Any ideas how to get rid of this??? is drivin me mad....have been at it for an hour or two....

************************************************** ********************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP & ASP.NET resources...
Jul 19 '05 #1
9 2789
john@<nospam>dotnetsites.net wrote on 07 jul 2003 in
microsoft.public.inetserver.asp.general:
<%@LANGUAGE=


this code is asp.net

This NG is only for classical ASP.

Please see a dotnet group.

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Jul 19 '05 #2
??

this is an asp page made in dreamweaver mx?? It is not asp.net??

************************************************** ********************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP & ASP.NET resources...
Jul 19 '05 #3
john@<nospam>dotnetsites.net wrote on 07 jul 2003 in
microsoft.public.inetserver.asp.general:
this is an asp page made in dreamweaver mx?? It is not asp.net??


My misreading. Sorry.
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Jul 19 '05 #4
The @Language="VBScript" declaration is a server-side declaration that
defines the default script engine.

You can remove it if you know that your default script engine is VBScript
(ASP).

Chris.

"John Pether" <john@<nospam>dotnetsites.net> wrote in message
news:O6**************@TK2MSFTNGP12.phx.gbl...
??

this is an asp page made in dreamweaver mx?? It is not asp.net??

************************************************** ********************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP &

ASP.NET resources...
Jul 19 '05 #5
You need to View Source to see the actual error message.

John Pether wrote:
have been working with a site and today started getting an error when
uploaded page on the live server...everything works well locally...

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://www.bchandbook.com/kalamunda/cats.asp'. Line 3,
Position 2

<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
-^

the top of the page looks like this...

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>

Any ideas how to get rid of this??? is drivin me mad....have been at
it for an hour or two....

************************************************** ********************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP &
ASP.NET resources...


Jul 19 '05 #6
it wont let me see source...just says the xml file is unavailable for viewing

************************************************** ********************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP & ASP.NET resources...
Jul 19 '05 #7
John Pether wrote:
it wont let me see source...just says the xml file is unavailable for
viewing

************************************************** ********************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP &
ASP.NET resources...


My mistake. I didn't realize you were dealing with a file. I thought you
were doing a response.write using contenttype = text/xml.

What happens if you just remove the <%Language... tag?
Jul 19 '05 #8
Bob Barrows wrote:
John Pether wrote:
it wont let me see source...just says the xml file is unavailable for
viewing

************************************************** ********************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP &
ASP.NET resources...


My mistake. I didn't realize you were dealing with a file. I thought
you were doing a response.write using contenttype = text/xml.

What happens if you just remove the <%Language... tag?


Actuall, just move this tag to the top of the page, BEFORE the xml tags
begin.
Jul 19 '05 #9
You might check the versions of MSXML between the server that works and the
one that doesn't.

--
Mark Schupp
--
Head of Development
Integrity eLearning
Online Learning Solutions Provider
ms*****@ielearning.com
http://www.ielearning.com
714.637.9480 x17
"John Pether" <john@<nospam>dotnetsites.net> wrote in message
news:u7**************@TK2MSFTNGP11.phx.gbl...
thankseveryone for trying to help but am still struggling with this one:(:(
The page is an asp page that displays a dynamic list. It is xhtml compliant and was made in dreamweaver mx.
I have pasted the full page below, basically it collects 2 sets of data from a sql server using stored procs on the sql server. These pages work
fine locally and I have just uploaded to another host and again they worked
fine, the only difference I can find betweeen the hosts that work and the
one that doesn't is that the one that is not working does not have the .net
framework installed, but as this is an asp page I am confused as to why that
would effect the page and give an xml error!!!!
<code>
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <%@language="vbscript" codepage="1252"%>

<!--#include file="../Connections/****.asp" -->
<%
Dim GetCategories__CatID
GetCategories__CatID = "1"
If (Request.QueryString("parentcatid") <> "") Then
GetCategories__CatID = Request.QueryString("parentcatid")
End If
%>
<%
Dim GetCategories
Dim GetCategories_numRows

Set GetCategories = Server.CreateObject("ADODB.Recordset")
GetCategories.ActiveConnection = MM_BCH_STRING
GetCategories.Source = "{call dbo.GetCategories(" + Replace(GetCategories__CatID, "'", "''") + ")}" GetCategories.CursorType = 0
GetCategories.CursorLocation = 2
GetCategories.LockType = 1
GetCategories.Open()

GetCategories_numRows = 0
%>
<%
Dim GetSubCatName__CatID
GetSubCatName__CatID = "1"
If (Request.QueryString("parentcatid") <> "") Then
GetSubCatName__CatID = Request.QueryString("parentcatid")
End If
%>
<%
Dim GetSubCatName
Dim GetSubCatName_numRows

Set GetSubCatName = Server.CreateObject("ADODB.Recordset")
GetSubCatName.ActiveConnection = MM_BCH_STRING
GetSubCatName.Source = "{call dbo.GetSubCategory(" + Replace(GetSubCatName__CatID, "'", "''") + ")}" GetSubCatName.CursorType = 0
GetSubCatName.CursorLocation = 2
GetSubCatName.LockType = 1
GetSubCatName.Open()

GetSubCatName_numRows = 0
%>
<%
Dim Repeat1__numRows
Dim Repeat1__index

Repeat1__numRows = 20
Repeat1__index = 0
GetCategories_numRows = GetCategories_numRows + Repeat1__numRows
%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Choose a Category</title>
<link href="../styles/****.css" rel="stylesheet" type="text/css" />
</head>

<body>
<div class="contentwrap">
<h1><%=(GetSubCatName.Fields.Item("CategoryName"). Value)%></h1>
<div class="content">
<table width="100%" border="0" cellspacing="2" cellpadding="4">
<%
While ((Repeat1__numRows <> 0) AND (NOT GetCategories.EOF))
%><tr>
<td><a href="listing.asp?parentcatid=<%= Request.QueryString("parentcatid")%>&catid=<%=(Get Categories.Fields.Item("ca
tID").Value)%>"><%=(GetCategories.Fields.Item("Cat egoryName").Value)%></a>&n
bsp;&nbsp;</td>
</tr><%
Repeat1__index=Repeat1__index+1
Repeat1__numRows=Repeat1__numRows-1
GetCategories.MoveNext()
Wend
%>
</table>
</div>
</div>
</body>
</html>
<%
GetCategories.Close()
Set GetCategories = Nothing
%>
<%
GetSubCatName.Close()
Set GetSubCatName = Nothing
%>
</code>

************************************************** ********************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP &

ASP.NET resources...
Jul 19 '05 #10

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

Similar topics

3
1986
by: vool | last post by:
Hi all, I've got a really wierd problem here. When I access a web page that adds information to a database on a PC running XP Pro it works as it should. When I access the same page from a...
2
1839
by: Vaddina Prakash Rao | last post by:
Hi all .. I describe here a wierd behaviour .. i dont understand why ... This could be very stupid aswell .. so please bear me .. I have been writing a program to accept multiple parameters and...
3
5539
by: B Vidyadhar Joshi | last post by:
I was writing an Bluetooth Application which makes calls to Windows APIs. I feel I'm doing something wrong with the structure. Could somebody help me? The code that I'm using is pasted below: ...
1
6798
by: paul reed | last post by:
Hello, I am having some weird behavior between two machines...one which is running the 1.1 framework and one which is running 1.0. After opening a child form from a parent...I update the...
3
1527
by: Tom | last post by:
We are experiencing some wierd debugging behavior. What happens is that, during debugging with VS 2003, the debugger seems to 'skip' statements that are associated with database operations. For...
5
1704
by: desktop | last post by:
I am confused about the use of the template parameter "E" in the below class. Since when is it allowed to use these parameters like "E(1)" and what does it mean (where can I read more about this...
1
3066
by: =?Utf-8?B?YXZucmFv?= | last post by:
We have a web service that gets data in xml format. In that Xml data, we parse few date fields that are in this format <data datefield="12/26/2008" timefield="16:33:45" ...> we parse it into a...
4
2505
by: Cirene | last post by:
In my web.config I added <pages enableSessionState="true">. In each of my pages I also added EnableSessionState="True" to the Page declaration. (I didn't think this was necessary, but...) ...
1
1483
by: samneil | last post by:
I have 1 Database( MS Access) with 9 tables and 6 queries, Now I'm trying to view my 2 different tables on my VB6.0 using 2 Datagrids and 2"adodc".... here are the names of my two tables:...
0
7188
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
7313
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...
1
6970
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
7441
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...
0
4663
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...
0
3146
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1489
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 ...
1
720
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
366
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...

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.