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

Deploying Telerik control on the web server

2 Answers 124 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Kamal Mostofi
Top achievements
Rank 1
Kamal Mostofi asked on 02 May 2010, 02:40 PM
Hi,
For the first time, I used Telerik control on my ASP web page and published it on the web server. Since then, my website stopped working. I spent one week to figure out the problem and didn't have any luck.
Now, I read number of forums and it seems the problem is related to the Telerik toolkit deployment.

I have the assemply in my bin folder. How can I create a blank WebResouce.axd on the server? Can you help please?
Here is my web config code:

.......

<

 

 

pages enableEventValidation="true" enableViewStateMac="false" viewStateEncryptionMode="Never">

 

<

 

 

controls>

 

<

 

 

add tagPrefix="data" namespace="wave3.Web.Data" assembly="wave3.Web" />

 

<

 

 

add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />

 

<

 

 

add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />

 

<

 

 

add tagPrefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI" />

 

</

 

 

controls>

 

</

 

 

pages>

 

 

 

 

<httpHandlers>

 

<

 

 

add path="*/coolite.axd" verb="*" type="Coolite.Ext.Web.ResourceManager" validate="false" />

 

<

 

 

remove verb="*" path="*.asmx" />

 

<

 

 

add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />

 

<

 

 

add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />

 

<

 

 

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" />

 

<

 

 

add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" />

 

<

 

 

add path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" validate="false" />

 

<

 

 

add path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" validate="false" />

 

<

 

 

add path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" validate="false" />

 

<

 

 

add path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" validate="false" />

 

</

 

 

httpHandlers>

 

<

 

 

httpModules>

 

<

 

 

add name="AjaxRequestModule" type="Coolite.Ext.Web.AjaxRequestModule, Coolite.Ext.Web" />

 

<

 

 

add name="ASPxHttpHandlerModule" type="DevExpress.Web.ASPxClasses.ASPxHttpHandlerModule, DevExpress.Web.v9.3, Version=9.3.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />

 

<

 

 

add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />

 

<

 

 

add name="RadCompression" type="Telerik.Web.UI.RadCompression" />

 

</

 

 

httpModules>

 

<

 

 

httpRuntime maxRequestLength="7168" executionTimeout="240" />

 

 

 

 

 

</

 

 

system.web>

 

<

 

 

location path="Users/Telerik.Web.UI.WebResource.axd">

 

<

 

 

system.web>

 

<

 

 

authorization>

 

<

 

 

allow users="*"/>

 

</

 

 

authorization>

 

</

 

 

system.web>

 

</

 

 

location>

 

<

 

 

location path="Telerik.Web.UI.WebResource.axd">

 

<

 

 

system.web>

 

<

 

 

authorization>

 

<

 

 

allow users="*"/>

 

</

 

 

authorization>

 

</

 

 

system.web>

 

</

 

 

location>

 

<!--

 

 

 

The system.webServer section is required for running ASP.NET AJAX under Internet

Information Services 7.0. It is not necessary for previous version of IIS.

 

 

 

--><system.webServer>

 

<

 

 

validation validateIntegratedModeConfiguration="false" />

 

<

 

 

modules>

 

<

 

 

remove name="ScriptModule" />

 

 

<

 

 

remove name="RadCompression" /><add name="AjaxRequestModule" preCondition="managedHandler" type="Coolite.Ext.Web.AjaxRequestModule, Coolite.Ext.Web" />

 

<

 

 

add name="ASPxHttpHandlerModule" type="DevExpress.Web.ASPxClasses.ASPxHttpHandlerModule, DevExpress.Web.v9.3, Version=9.3.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />

 

<

 

 

add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />

 

<

 

 

add name="RadCompression" type="Telerik.Web.UI.RadCompression" preCondition="integratedMode,runtimeVersionv2.0" />

 

</

 

 

modules>

 

<

 

 

handlers>

 

<

 

 

remove name="WebServiceHandlerFactory-Integrated" />

 

<

 

 

remove name="ScriptHandlerFactory" />

 

<

 

 

remove name="ScriptHandlerFactoryAppServices" />

 

<

 

 

remove name="ScriptResource" />

 

 

<

 

 

remove name="ChartImage_axd" />

 

<

 

 

remove name="Telerik_Web_UI_SpellCheckHandler_axd" />

 

<

 

 

remove name="Telerik_Web_UI_DialogHandler_aspx" />

 

<

 

 

remove name="Telerik_RadUploadProgressHandler_ashx" />

 

<

 

 

remove name="Telerik_Web_UI_WebResource_axd" /><add name="AjaxRequestHandler" verb="*" path="*/coolite.axd" preCondition="integratedMode" type="Coolite.Ext.Web.ResourceManager" />

 

<

 

 

add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />

 

<

 

 

add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />

 

<

 

 

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

 

<

 

 

add name="Telerik_Web_UI_WebResource_axd" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" preCondition="integratedMode,runtimeVersionv2.0" />

 

<

 

 

add name="ChartImage_axd" path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" preCondition="integratedMode,runtimeVersionv2.0" />

 

<

 

 

add name="Telerik_Web_UI_SpellCheckHandler_axd" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" preCondition="integratedMode,runtimeVersionv2.0" />

 

<

 

 

add name="Telerik_Web_UI_DialogHandler_aspx" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" preCondition="integratedMode,runtimeVersionv2.0" />

 

<

 

 

add name="Telerik_RadUploadProgressHandler_ashx" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" preCondition="integratedMode,runtimeVersionv2.0" />

 

</

 

 

handlers>

 

<

 

 

security>

 

<

 

 

requestFiltering>

 

<

 

 

requestLimits maxAllowedContentLength="7340032" /></requestFiltering></security>

 

</

 

 

system.webServer>

 

<

 

 

runtime>

 

<

 

 

assemblyBinding appliesTo="v2.0.50727" xmlns="urn:schemas-microsoft-com:asm.v1">

 

<

 

 

dependentAssembly>

 

<

 

 

assemblyIdentity name="System.Web.Extensions" publicKeyToken="31BF3856AD364E35" culture="neutral" />

 

<

 

 

bindingRedirect oldVersion="0.0.0.0-3.5.0.0" newVersion="3.5.0.0" />

 

</

 

 

dependentAssembly>

 

</

 

 

assemblyBinding>

 

</

 

 

runtime>

 

<

 

 

system.codedom>

 


Many thanks,
Kamal

2 Answers, 1 is accepted

Sort by
0
Fiko
Telerik team
answered on 05 May 2010, 04:01 PM
Hi Kamal,

"How can I create a blank WebResouce.axd on the server?":
I believe that these links will be of helps for you:



I am not quite sure what may cause the problem in your case. Could you please share more information about the error that you experience after the project is deployed to the web server?


Greetings,
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.
0
Kamal Mostofi
Top achievements
Rank 1
answered on 06 May 2010, 11:18 PM
Hello,
Thanks for the links. The problem was in web.config file in httphandler section.

Many thanks,
Kamal
Tags
General Discussions
Asked by
Kamal Mostofi
Top achievements
Rank 1
Answers by
Fiko
Telerik team
Kamal Mostofi
Top achievements
Rank 1
Share this question
or