.NETGURU
Treeview and Firewall
Messages   Related Types
This message was discovered on ASPFriends.com 'aspngwebcontrols' list.


SNegussie@aol.com
I'm using Microsoft's IE Treeview Control. I set the TreeNodeSrc property to
an aspx file that generates the XML to bind to the treeveiw control. Here is
what I have in my code:

trvwText.TreeNodeSrc = "test.aspx";
trvwText.DataBind();

The treeview works fine when it's on our development server. When it's
deployed on the production server which is behind a firewall, the treeview
dos not work (display). Instead we get an XML exception that says: "There
is invalid data at the root level 1, position 1". We are certain that there
is nothing wrong with the data. When we go inside the firewall and run the
same thing on the production server the treeview displays without giving us
this error. However, we get this error when we are outside the firewall.
Does anyone have any idea why this is happenning:

Thanks
Reply to this message...
 
    
Michael Wells
I haven't used the IE Treeview control, but I'm assuming that the C#
code below causes the treeview to generate Javascript (in up-level
browsers). If so, then your XML (test.aspx) is being accessed by the
browser, through the firewall. Have you tried requesting test.aspx
directly (from outside the firewall) and comparing it to test.aspx (from
inside the firewall)?
=20
I'd save the source to files, using the same browser/version, and do a
binary compare just to be sure.=20
=20
The reason I suggest this is that I'm dealing with a related firewall
problem. Certain ASPX files display fine; others are completely empty,
as though the firewall gutted them.
=20
Incidentally, we're using Microsoft's ISA server as our firewall
solution.

-- Michael Wells=20

-----Original Message-----
From: Click here to reveal e-mail address [mailto:Click here to reveal e-mail address]
Sent: Wednesday, July 24, 2002 1:27 PM
To: aspngwebcontrols
Subject: [aspngwebcontrols] Treeview and Firewall

I'm using Microsoft's IE Treeview Control. I set the TreeNodeSrc
property to an aspx file that generates the XML to bind to the treeveiw
control. Here is what I have in my code:=20
=20
trvwText.TreeNodeSrc =3D "test.aspx";=20
trvwText.DataBind();=20

The treeview works fine when it's on our development server. When it's
deployed on the production server which is behind a firewall, the
treeview dos not work (display). Instead we get an XML exception that
says: "There is invalid data at the root level 1, position 1". We are
certain that there is nothing wrong with the data. When we go inside
the firewall and run the same thing on the production server the
treeview displays without giving us this error. However, we get this
error when we are outside the firewall. Does anyone have any idea why
this is happenning:=20

Thanks | [aspngwebcontrols] member Click here to reveal e-mail address =3D YOUR =
ID
| http://www.asplists.com/asplists/aspngwebcontrols.asp =3D JOIN/QUIT=20

Reply to this message...
 
 




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