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

[Solved] Unknown server tag 'telerik:treenavigation'

3 Answers 241 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Alec
Top achievements
Rank 1
Alec asked on 30 Jan 2008, 03:42 PM
Hi all,

I am trying to run Prometheus live demos on my dev server for the first time.  

********
Problem
********

Whenever I run a DefaultCS.aspx file in one of the examples I get the following error:

Parser Error

Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: Unknown server tag 'telerik:treenavigation'.

Source Error:

Line 2:  <%@ Control Language="c#" AutoEventWireup="false" Inherits="Telerik.QuickStart.ExamplesNavigation" TargetSchema="http://schemas.microsoft.com/intellisense/ie5" %>
Line 3:  <%@ register tagprefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI" %>
Line 4: <telerik:treenavigation id="treeNavigator" CssClass="navigationNodes" runat="server" Line 5:  		NewExampleImageUrl="~/Common/new.gif" EnableViewState="False"></telerik:treenavigation>

Source File: /WebTier/Common/ExamplesNavigation.ascx    Line: 4

********
Steps I've taken so far
********
1. I have used the manual installation and have created a project with selected live demos
2. I have added all the .dll files from the live demo bin directory
3. I have added the "Common", "Upload", "Menu", "Controls" and "RadControls" folders (and all their files) to my project
4. I have modified my web.config file 
5.  I added the QuickStart.dll file from the Rad Controls Q3 (i.e. non Prometheus) to my bin directory.  This is because my Prometheus download (RadControls_Prometheus_2007_3_1314_trial.zip, ~101Mb) did not have a QuickStart.dll included. 

Note: I did not run the TollBoxInstallerNet20 file



********
My Web.config
********
<?xml version="1.0"?>

<!--

Note: As an alternative to hand editing this file you can use the

web admin tool to configure settings for your application. Use

the Website->Asp.Net Configuration option in Visual Studio.

A full list of settings and comments can be found in

machine.config.comments usually located in

\Windows\Microsoft.Net\Framework\v2.x\Config

-->

<

configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">

<!--

Added for Neodynamic ImageDraw-->

<

configSections>

<

sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">

<

sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">

<

section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication" />

<

sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">

<

section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="Everywhere" />

<

section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication" />

<

section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication" />

</

sectionGroup>

</

sectionGroup>

</

sectionGroup>

<

sectionGroup name="telerik.web.ui">

<

section name="radScheduler" type="Telerik.Web.UI.RadSchedulerConfigurationSection, Telerik.Web.UI, PublicKeyToken=121fae78165ba3d4" allowDefinition="MachineToApplication" requirePermission="false" />

</

sectionGroup>

</

configSections>

 

<

appSettings/>

<

connectionStrings/>

<

system.web>

<

webServices>

<

protocols>

<

add name="HttpPost" />

</

protocols>

</

webServices>

<

pages>

<

controls>

<

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

<!--

Added for Neodynamic ImageDraw-->

<

add assembly= "Neodynamic.WebControls.ImageDraw, Version=3.0.2000.0, Culture=neutral, PublicKeyToken=49ea6b0547247dc5" namespace="Neodynamic.WebControls.ImageDraw " tagPrefix="neoimg"/>

</

controls>

</

pages>

<!--

Set compilation debug="true" to insert debugging

symbols into the compiled page. Because this

affects performance, set this value to true only

during development.

-->

<

machineKey validationKey="D25BC0E7698D0674BCC0E6146BFCB565DBBE9374DCCFAD79DFCCFBA588D6C4A1CEBA05DC460A17BCF8A31EE72CF4CC9496C1024898DB6388510D8C66C0909C45" decryptionKey="23E04A994E71FC9BB0AE587A30E8FC56F6F7DA2CA1F58ABE763075684BC5CD62" validation="SHA1" decryption="AES"/>

<

customErrors mode="Off"/>

<

authorization>

<

allow users="Rarbo\ASPNET"/>

</

authorization>

<

compilation debug="false">

<

assemblies>

<

add assembly="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>

<

add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>

<

add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

<!--

Added for Rad Prometheus-->

<

add assembly="System.Web.Extensions.Design, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />

<

add assembly="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />

<

add assembly="System.Drawing.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />

<

add assembly="System.Configuration, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />

<

add assembly="System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />

<

add assembly="System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />

<

add assembly="System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />

<

add assembly="System.Web.Services, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />

<

add assembly="Telerik.Charting, Version=1.7.1.0, Culture=neutral, PublicKeyToken=D14F3DCC8E3E8763" />

</

assemblies>

</

compilation>

<

httpRuntime maxRequestLength="102400"/>

<!--

RadUpload and ASP.NET Ajax http module/http handler registration-->

<

httpHandlers>

<

remove verb="*" path="*.asmx" />

<

add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />

<

add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />

<

add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false" />

<

add verb="*" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.Upload.RadUploadProgressHandler, Telerik.Web.UI" />

