This is a migrated thread and some comments may be shown as answers.

Control cannot display when publish on shared host.

2 Answers 100 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Quan Nguyen
Top achievements
Rank 1
Quan Nguyen asked on 13 Sep 2010, 09:38 AM
Hi everyone,

I've search for 2 days and found no solution to solve my problem. That is when I deploy my web on my own server (using IIS7) Telerik RadControls works fine, but 3 days ago, after deploying my site on a shared hosting, the RadControls is not displayed properly, RadMenu becomes a large list of hyperlink, RadCombo box cannot drop down, all RadControls lost their skins and functions.

When try on IE, there's javascript error:"Sys is undefined".

I've tried configure as http://www.telerik.com/help/aspnet-ajax/installdeployingonsharedhosting.html guide, the provided said that they has created a vitual directory point to my application folder and grand all necessary permission for it, my web is accessible but the controls still failed to display.

Following the error:"Sys is undefined", I checked and sure that my web was AJAX ENABLE and I was told to add: 

<add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/>

and

<location path="Telerik.Web.UI.WebResource.axd"> 
   <system.web> 
     <authorization> 
       <allow users="*"/> 
     </authorization> 
   </system.web> 
</location> 

but there's still errors.

I found one case like me http://forum.winhost.com/archive/index.php/t-279.html, but the solution is not very cleared.

So any help of you guys will be very appreciated.

p/s: I am using RadControls for ASP.NET AJAX Q1-2010



2 Answers, 1 is accepted

Sort by
0
Accepted
Dimo
Telerik team
answered on 13 Sep 2010, 03:18 PM
Hi Quan Nguyen,

Please refer to:

http://www.telerik.com/community/forums/aspnet-ajax/general-discussions/telerik-controls-not-working-after-move.aspx

Regards,
Dimo
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
Quan Nguyen
Top achievements
Rank 1
answered on 14 Sep 2010, 02:49 AM
Problem solved.

I've add
<add name="Telerik.Web.UI.WebResource" path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI, Culture=neutral, PublicKeyToken=121fae78165ba3d4"/>
to my web.config and everything works fine.

Don't know why it works on my own server(which Telerik was not installed) but stuck on my shared hosting.

Thank you for your help.
Tags
General Discussions
Asked by
Quan Nguyen
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Quan Nguyen
Top achievements
Rank 1
Share this question
or