Home - Forums-.NET - FlyTreeView (ASP.NET) - FlyTreeView in IIS 7

FlyTreeView (ASP.NET)

Technical support and KB related to the FlyTreeView control

This forum related to following products: FlyTreeView for ASP.NET

FlyTreeView in IIS 7
Link Posted: 09-Feb-2010 06:17
Hi,
We are using FlyTreeView ver. 3.6.3.19 in the web part running in SharePoint 3.0. No problem running on Windows 2003 server under IIS 6, but recently I've installed on Windows 2008 server running IIS 7 and the tree is not displayed. Installation didn't error our, no errors displayed during the runtime, but tree is not rendered. .NET 1.1 was missing from IIS 7, so I've installed it as well, still no luck.

Any ideas what I've been missing?
Thanks,
Felix.
Link Posted: 11-Feb-2010 05:30
One more detail - Fiddler shows HTTP error 403 while the conytrol is trying to access flytreeview.htc
Link Posted: 15-Feb-2010 03:36
Looks like you need to copy FlyTreeView client runtime.
ASP.NET 1.1 does not allow nesting javascripts right into control assembly (served by WebResource.axd). So you have to copy client javascript files to an appropriate directory of your IIS7.
Typically they are located in /aspnet_client/ninerays.../ virtual folder of your server.
Link Posted: 16-Feb-2010 05:49
Thanks Evgenyt. I do have an \aspnet_client\ninerays_web_ui_webcontrols_flytreeview_3_6_3_19 folder in under IIS7 and it contains the flytreeview.htc  and other runtime files. But as I mentioned, the 403 error is reported in Fiddler when I try to access the tree.

The same code and file structure works fine for IIS 6.
Link Posted: 16-Feb-2010 07:50
Do you have MIME type for .htc extensions specified in IIS?
This may be the reason.
Or whatever IIS settings that can prevent .htc from being downloaded.
Link Posted: 16-Feb-2010 08:30
yes, we do. it is mapped to text/x-component
Link Posted: 25-Feb-2010 06:53
we solved this problem by adding the permission “Script” to the Handler Mappings for the /aspnet_client/ninerays_web_ui_webcontrols_flytreeview_3_6_3_19/ folder in IIS 7