<

add verb="*" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI, Culture=neutral, PublicKeyToken=121fae78165ba3d4"></add>

<

add verb="*" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler, Telerik.Web.UI, Culture=neutral, PublicKeyToken=121fae78165ba3d4"></add>

<

add verb="*" path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler, Telerik.Web.UI, Culture=neutral, PublicKeyToken=121fae78165ba3d4" validate="false" />

</

httpHandlers>

<

httpModules>

<

add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule, Telerik.Web.UI" />

<

add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />

</

httpModules>

</

system.web>

<!--

Added for Neodynamic ImageDraw-->

<

system.web.extensions>

<

scripting>

<

webServices>

<!--

Uncomment this line to customize maxJsonLength and add a custom converter -->

<!--

<jsonSerialization maxJsonLength="500">

<converters>

<add name="ConvertMe" type="Acme.SubAcme.ConvertMeTypeConverter"/>

</converters>

</jsonSerialization>

-->

<!--

Uncomment this line to enable the authentication service. Include requireSSL="true" if appropriate. -->

<!--

<authenticationService enabled="true" requireSSL = "true|false"/>

-->

<!--

Uncomment these lines to enable the profile service. To allow profile properties to be retrieved

and modified in ASP.NET AJAX applications, you need to add each property name to the readAccessProperties and

writeAccessProperties attributes.

-->

<!--

<profileService enabled="true"

readAccessProperties="propertyname1,propertyname2"

writeAccessProperties="propertyname1,propertyname2" />

-->

</

webServices>

<!--

<scriptResourceHandler enableCompression="true" enableCaching="true" />

-->

</

scripting>

</

system.web.extensions>

<!--

Added for Neodynamic ImageDraw-->

<

system.webServer>

<

modules>

<

add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule, Telerik.Web.UI" preCondition="managedHandler" />

<

add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="managedHandler" />

</

modules>

<

handlers>

<

add name="ChartImage.axd_*" path="ChartImage.axd" verb="*" type="Telerik.Web.UI.ChartHttpHandler, Telerik.Web.UI, Culture=neutral, PublicKeyToken=121fae78165ba3d4" preCondition="integratedMode,runtimeVersionv2.0" />

<

add name="Telerik.Web.UI.SpellCheckHandler.axd_*" path="Telerik.Web.UI.SpellCheckHandler.axd" verb="*" type="Telerik.Web.UI.SpellCheckHandler, Telerik.Web.UI, Culture=neutral, PublicKeyToken=121fae78165ba3d4" preCondition="integratedMode,runtimeVersionv2.0" />

<

add name="Telerik.Web.UI.DialogHandler.aspx_*" path="Telerik.Web.UI.DialogHandler.aspx" verb="*" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI, Culture=neutral, PublicKeyToken=121fae78165ba3d4" preCondition="integratedMode,runtimeVersionv2.0" />

<

add name="Telerik.RadUploadProgressHandler.ashx_*" path="Telerik.RadUploadProgressHandler.ashx" verb="*" type="Telerik.Web.UI.Upload.RadUploadProgressHandler, Telerik.Web.UI" preCondition="integratedMode,runtimeVersionv2.0" />

<

add name="ScriptResource.axd_GET,HEAD" path="ScriptResource.axd" verb="GET,HEAD" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="integratedMode,runtimeVersionv2.0" />

<

add name="*_AppService.axd_*" path="*_AppService.axd" verb="*" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="integratedMode,runtimeVersionv2.0" />

<

add name="*.asmx_*" path="*.asmx" verb="*" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="integratedMode,runtimeVersionv2.0" />

</

handlers>

<

validation validateIntegratedModeConfiguration="false" />

</

system.webServer>

</

configuration>

3 Answers, 1 is accepted

Sort by
0
Poul Henningsen
Top achievements
Rank 1
answered on 31 Jan 2008, 08:02 AM

--Alec,

Frankly, why are doing all this to yourself? Why don't you use the EXE installer? The ZIP files are used for "manual installation" and as of my experience with telerik controls, this "manual installation" could be a real trouble if you are not familiar with the controls.

In a word, go get the EXE file.

Cheers,
Poul

0
jaspinder
Top achievements
Rank 1
answered on 14 Mar 2008, 02:46 PM
...
0
Mark Macaulay
Top achievements
Rank 1
answered on 07 May 2008, 04:05 PM
I have been able to duplicate this and have narrowed it down to referencing  2.0 .net telerik dll from within a 3.5 .net app.
Simply removing the 2.0 .net telerik dll and replacing it with thee 3.5 .net version corrected the problem of "Unknown server tag 'telerik:...'.

Mark

Tags
General Discussions
Asked by
Alec
Top achievements
Rank 1
Answers by
Poul Henningsen
Top achievements
Rank 1
jaspinder
Top achievements
Rank 1
Mark Macaulay
Top achievements
Rank 1
Share this question
or