This is a migrated thread and some comments may be shown as answers.
Deployment - not rendering
7 Answers 64 Views
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Geoffrey Hudik
Top achievements
Rank 1
Geoffrey Hudik asked on 15 Feb 2010, 03:02 PM
Is there anything specific I need to do, check when deploying telerik to my web server?  The controls work fine on my local workstation but none of the controls are rendering (PanelBar and Menu in this case).

I do not see any errors. Telerik.Web.Mvc.dll is in the bin folder and the 2009.3.1320 folders exist under Content and Scripts.  I've also run the .NET Framework setup verification utility and 3.5 SP1 is installed. 

The script registrar does correctly include the javascript files which are valid and downloaded. No HTML is rendered though.The server is 2003 R2 SP2.

Any ideas are appreciated.  Thanks

7 Answers, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 15 Feb 2010, 03:04 PM
Hi Geoffrey Hudik,

What do you mean by not rendering? The components should at least output their HTML. You can check this in the generated output of your page. Is there any live url where we can see the problem?

Regards,
Atanas Korchev
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Geoffrey Hudik
Top achievements
Rank 1
answered on 15 Feb 2010, 03:29 PM
I updated my original post to include a bit more info. The 'leftContent' zone only renders a non-breaking space on the web server instead of the html as it does locally.

This is an internal intranet app; I am not sure I will be able to make it publicly available.  If there are any diagnostics I can perform to troubleshoot I can do that or send some source etc.  Firebug has not revealed anything unusual so far and I do not see any errors in the event log etc.
0
Atanas Korchev
Telerik team
answered on 15 Feb 2010, 03:46 PM
Hello Geoffrey Hudik,

Unfortunately I am not sure what the problem may be. Does it work if you remove the Telerik extensions? Does any other HTML get rendered?

Regards,
Atanas Korchev
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Geoffrey Hudik
Top achievements
Rank 1
answered on 15 Feb 2010, 04:41 PM
Everything else on the page works correctly; all HTML is correct and the only problem is the missing HTML output for the Telerik menu and PanelBar.

I did some more debugging and created a simple menu control on the home page with items manually built (not bound to anything). That worked fine.  So it appears to be a problem with the Sitemap binding which both the PanelBar and Menu are bound to.  My "Sidebar.sitemap" file exists on the web server just as it does on my development machine however.  I see nothing different that would account for the sitemap binding not working on another box.  Any suggestions for debugging this?  If an exception happens does Telerik just swallow it and output no Html?
0
Atanas Korchev
Telerik team
answered on 15 Feb 2010, 05:22 PM
Hello Geoffrey Hudik,

Our extensions do not swallow exceptions so I think it is the sitemap being empty for some reason. Have you tried resetting your web server? We cache the sitemaps aggressively and this may be the problem.

Regards,
Atanas Korchev
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Geoffrey Hudik
Top achievements
Rank 1
answered on 15 Feb 2010, 06:50 PM
It was not a caching problem as it was a new installation and didn't work from the start on the web server.

It appeared to be a pathing problem so my mistake (see code below). However it seems to me that when I invoke XmlSiteMap.LoadFrom and it cannot resolve the path, that it should (a) throw an exception (expected behavior) or at least (b) output something in the html (i.e. a comment indicating file not found or found but empty etc.). As it stands it was very difficult to diagnose the problem.

//const string path = "/Sidebar.sitemap"; // original 
const string path = "~/Sidebar.sitemap"// updated for webserver 
 
SiteMapManager.SiteMaps.Register<XmlSiteMap>("Sidebar", sitmap => sitmap.LoadFrom(path)); 


0
Kazi Manzur Rashid
Telerik team
answered on 16 Feb 2010, 07:46 AM
Hi Geoffrey Hudik,

Thanks for pointing the issue, now it will throw exception when the specfied file does  not exits. The fix will be available in our next release.

Sincerely yours,
Kazi Manzur Rashid
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
General Discussions
Asked by
Geoffrey Hudik
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Geoffrey Hudik
Top achievements
Rank 1
Kazi Manzur Rashid
Telerik team
Share this question
or