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

Unknown server tag 'asp:ScriptManager'

9 Answers 1695 Views
AJAX and Web 2.0
This is a migrated thread and some comments may be shown as answers.
Jack Shiung
Top achievements
Rank 1
Jack Shiung asked on 21 Mar 2007, 04:21 PM
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

9 Answers, 1 is accepted

Sort by
0
Lini
Telerik team
answered on 22 Mar 2007, 04:04 PM
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
0
Jack Shiung
Top achievements
Rank 1
answered on 23 Mar 2007, 03:12 PM
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


0
Johan
Top achievements
Rank 1
answered on 23 Mar 2007, 03:20 PM
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
0
Jack Shiung
Top achievements
Rank 1
answered on 23 Mar 2007, 10:41 PM
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?
0
LBrinley
Top achievements
Rank 1
answered on 13 Apr 2007, 05:10 PM
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.
0
Lee Hicks
Top achievements
Rank 1
answered on 26 Apr 2007, 04:28 PM
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.

0
Lee Hicks
Top achievements
Rank 1
answered on 26 Apr 2007, 04:28 PM
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.

0
Atanas Korchev
Telerik team
answered on 27 Apr 2007, 07:21 AM
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
0
Suresh
Top achievements
Rank 1
answered on 21 Aug 2013, 04:34 AM
its resolved for me placing a system.web.extenssion.dll in project bin directory

thank u
Tags
AJAX and Web 2.0
Asked by
Jack Shiung
Top achievements
Rank 1
Answers by
Lini
Telerik team
Jack Shiung
Top achievements
Rank 1
Johan
Top achievements
Rank 1
LBrinley
Top achievements
Rank 1
Lee Hicks
Top achievements
Rank 1
Atanas Korchev
Telerik team
Suresh
Top achievements
Rank 1
Share this question
or