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

IIS7 and Telerik.Web.UI.WebResource.axd' is missing in web.config

27 Answers 4987 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Stephen
Top achievements
Rank 1
Stephen asked on 18 Jun 2008, 11:32 PM
Hello,

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

Sort by
0
Erjan Gavalji
Telerik team
answered on 19 Jun 2008, 07:40 AM
Hi Stephen,

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
0
Adam L. Ooten
Top achievements
Rank 2
answered on 18 Aug 2008, 06:26 PM
We have this same problem, and this change did not fix it for us.  Any other ideas?
0
Daniel
Telerik team
answered on 19 Aug 2008, 12:55 PM
Hello Adam,

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.
0
Adam L. Ooten
Top achievements
Rank 2
answered on 20 Aug 2008, 02:05 PM
Is there a reason why the RadScriptManager would not show in design view for VS 2005?  Because it does not for me....
0
Alan
Top achievements
Rank 1
answered on 20 Aug 2008, 04:28 PM
i had this error too, for me the dll file version was wrong.. so maybe check that.
0
Daniel
Telerik team
answered on 21 Aug 2008, 12:28 PM
Hello Adam,

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.
0
W
Top achievements
Rank 1
answered on 12 Mar 2009, 01:09 AM
Even though your OS has IIS7, your project may be configured to use the ASP.NET Development Web Server when you run your project (by pressing F5). For me, I added the handler definition to BOTH sections of the web.config, once in /configuration/system.webServer/handlers and again in /configuration/system.web/httpHandlers, using the short type notation mentioned by Erjan.

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
0
Nick
Top achievements
Rank 2
answered on 05 May 2009, 02:30 PM
Unless you work in a multi-programmer environment where you need to make sure the correct version is deployed.  We do not use the GAC but we leave the embedded version #'s to make sure there's not an accidentally backward (or forward) deployment of the library.  This is not so bad now that it's a single DLL.
0
Jack
Top achievements
Rank 1
answered on 28 Sep 2009, 01:59 AM

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

404 Not Found

localhost

5 KB

 

 

thanks

 

INSIGNIA. Jack

0
Nick
Top achievements
Rank 2
answered on 28 Sep 2009, 02:28 AM
Make sure you are running your app pool in classic mode.

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> 

 

 

 

0
Jack
Top achievements
Rank 1
answered on 28 Sep 2009, 02:47 AM

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

 

 

0
Chris Tybur
Top achievements
Rank 1
answered on 06 Jan 2010, 10:05 PM
Here is one more bit of information for anybody trying to use Telerik controls under SharePoint 2007 with IIS7. I was getting the generic 'An error has occurred' SharePoint message when my web part that uses Telerik controls tried to load. Here is the solution:

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.
0
Sebastian
Telerik team
answered on 12 Jan 2010, 09:47 AM
Hello Chris,

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.
0
Annie
Top achievements
Rank 1
answered on 30 Mar 2011, 02:38 PM
Hello,

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








0
Sebastian
Telerik team
answered on 30 Mar 2011, 03:01 PM
0
Annie
Top achievements
Rank 1
answered on 31 Mar 2011, 05:57 PM
Hi Sebastian,

Thank you so much.  The links you provided helped me solve my problem!

Annie
0
WhiteKnight
Top achievements
Rank 1
answered on 04 Dec 2011, 12:43 PM
Hello Jack, alls

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.
0
Vishmay
Top achievements
Rank 1
answered on 20 Feb 2012, 11:52 AM
Go to Design view of aspx file

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
0
Helmuth
Top achievements
Rank 1
answered on 01 Mar 2012, 08:26 PM
It seems that this problem is very common. 

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.



0
Geek4Support
Top achievements
Rank 1
answered on 03 Jul 2012, 11:32 AM
Hi,

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
0
wsd wsd
Top achievements
Rank 1
answered on 26 Aug 2012, 08:24 AM
I have the same Problem too i got an Error

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 ?
0
Helen
Telerik team
answered on 27 Aug 2012, 12:31 PM
Hello,

Did you review the following article, which discusses a similar problem?


Kind regards,
Helen
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
wsd wsd
Top achievements
Rank 1
answered on 27 Aug 2012, 03:40 PM
First , Thanks Helen for Reply  .
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 ??
0
Baji
Top achievements
Rank 1
answered on 20 Nov 2012, 07:47 AM
>> To fix this problem..

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.,
0
Kuldeep
Top achievements
Rank 1
answered on 20 Nov 2013, 11:59 AM
i am using telerik controls version 2010.1.415.35 and developed an application using Visual studio 2010. and first deployed it on window server 2003 with iis6 it is working fine. but when i deployed it again on window server 2008r2 sp1.most of telerik controls are strange menus not showing, radcombobox looks like readonly textbox and all. why it is going on please solve my problem.
0
Marin Bratanov
Telerik team
answered on 20 Nov 2013, 12:29 PM
Hi,

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
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
0
Kuldeep
Top achievements
Rank 1
answered on 21 Nov 2013, 05:15 AM
hi, Marin Bratanov thanks a lot I make the changes in handler and it is working fine. thanks dude.
Tags
General Discussions
Asked by
Stephen
Top achievements
Rank 1
Answers by
Erjan Gavalji
Telerik team
Adam L. Ooten
Top achievements
Rank 2
Daniel
Telerik team
Alan
Top achievements
Rank 1
W
Top achievements
Rank 1
Nick
Top achievements
Rank 2
Jack
Top achievements
Rank 1
Chris Tybur
Top achievements
Rank 1
Sebastian
Telerik team
Annie
Top achievements
Rank 1
WhiteKnight
Top achievements
Rank 1
Vishmay
Top achievements
Rank 1
Helmuth
Top achievements
Rank 1
Geek4Support
Top achievements
Rank 1
wsd wsd
Top achievements
Rank 1
Helen
Telerik team
Baji
Top achievements
Rank 1
Kuldeep
Top achievements
Rank 1
Marin Bratanov
Telerik team
Share this question
or