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

controls dont work when deployed

8 Answers 182 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
matt
Top achievements
Rank 1
matt asked on 05 Sep 2008, 09:08 PM
hello,

i have been using the trial of Prometheus in a few environments, most of the time deploying to my own webserver successfully. cool.

however, when i deploy my Web Application project to a commercial hosting company, www.WebHost4Life.com, i run into problems -- my RadControls dont work properly. i can see them, but none of the AJAX functionality seems to work.

for ex:

1) my RadGrids are wrapped in RadAjaxUpdatePanels, and locally that works. but on this hosting company's server the update panel does nothing -- the grid posts back on every operation.

2) RadComboBoxes dont render dropdown menus

3) GridNumericColumns dont validate input

...whats wrong? does it sound like the server doesnt have something installed, maybe the ASP.NET AJAX add-on? or something else maybe??


thanks!
matt

8 Answers, 1 is accepted

Sort by
0
matt
Top achievements
Rank 1
answered on 07 Sep 2008, 04:39 PM
Telerik,

i have checked w/ WebHost4Life -- they have stated the ASP.NET AJAX Extensions 1.0 is installed the .NET Framework 2.0 web server.

what else could cause the AJAX functionality of the RadControls not to function?

eg, i can see a skinned RadComboBox, but clicking on it doesnt dropdown its items. instead, nothing happens.

eg, my grids are present, but the RadAjaxPanel around it doesnt do callbacks. instead, postbacks are tacking place.


ideas??

thanks,
matt
0
Dimo
Telerik team
answered on 08 Sep 2008, 04:37 AM
Hello Matt,

It seems that all the Javascript in your application is not working, which indicates possible problems with loading of embedded script resources (for example - due to a different IIS version and wrong web.config settings). Please refer to the following links for more information:

http://blogs.telerik.com/AtanasKorchev/Posts/08-07-18/Web_Resources_demystified_Part_3_Troubleshooting.aspx

http://www.telerik.com/help/aspnet-ajax/registering_the_httphandlers_on_windows_vista_iis_7_integrated_mode.html

http://www.telerik.com/help/aspnet-ajax/installdeployingonsharedhosting.html




http://www.telerik.com/help/aspnet-ajax/installtroubleshootingproductionserver.html

http://www.telerik.com/help/aspnet-ajax/troubleshooting.html

http://www.telerik.com/help/aspnet-ajax/web-resources-troubleshooting.html



Best wishes,
Dimo
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
matt
Top achievements
Rank 1
answered on 08 Sep 2008, 03:43 PM
update.. on my production site:

  •  a stand-alone test .ASPX page containing the <% %> reference, a non-telerik script manager, and a RadComboBox works.
  • the same form w/ using the RadScriptManager script manager doesnt work.
  • the web.config is the same for both test pages.
  • the same web server (thus IIS) for both test pages
  • (locally of course the test page works w/ either the MS or the Telerik script manager)
...so it appears to be a problem w/ my RadScriptManager. what could cause this?

i notice in the HTML i have this web resource link:

<script src="/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=radScriptManager_HiddenField&amp;compress=1&amp;_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d1.0.61025.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3a1f0f78f9-0731-4ae9-b308-56936732ccb8%3a52817a7d%3a67c678a8%3bTelerik.Web.UI%2c+Version%3d2008.2.826.20%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3a387a9bdd-f014-4bdb-a603-53fd0392d149%3a393f5085%3bTelerik.Web.UI%2c+Version%3d2008.2.826.20%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3a387a9bdd-f014-4bdb-a603-53fd0392d149%3a9703c1f0%3bTelerik.Web.UI%2c+Version%3d2008.2.826.20%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3a387a9bdd-f014-4bdb-a603-53fd0392d149%3aa3f85c94%3bTelerik.Web.UI%2c+Version%3d2008.2.826.20%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3a387a9bdd-f014-4bdb-a603-53fd0392d149%3a665c7bcf" type="text/javascript"></script> 
 
 

...but when i open that directly in a browser, i get a 404.

i just used Firebug for Firefox to confirm -- that resource is not found.

what do i do? this is a shared hosting environment.


thanks,
matt
0
matt
Top achievements
Rank 1
answered on 08 Sep 2008, 09:08 PM
updates.. i have checked w/ my hosting company, they said:
  • server is Windows 2008 running in IIS7 Integrated Mode.
  • "Verify file exists" checkbox is un-checked for .AXDs in IIS
...what next? i am fairly certain the missing resource is why the RadScriptManager doesnt work, which makes my controls not work properly.


thanks,
matt
0
Accepted
Atanas Korchev
Telerik team
answered on 09 Sep 2008, 12:16 PM
Hello matt,

Having 404 errors indeed means that the handler is not properly registered. Please check again if it is registered in the <handlers> section of your web.config file as explained in this blog post. Also make sure you are using the right assembly version.

Regards,
Albert
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
matt
Top achievements
Rank 1
answered on 09 Sep 2008, 02:41 PM
thanks, albert.

it was the handler -- while putting "Telerik.Web.UI.WebResource.axd" into the <HttpHandlers> worked for my dev server, i had to put a version into <Handlers> for the 2008 IIS7 server.

works now!

thanks again,
matt
0
NADAV YEHESKEL
Top achievements
Rank 2
answered on 03 May 2010, 09:49 AM
Hello,
I'm having similar problems but with the current version of the RadAjaxControls (last build for 2009). When I'm trying to run it on webshost4life it seems like it tries to load it from a wrong path (note the "dev-culture-scapes" in the begining):

/dev-culture-scapes/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_radScriptManager_TSM&amp;compress=1&amp;_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d3.5.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3a3bbfe379-348b-450d-86a7-bb22e53c1978%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2009.3.1208.35%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3a67d433b5-16e9-4905-b133-5f52be173684%3ae330518b%3a16e4e7cd%3af7645509%3a24ee1bba%3a1e771326%3ac8618e41%3a86526ba7%3a874f8ea2%3aaa288e2d%3ab7778d6c%3ae085fe68%3a19620875%3a3f6e8f3f%3aed16cbdc" type="text/javascript"></script>

while trying to surf to the following path works:
/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_radScriptManager_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d3.5.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3a3bbfe379-348b-450d-86a7-bb22e53c1978%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2009.3.1208.35%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3a67d433b5-16e9-4905-b133-5f52be173684%3ae330518b%3a16e4e7cd%3af7645509%3a24ee1bba%3a1e771326%3ac8618e41%3a86526ba7%3a874f8ea2%3aaa288e2d%3ab7778d6c%3ae085fe68%3a19620875%3a3f6e8f3f%3aed16cbdc

Any ideas?

Thank you,
Nadav.
0
Fiko
Telerik team
answered on 05 May 2010, 02:53 PM
Hi Nadav,

I see that you have found a solution yourself, so I am closing this thread.

Kind regards,
Fiko
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
matt
Top achievements
Rank 1
Answers by
matt
Top achievements
Rank 1
Dimo
Telerik team
Atanas Korchev
Telerik team
NADAV YEHESKEL
Top achievements
Rank 2
Fiko
Telerik team
Share this question
or