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

[Solved] RadScriptManager configuration in web.config for IIS 7

1 Answer 492 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Cedric
Top achievements
Rank 2
Cedric asked on 18 Apr 2008, 10:30 PM
Hello,

I passed like the last 4 hours trying to find a bug in my asp.net application which usie RadAjaxManager. Each time I used the RadScriptManager in my project I faced javascript errors like : "AjaxControlToolkit undefined" or "Telerik undefined".

I look all the documentation related to RadScriptManager, I saw that I needed a line in my web.config like :

<httpHandlers> 
      ...  
      Telerik.Web.UI, Version=2008.1.415.35, Culture=neutralPublicKeyToken=121fae78165ba3d4"  
              validate="false" /> 
    </httpHandlers> 

but SOMETHING IS MISSING IN YOUR DOCUMENTATION, I found it, I'm so happy :).

The problem is that I have Vista which has IIS7. The configuration in II7 has changed.. the configuration of the web server related to your application is also defined in the web.config now. So I had this line in my web.config and all function properly now :

    <system.webServer> 
        <handlers> 
            ...  
            <add name="Give_it_a_name" path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI, Version=2008.1.415.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" /> 
        </handlers> 

I hope this information can be useful to someone else!!

Cedric

1 Answer, 1 is accepted

Sort by
0
Erjan Gavalji
Telerik team
answered on 21 Apr 2008, 12:53 PM
Hi Cedric,

Actually the RadControls for ASP.NET Ajax documentation contains some information about the problem. It seems the we'll need to add some improvements there, as it is indeed not that easy to spot.

Thanks for your notice!

Cheers,
Erjan Gavalji
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Ajax
Asked by
Cedric
Top achievements
Rank 2
Answers by
Erjan Gavalji
Telerik team
Share this question
or