.NETGURU
James Avery - problem on your treeview article?
Messages   Related Types
This message was discovered on ASPFriends.com 'aspngwebcontrols' list.


Greg Quinn
MessageHey James,

I went through your article on the treeview control, very well explained and
a great article.

Only problem is, when I got to the second part of your article, when you set
the treenodesrc to "yourpage.xml" it gives me the following error...

There is invalid data at the root level. Line 1, position 1.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.

Exception Details: System.Xml.XmlException: There is invalid data at the
root level. Line 1, position 1.

The .xml file is in the same folder as my .aspx file and it is running off
my PC. Funny enough, no matter what .xml filename you put in the
treenodesrc, I still get this same error. I copied and pasted your code
exactyl from the article as well....

Greg
Reply to this message...
 
    
James Avery
Can you post your code? Do you use any authentication on your site?

-----Original Message-----
From: Greg Quinn [mailto:Click here to reveal e-mail address]
Sent: Monday, May 27, 2002 1:46 PM
To: aspngwebcontrols
Subject: [aspngwebcontrols] James Avery - problem on your treeview
article?

Hey James,

I went through your article on the treeview control, very well explained
and a great article.

Only problem is, when I got to the second part of your article, when you
set the treenodesrc to "yourpage.xml" it gives me the following error...

There is invalid data at the root level. Line 1, position 1.

Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.

Exception Details: System.Xml.XmlException: There is invalid data at the
root level. Line 1, position 1.

The .xml file is in the same folder as my .aspx file and it is running
off my PC. Funny enough, no matter what .xml filename you put in the
treenodesrc, I still get this same error. I copied and pasted your code
exactyl from the article as well....

Greg

| [aspngwebcontrols] member Click here to reveal e-mail address = YOUR ID |
http://www.asplists.com/asplists/aspngwebcontrols.asp = JOIN/QUIT
Reply to this message...
 
    
Pierre Thomasius
MessageYou will also get this error if you have "Seti at home" running on
the machine, so if you developing at home make sure to turn it off.
-----Original Message-----
From: James Avery [mailto:Click here to reveal e-mail address]
Sent: 27 May 2002 18:21
To: aspngwebcontrols
Subject: [aspngwebcontrols] RE: James Avery - problem on your treeview
article?

Can you post your code? Do you use any authentication on your site?
-----Original Message-----
From: Greg Quinn [mailto:Click here to reveal e-mail address]
Sent: Monday, May 27, 2002 1:46 PM
To: aspngwebcontrols
Subject: [aspngwebcontrols] James Avery - problem on your treeview
article?

Hey James,

I went through your article on the treeview control, very well explained
and a great article.

Only problem is, when I got to the second part of your article, when you
set the treenodesrc to "yourpage.xml" it gives me the following error...

There is invalid data at the root level. Line 1, position 1.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.

Exception Details: System.Xml.XmlException: There is invalid data at the
root level. Line 1, position 1.

The .xml file is in the same folder as my .aspx file and it is running
off my PC. Funny enough, no matter what .xml filename you put in the
treenodesrc, I still get this same error. I copied and pasted your code
exactyl from the article as well....

Greg

| [aspngwebcontrols] member Click here to reveal e-mail address = YOUR ID |
http://www.asplists.com/asplists/aspngwebcontrols.asp = JOIN/QUIT
| [aspngwebcontrols] member Click here to reveal e-mail address = YOUR ID |
http://www.asplists.com/asplists/aspngwebcontrols.asp = JOIN/QUIT
Reply to this message...
 
 
System.Xml.XmlException




ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
Ad


Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification