Search:
Namespaces
Discussions
.NET v1.1
Feedback
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...
Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us
-
Terms of Use
-
Privacy Policy
-
www.dotnet247.com