Unknown server tag 'asp:ScriptManager'

10 posts, 0 answers
  1. Jack Shiung
    Jack Shiung avatar
    4 posts
    Member since:
    Mar 2007

    Posted 21 Mar 2007 Link to this post

    I've just installed RadControls_Q4_2006_SP2_dev.exe on WinXP SP2 with VS 2003, VS 2005, .Net framework 2.0, IIS 5.X.  Before installing the licensed version of rad controls, I uninstalled the trial version of rad controls.  Then whenever I tried to access any ASP.NET AJAX example from http://localhost/telerik/r.a.d.controlsq4_2006_net2/Controls/Examples/Default/DefaultCS.aspx such as Treeview Builder, I'd get the page "Server Error in "'/telerik/r.a.d.controlsQ4_2006_NET2' Application" and parser error message: "Unknown server tag 'asp:ScriptManager'" error.

    After looking around the net, I thought I needed to install the ASP.NET 2.0 AJAX Extensions.  So I did, but that didn't help.

    I'd also set the telerik folder permissions for ASP.NET user, and cleared the VSWebCache.

    Does anyone know what is the problem and how to go about fixing it?  Thanks.

    Jack
  2. Lini
    Admin
    Lini avatar
    2144 posts

    Posted 22 Mar 2007 Link to this post

    Hello Jack,

    The 'asp:ScriptManager' tag is registered in the demo application's web config file. For some reason, the registration line -

    <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

    is not executed in your environment. You should check if the System.Web.Extensions.dll file is present in the bin folder of the web application. Also, you should check your machine's GAC to see if an older version of the file is not installed there.

    Kind regards,
    Lini
    the telerik team

    Instantly find answers to your questions at the new telerik Support Center
  3. Jack Shiung
    Jack Shiung avatar
    4 posts
    Member since:
    Mar 2007

    Posted 23 Mar 2007 Link to this post

    I found System.Web.Extensions.dll in
    \Program Files\telerik\r.a.d.controlsQ4 2006\NET2\bin
    with version 1.0.61231.0.
    In \WINDOWS\ASSEMBLY, I found System.Web.Extensions version 1.0.61025.0 and System.Web.Extensions.Design version 1.0.61025.0.

    So it does look like there is an older version of System.Web.Extensions.dll in the GAC than in the bin folder.

    How should I go about resolving this conflict?  Thanks.

    Jack


  4. Johan
    Johan avatar
    617 posts
    Member since:
    Mar 2007

    Posted 23 Mar 2007 Link to this post

    You can use "gacutil - u ..." to uninstall the old assembly in your GAC (run SDK Command Prompt from your Start -> MS VS.NET 2005 -> VS Tools -> Command Prompt to get the correct path to gacutil) or directly delete the assembly from the c:\windows\assembly folder, then proceed with installing the latest MS AJAX  version once again.

    The version of both assemblies should indeed be 1.0.61025
  5. Jack Shiung
    Jack Shiung avatar
    4 posts
    Member since:
    Mar 2007

    Posted 23 Mar 2007 Link to this post

    The version of System.web.extensions.dll is actually the same in the bin folder and in the GAC.  I mistakenly looked at the file version instead of the assembly version of the dll in the bin folder.  Anyhow, I tried uninstalling rad controls Q4 2006 SP2 dev and reinstalling it.  The problem still persists.

    From searching the forum, it seems that web.config may need to be modified.  The only web.config file I found is in \program files\telerik\r.a.d.controlsQ4 2006\NET2.

    Am I just missing something obvious?
  6. LBrinley
    LBrinley avatar
    1 posts
    Member since:
    Dec 2005

    Posted 13 Apr 2007 Link to this post

    I've had this same problem.  It seems the 'error' occurs if, when installing the components, you do not install the ASP.NET 1.1 support. Originally, I had installed only the ASP.NET 2.0 RadControls, since I don't even have the 1.1 framework installed on my development system anymore.  Try uninstalling the components, then reinstalling both the 1.1 and 2.0 RadControls.  You can omit the 1.1 Help files and save 48MB of space. I did this and the ASP.NET Integration examples now work as expected.
  7. Lee Hicks
    Lee Hicks avatar
    24 posts
    Member since:
    Jan 2006

    Posted 26 Apr 2007 Link to this post

    I am having the same problem.
    .NET 3.0 framework is installed.
    Q1 2007 installed (NET1, NET2 and NET2 help) 
    I had the same problem with the Q4 2006 installation.
    System.Web.Extension assembly version 1.0.61025.0 in the bin and the GAC.

  8. Lee Hicks
    Lee Hicks avatar
    24 posts
    Member since:
    Jan 2006

    Posted 26 Apr 2007 Link to this post

    I am having the same problem.
    .NET 3.0 framework is installed.
    Q1 2007 installed (NET1, NET2 and NET2 help) 
    I had the same problem with the Q4 2006 installation.
    System.Web.Extension assembly version 1.0.61025.0 in the bin and the GAC.

  9. Atanas Korchev
    Admin
    Atanas Korchev avatar
    8462 posts

    Posted 27 Apr 2007 Link to this post

    Hello,

    This error means that MS Ajax is not properly configured. Please check the following articles:

    http://ajax.asp.net/docs/InstallingASPNETAJAX.aspx
    http://ajax.asp.net/docs/ConfiguringASPNETAJAX.aspx

    Regards,
    Albert
    the telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  10. Suresh
    Suresh avatar
    1 posts
    Member since:
    Aug 2013

    Posted 20 Aug 2013 Link to this post

    its resolved for me placing a system.web.extenssion.dll in project bin directory

    thank u
Back to Top