Hi there,
I'm trying to get the RadScheduler to work in an ASP.NET MVC 2 project running locally on IIS 7 Integrated Mode (on Windows Vista).
But I'm always getting this (famous) error message:
"The WebResource.axd handler must be registered in the configuration to process this request
<!-- Web.Config Configuration File -->
<configuration>
<system.web>
<httpHandlers>
<add path="WebResource.axd" verb="GET" type="System.Web.Handlers.AssemblyResourceLoader" validate="True" />
</httpHandlers>
</system.web>
</configuration>"
I went through all the troubleshooting topics in the documentation and lots of threads in this forum and checked my web.config entrys a thousand times. Still the same problem. This is the part of my web.config relevant for IIS 7 (Integrated Mode):
It doesn't work for both the commented and uncommented "Telerik_Web_UI_WebResource" line.
If I run my project on the VS Development Server it works perfectly.
The error only arises in Views where I have the RadScheduler (or another RadControl). Here's a View which gives an error:
I even tried the demo attached here, but I get the same error when running on IIS 7, but not on Development Server.
My conclusion was that either something is wrong in the configuration of IIS 7 or the error arises from the fact that the URLs are different on IIS 7 (e.g. "http://localhost:50000/..." on Development Server but "http://localhost/MvcApplication/..." on IIS).
I can see all the handlers registered in the above web.config section in the handlers list in IIS, so I don't think I've done anything wrong here..
Thanks in advance.
I'm trying to get the RadScheduler to work in an ASP.NET MVC 2 project running locally on IIS 7 Integrated Mode (on Windows Vista).
But I'm always getting this (famous) error message:
"The WebResource.axd handler must be registered in the configuration to process this request
<!-- Web.Config Configuration File -->
<configuration>
<system.web>
<httpHandlers>
<add path="WebResource.axd" verb="GET" type="System.Web.Handlers.AssemblyResourceLoader" validate="True" />
</httpHandlers>
</system.web>
</configuration>"
I went through all the troubleshooting topics in the documentation and lots of threads in this forum and checked my web.config entrys a thousand times. Still the same problem. This is the part of my web.config relevant for IIS 7 (Integrated Mode):
<system.webServer> |
[...] |
<handlers> |
<remove name="WebServiceHandlerFactory-Integrated" /> |
<remove name="ScriptHandlerFactory" /> |
<remove name="ScriptHandlerFactoryAppServices" /> |
<remove name="ScriptResource" /> |
<remove name="MvcHttpHandler" /> |
<remove name="UrlRoutingHandler" /> |
<!--<add name="Telerik_Web_UI_WebResource" verb="*" path="Telerik.Web.UI.WebResource.axd" preCondition="integratedMode" type="Telerik.Web.UI.WebResource, Telerik.Web.UI, Version=2009.3.1314.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4"/>--> |
<add name="Telerik_Web_UI_WebResource" verb="*" path="Telerik.Web.UI.WebResource.axd" preCondition="integratedMode" type="Telerik.Web.UI.WebResource" /> |
<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="MvcHttpHandler" preCondition="integratedMode" verb="*" path="*.mvc" type="System.Web.Mvc.MvcHttpHandler, System.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> |
<add name="UrlRoutingHandler" preCondition="integratedMode" verb="*" path="UrlRouting.axd" type="System.Web.HttpForbiddenHandler, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> |
</handlers> |
</system.webServer> |
It doesn't work for both the commented and uncommented "Telerik_Web_UI_WebResource" line.
If I run my project on the VS Development Server it works perfectly.
The error only arises in Views where I have the RadScheduler (or another RadControl). Here's a View which gives an error:
<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Coach.Master" Inherits="System.Web.Mvc.ViewPage" %> |
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> |
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server"> |
Scheduler |
</asp:Content> |
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server"> |
<h1>Scheduler</h1> |
<telerik:RadScheduler ID="CoachScheduler" runat="server" ProviderName="CoachSchedulerProvider"> |
</telerik:RadScheduler> |
<telerik:RadScriptManager ID="RadScriptManager1" runat="server"> |
</telerik:RadScriptManager> |
</asp:Content> |
I even tried the demo attached here, but I get the same error when running on IIS 7, but not on Development Server.
My conclusion was that either something is wrong in the configuration of IIS 7 or the error arises from the fact that the URLs are different on IIS 7 (e.g. "http://localhost:50000/..." on Development Server but "http://localhost/MvcApplication/..." on IIS).
I can see all the handlers registered in the above web.config section in the handlers list in IIS, so I don't think I've done anything wrong here..
Thanks in advance.