IE Treeview Web Control(microsoft.web.ui.webcontrols.dll) on winodws 2003 server

Hi ,

I am trying to run my Treeview (microsoft.web.ui.webcontrols.dll) on Windows 2003 Server and every other item in aspx page is displayed correctly except the Treeview. All the data are extracted from the database correctly but displayed as a simple text and can not click on them a s a node. basically nothing happens when I run it on Windows 2003 server.

Any solution for solving this problem or is this a known problem?

Thanks
shmzAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

nauman_ahmedCommented:
What version of .NET is installed on the server?

-Nauman.
shmzAuthor Commented:
Framework 1.1
nauman_ahmedCommented:
You need to have Framework 2.0. The TreeView control is only available in .NET 2.0

-Nauman.
Rowby Goren Makes an Impact on Screen and Online

Learn about longtime user Rowby Goren and his great contributions to the site. We explore his method for posing questions that are likely to yield a solution, and take a look at how his career transformed from a Hollywood writer to a website entrepreneur.

shmzAuthor Commented:
I guess I nedd to change the question now.
I have two pages one with one treeview and it works fine. the other with 2 treeviews and this is the page which displays everything in text format......should I log a new question?
nauman_ahmedCommented:
No need for a new question :)

Can you please paste the HTML for the second tree view? Whats the difference between the two ASPX pages?

-Nauman.
shmzAuthor Commented:
Ah!..this is complicated!...

let's focus on this:

I think it is rather related to finding the right server or dataabse. I have application and database on my Windows XP machine and everything is running fine.

I try to connect from another machine running on windows xp,  to my application and DB and it is working fine too.

I place the app under wwwroot of a server running on windows 2003 and try to run the app (having database connection still on my machine) and then I get these text instead of treeview...

Any idea?
nauman_ahmedCommented:
Possible to post a screenshot?

-Nauman.
Jason ScolaroCommented:
The TreeView you are using is an Internet Explorer only control.  I just wanted to state that to make sure you're not using FireFox or another type of browser.

You might want to try manually adding nodes to test that the TreeView is rendering properly, without the hassle of the database stuff.  If that fails, I recommend doing what nauman mentioned and post your HTML source, let's see if it's actually attempting to build a TreeView or not.

Good luck!
-- Jason
shmzAuthor Commented:
Unfortunately I can not do that, The Tree functions absolutely fine for the way database is designed.

Back to my first question:

Everything is fine with the database connection and treeview display or functionality on Windows XP.
In Windows 2003 Server,  other details in aspx page are extracted from database and dislpayed correctly. The only problem is treeview.

I think this is related to Windows 2003 Server.
shmzAuthor Commented:

Okay, for anyone with same problem,

The web server, I was trying to get it working, is windows 2003 server and .net framework is part of it's installation.

I could not find the folder /webctrl_client/1_0  under wwwroot (which contains treeview.htc), so I put a copy of this folder under wwwroot of web server and the tree started to work....!

Thanks for everybody's help.


GranModCommented:
PAQed with points refunded (500)

GranMod
Community Support Moderator

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
ASP.NET

From novice to tech pro — start learning today.