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

Telerik.Web.UI.WebResource.axd is missing in web.config

1 Answer 1424 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
hillarie
Top achievements
Rank 1
hillarie asked on 28 May 2015, 12:15 PM

Our ASP.NET web forms project was updated from .NET 3.5 to .NET 4.5. This also meant we switched from Classic to Integrated pipeline mode for the App Pool. I began to see this error on pages that loaded the Telerik controls.

 

'~/Telerik.Web.UI.WebResource.axd' is missing in web.config. RadScriptManager requires a HttpHandler registration in web.config. Please, use
the control Smart Tag to add the handler automatically, or see the help for more information: Controls > RadScriptManager 

 

After referencing the following webpages:

http://dotnetdawgs.com/post/Telerik-Web-UI-WebResource-axd-is-missing-in-webconfig.aspx
http://dotnet4europeanhosting.hostforlife.eu/post/European-ASPNET-Hosting-Amsterdam-How-to-resolve-7e-TelerikWebUIWebResourceaxd-is-missing-in-WebConfig.aspx
http://stackoverflow.com/questions/10889771/issue-with-telerik-web-ui-webresource-axd
http://stackoverflow.com/questions/7776087/when-i-run-asp-net-web-page-using-radgrid-telerik-control-on-server-side-it-gene?rq=1

 

I made the following changes...

I removed <httpHandlers> and <httpModules> from <system.web>

I removed the reference to the .NET 2 Telerik.Web.Design and Telerik.Web.UI DLLs, and added a reference to the .NET 4 DLLs.

I added <add name="Telerik.Web.UI.WebResource" path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI" /> to the <system.webServer><handlers> section of web.config.

 

On my local workstation, this fixes the problem.

But, moving to our test web server, it still throws the same exception.

Test Server is confirmed running Windows Server 2008, IIS7, Integrated pipeline mode, .NET 4.5.

I've also tried leaving the <httpHandlers> in place, but that didn't work, either.

<httpHandlers>
            <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" />
            <add verb="*" path="Telerik.ReportViewer.axd" type="Telerik.ReportViewer.WebForms.HttpHandler, Telerik.ReportViewer.WebForms, Version=4.1.10.714, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" />
</httpHandlers>

1 Answer, 1 is accepted

Sort by
0
Ianko
Telerik team
answered on 02 Jun 2015, 08:32 AM
Hello Hillarie,

All information and requirements regarding the web.config are available in this help article—http://www.telerik.com/help/aspnet-ajax/web-config-settings-overview.html.

As I can see, the handler in the httpHandler section is incorrect, and this might be the reason for the issue. The correct one:
<add name="Telerik_Web_UI_WebResource_axd" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" preCondition="integratedMode" />

If this does not help, make sure that configuration are proper as per to the recommendation examined in the help article above. 

If this does not help, make sure that the web.config is deployed properly and all handlers exists on the server. Also, make sure that the assemblies are deployed, and if they are referenced from the GAC, make sure that the handlers are registered with fully qualified names. 

Regards,
Ianko
Telerik
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 Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
hillarie
Top achievements
Rank 1
Answers by
Ianko
Telerik team
Share this question
or