I am running Windows Server 2008 (IIS7) and am getting the following error:
'~/Telerik.Web.UI.WebResource.axd' is missing in web.config. RadScriptManager requires a HttpHandler registration in web.config.
I have already found information in the forum and your troubleshooting guides about moving the Telerik handler from the HttpHandler section to the system.webServer handlers area. I have this in my web.config:
<system.webServer> |
<handlers> |
... |
<add path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI, Version=2008.1.415.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" |
name="Telerik.Web.UI.WebResource"/> |
</handlers> |
... |
</system.webServer> |
However, when I try to run my page that has an RadScriptManager on it, I get the error mentioned earlier. The handler does not appear to be loading.
Any help with this would be appreciated.
Thanks,
Stephen
27 Answers, 1 is accepted
Please, change the version of the assembly name in the HttpHandler registration to match the version of the Telerik.Web.UI assembly, e.g.
type="Telerik.Web.UI.WebResource, Telerik.Web.UI, Version=2008.1.515.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4"
FYI, if you won't deploy the Telerik.Web.UI assembly to the GAC, you can safely remove the version information and use the short type name, e.g.
type="Telerik.Web.UI.WebResource, Telerik.Web.UI"
Let me know if that helps.
Kind regards,
Erjan Gavalji
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
Please delete all rows wrapped in <httpHandlers> section in your web.config and then go to Design mode. Click on the smart tag near on your RadScriptManager and choose Register Telerik.Web.UI.WebResource.axd.
Afterward you may try to move the above mentioned handlers to system.webServer.
This link also would be helpful:
General Troubleshooting
Regards,
Daniel
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
I cannot reproduce this issue - take a look at the screenshot I attached. Could you please try to create a new project and check if the problem still persists?
Regards,
Daniel
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
I added it to both because I wanted to debug locally using Visual Studio's WebDevServer as well as show it to others on my team using IIS7.
I also took out the strong typing information and used the short notation simply because it's not needed unless you're loading out of the GAC or targeting a specific version... Complications for down the road!
Wes
HI,
The same issue along me, our project under vs2008 in windows 7 and we use both telerik ajax.net and silverlight in it. our login page need the ajax to validate user, and I config the web.config as your advise all above, but I alway get the message ASP.NET Ajax client-side framework failed to load. in the firebug I can see
GET Telerik.Web.UI.WebResource
thanks
INSIGNIA. Jack
Try adding this to your web config, especially if it starts working after you login. Basically the security can block access to the axd call.
<location path="Telerik.Web.UI.WebResource.axd"> |
<system.web> |
<authorization> |
<allow users="*" /> |
</authorization> |
</system.web> |
</location> |
OH,thanks
It work now, it isn't the permission issue, it seem to be the DLL under GAC or the bin of projects, if the dll under the bin, the version information of Telerik.Web.UI.WebResource.axd must be empty, other way if it in the GAC , the version information will identify the dll. so I remove the version information, and it work well.
Thanks you anyway.
Jack
INSIGNIA
If the app pool for your SharePoint site is set to Classic mode rather than Integrated, you'll need to add an entry for the handler under <httpHandlers> as described for IIS 5/6. If the app pool is set to Integrated mode then you'll need to add the handler to <system.webServer> as described for IIS 7. The usual caveats regarding GAC deployment versus bin apply, like needing to include the version number of the assembly when it's stored in the GAC, etc. I added entries to both sections and things seem to be fine.
Note to any Telerik people reading this: the documentation on adding the handler for IIS 7 says "When in Integrated mode, IIS7 reads the application configuration from the <system.webServer> section group in the application configuration file". That's all well and good, but it doesn't go on to say what is required when not in Integrated mode. One sentence saying you have to fall back to the IIS 6 instructions in that case would be useful.
Thank you for the reasonable remark - the corresponding help topic will include this additional info for the next version of the documentation. I updated your Telerik points for pointing this detail out.
Kind regards,
Sebastian
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
I'm having the same issue. Getting the "'~/Telerik.Web.UI.WebResource.axd' is missing in web.config. RadScriptManager requires a HttpHandler registration in web.config." error.
My configuration :
- Windows 7
- IIS 7
- Application Pool running asp.net V2.0 with Integrated pipeline.
- Telerik.Web.UI.DLL is NOT in my GAC.
- The application is using .NET 3.5 with Telerik ASP.NET AJAX controls version 2009.2.920.35.
BTW, design mode is not working. I'm getting the "Failed to create designer ' error.
In my web.config, I tried :
<httpHandlers>
<add path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI, Version=2009.2.920.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" validate="false" />
</httpHandlers>
AND
<httpHandlers>
<add path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI" validate="false" />
</httpHandlers>
Both of them not working.
If I put in the <system.webserver><handlers>, then the compiler generates an error : "Unrecognized configuration section system.webserver".
I have no idea what I can try next. Any thoughts?
Thank you,
Annie
I think that the following help topics will help you eliminate the exceptions you receive:
http://www.telerik.com/help/aspnet-ajax/introduction-design-time-troubleshooting.html
http://www.telerik.com/help/aspnet-ajax/introduction-registering-the-httphandlers-on-windows-vista-iis-7-integrated-mode.html
Best regards,
Sebastian
the Telerik team
Thank you so much. The links you provided helped me solve my problem!
Annie
With IIS7, When i removed the version info, this problem resolved.
<
system.webServer
>
<
handlers
>
<
add
name
=
"Telerik.Web.UI.WebResource"
path
=
"Telerik.Web.UI.WebResource.axd"
verb
=
"*"
type
=
"Telerik.Web.UI.WebResource, Telerik.Web.UI"
/>
</
handlers
>
</
system.webServer
>
But i have a new problem: If i use RadAjaxPanel and Gridview Popup edit form -> problem is: the popup not display when i click edit buton.
How to fix this problem? please help! thanks.
click on rad control that requires http handler(e.g. rad script manager)
Click small arrow open RadScriptManager tasks
then click link saying
Register rad script on web.config
I have the same issue however none of the posted solutions have worked for me.
I have IIS 7.5 running on W2008 R2 SP1
I have this entry:
45: <handlers>
46: <add name="Telerik.Web.UI.WebResource" verb="*" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource, Telerik.Web.UI" />
47: </handlers>
and this is the error I get
Cannot add duplicate collection entry of type 'add' with unique key attribute 'name' set to 'Telerik.Web.UI.WebResource'
I have tried both ASP.NET 4.0 Classic and ASP.NET 4.0 with the same results
Please help
This is the server error:
HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid.
Hopefully you guys are not facing this issue now, if someone is still facing the issue as i was facing on my client website. I created a post so you guys might get some future references:
http://blog.geek4support.com/telerik-web-ui-webresource-axd-is-missing-in-web-config-radscriptmanager-requires-a-httphandler-registration-in-web-config/
If you issue still persists then update us on this forum.
Thanks
Geek4Support_Admin
HTTP Error 500.19 - Internal Server Error
when i Add this Tag <handlers>
<add name="Telerik.Web.UI.WebResource" verb="*" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource, Telerik.Web.UI" />
</handlers>
I'm using AJAX Rad Control Q1 2102 in project based on framework 4 hosted on Godaddy ,
when i comment the this Tag in the webconfig the site loaded successfully but the radscript manager or loading panel does not work and and all the grid commands cause post back for all page , I'm not happy for this issue ): .and hope any one can help ?
Did you review the following article, which discusses a similar problem?
Kind regards,
Helen
the Telerik team
Yes i read this Article and all Articles i found on the other blogs related to this problem and i tried all the solutions but nothing , and i don't know the reason ??
Go to IIS.
Right click o Project Folder.--> Properties check the Application pool you are using..
After checking that In IIS got the respective application pool properties and change the Pool running mode to classic.
Thanks & Regards
Baji.
Glenwood Systems L.L.C.,
For IIS7+ when the application pool is in integrated mode you need to add the HTTP handlers a little differently: http://www.telerik.com/help/aspnet-ajax/introduction-registering-the-httphandlers-on-windows-vista-iis-7-integrated-mode.html. I am also adding here a simple web.config file that shows all our handlers and modules registrations, so you can use it as base. If the handlers are not read properly the scripts the controls require will not be present on the page and thus the controls will not function.
Another option is to use the scripts cdn for scripts and/or the skins cdn for the stylesheets.
Regards,
Marin Bratanov
Telerik