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

Unknown server tag issue

20 Answers 592 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
EkoEvolution
Top achievements
Rank 1
EkoEvolution asked on 30 Dec 2007, 05:31 PM
I am migrating servers and basically copied every setting from one server to the other. IIS runs on a virtual server running Windows Server 2003 and our files are stored on a share. When moving to the new server I am getting an Unknown server tag error for all of my Telerik controls. I am using some ASP.NET controls and some Prometheus controls.

Everything works fine on my local box still and if I flip it all back to the old box it works without error. We have changed nothing in the files since they are on a share.

Am i missing something. Do I have to run an install on the new server if I have the files in the bin directory?

20 Answers, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 03 Jan 2008, 12:11 PM
Hi Aaron,

Could you please let me know if the “Unknown server tag” error appears when you are in design mode? Also can you verify whether the live examples and their local versions on your machine run normally and if they are referencing the latest build (2007.3.1218) of Telerik.Web.UI.dll? This can help us identify the source of the issue to address it accurately.

Best regards,
Maria Ilieva
the Telerik team


Instantly find answers to your questions at the new Telerik Support Center
0
LeBear
Top achievements
Rank 1
answered on 24 Apr 2008, 01:46 AM
I upgraded to the "Formerly Known as Prometheus" version of everything.  I reported a problem with the tabs and a hotfix was provided.  (Version 2008.1.416.20).

When I run with this hotfix version, I get the unknown tag messages on one development machine, but not the other.  On both machines, however, the Telerik tags are not recognized at all in the development environment.  I get no Intellisense in the development environment at all.

I'm now realizing just how hooked I am on the Intellisense.

Please, please help me!
0
Helen
Telerik team
answered on 24 Apr 2008, 09:28 AM
Hi Barry,

Do you use a network share to develop your project? If so, I believe the following forum thread will be helpful for you - http://www.telerik.com/community/forums/thread/b311D-bcdmed.aspx
If it doesn't help - could you send us a sample test page together with the web.config file to examine the problem locally?

Thank you for your time and cooperation.

Kind regards,
Helen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
LeBear
Top achievements
Rank 1
answered on 24 Apr 2008, 12:40 PM
I realized a long time ago that I didn't want to do development over a network share.  Visual Studio really doesn't seem to like that.

I've boiled this down to the absolute minimum.

I have the following files in my project:

\bin\Telerik.Web.UI.dll
\bin\Telerik.Web.UI.XML
\default.aspx
\web.config

If I use the production release of RadControls for ASP.Net Ajax, it works fine.  If I change the DLL and XML file to that of the hotfix, it falls apart.  I don't get the intellisense and all that.

Here is 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> 
    <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> 
    </configSections> 
    <appSettings> 
    </appSettings> 
    <system.web> 
        <!--  
            Set compilation debug="true" to insert debugging  
            symbols into the compiled page. Because this  
            affects performance, set this value to true only  
            during development. 
        --> 
        <compilation debug="true"
   <assemblies> 
    <add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" /> 
    <add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" /> 
    <add assembly="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" /> 
   </assemblies> 
  </compilation> 
        <customErrors mode="Off"/> 
        <trace enabled="false" localOnly="false" requestLimit="50" pageOutput="true" traceMode="SortByTime"/> 
        <!-- 
            The <authentication> section enables configuration  
            of the security authentication mode used by  
            ASP.NET to identify an incoming user.  
        --> 
        <authentication mode="None"/> 
        <!-- 
            The <customErrors> section enables configuration  
            of what to do if/when an unhandled error occurs  
            during the execution of a request. Specifically,  
            it enables developers to configure html error pages  
            to be displayed in place of a error stack trace. 
 
        <customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm"
            <error statusCode="403" redirect="NoAccess.htm" /> 
            <error statusCode="404" redirect="FileNotFound.htm" /> 
        </customErrors> 
        --> 
        <pages enableEventValidation="false" > 
            <controls> 
                <!-- Common header links for all pages --> 
                <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/> 
                <add assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagPrefix="telerik"/> 
            </controls> 
            <namespaces> 
                <clear/> 
                <!-- <add namespace="com.paypal.www"/>  --> 
                <add namespace="System"/> 
                <add namespace="System.Collections"/> 
                <add namespace="System.Collections.Specialized"/> 
                <add namespace="System.Configuration"/> 
                <add namespace="System.Text"/> 
                <add namespace="System.Text.RegularExpressions"/> 
                <add namespace="System.Web"/> 
                <add namespace="System.Web.Caching"/> 
                <add namespace="System.Web.SessionState"/> 
                <add namespace="System.Web.Security"/> 
                <add namespace="System.Web.Profile"/> 
                <add namespace="System.Web.UI"/> 
                <add namespace="System.Web.UI.WebControls"/> 
                <add namespace="System.Web.UI.WebControls.WebParts"/> 
                <add namespace="System.Web.UI.HtmlControls"/> 
                <add namespace="Telerik.Web.UI"/> 
            </namespaces> 
        </pages> 
        <httpHandlers> 
   <remove path="*.asmx" verb="*" /> 
   <add path="*.asmx" verb="*" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" 
    validate="false" /> 
   <add path="*_AppService.axd" verb="*" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" 
    validate="false" /> 
   <add path="ScriptResource.axd" verb="GET,HEAD" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" 
    validate="false" /> 
   <add path="Telerik.Web.UI.DialogHandler.aspx" verb="*" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI" 
    validate="false" /> 
   <add path="Telerik.Web.UI.SpellCheckHandler.axd" verb="*" type="Telerik.Web.UI.SpellCheckHandler, Telerik.Web.UI" 
    validate="false" /> 
  </httpHandlers> 
        <httpModules> 
            <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/> 
        </httpModules> 
    </system.web> 
</configuration> 
 


Here is my default.aspx:

<%@ Page Language="VB" %> 
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
 
<script runat="server"
 
</script> 
 
<html xmlns="http://www.w3.org/1999/xhtml"
<head runat="server"
    <title>Untitled Page</title> 
</head> 
<body> 
    <form id="form1" runat="server"
    <div> 
        <asp:ScriptManager ID="ScriptManager1" runat="server" /> 
    <Telerik:RadTabstrip runat="server"
            <tabs> 
                <Telerik:RadTab runat="server" text="Tab 1" /> 
                <Telerik:RadTab runat="server" text="Tab 2" /> 
                <Telerik:RadTab runat="server" text="Tab 3" /> 
            </tabs> 
    </Telerik:RadTabstrip> 
    </div> 
    </form> 
</body> 
</html> 
 

To test this, I put the production DLL and XML file in and do a web build.  I then go to the default.aspx and attempt to insert a new Telerik element.  I get the intellisense.  I then put the hotfix DLL and XML file and do a web build again.  I go back to the default.aspx and attempt to insert a new Telerik element, and I don't get any intellisense.  I start typing "<Tel" and none of the Telerik tags show in the intellisense at that point.  If I go to an existing tag, I can't get the intellisense there, either.

Thanks for looking into this.

0
Helen
Telerik team
answered on 25 Apr 2008, 10:15 AM
Hi Barry,

Thank you for the further details. Please find attached a project we created based on your code. We used trial dll's. Everything ran without problems at our side. What might be the difference in your case?

Regards,
Helen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
LeBear
Top achievements
Rank 1
answered on 25 Apr 2008, 05:01 PM
When I installed this project on my machine, I get the green squiggly lines under each of the Telerik controls:

"Unrecognized tag prefix or device filter 'Telerik'.

I'm thinking - ok, guessing actually - that there is some sort of version confusion thing going on.  I'm guessing this based on what searching I've done online and the fact that the production version of the Telerik files don't have a problem, but the hotfix version of the files does.  In fact, if I replace the bin files in your project with the production version, it starts working again.  I put them back, and the problem resurfaces.  I don't even have to do the rebuild actually, as it picks up the changes in a few seconds.

In the past, I've had problems with the installation of one version of the Telerik tools on top of another.  I generally uninstall everything and then install the new versions (which can take quite a long time).  On this machine, only the latest version (production RadControls for ASP.Net Ajax) is showing as installed, but there are folders for older versions.  I'm going to uninstall everything, delete all of the files, reboot, install the latest version, and see what happens. I'll post with an update when this is all done...
0
LeBear
Top achievements
Rank 1
answered on 25 Apr 2008, 08:01 PM
Well, that was a lot of work for nothing.

I completely uninstalled all Telerik versions.  I actually only had the latest, but I had a couple of other folders in the Program Files/Telerik folder, so I made sure that was all deleted.

I then scanned the registry for "Telerik".  It pointed to the folders "\Program Files\Common Files\Telerik..." and "\Program Files\Telerik", so I made sure both of those folders were completely removed.  There were several other registry entries that referenced Telerik, but I didn't feel confident altering or deleting any of them.

I rebooted and accessed the IntellisenseTest application.  No matter which version I had of the DLL/XML files, it gave me the warning. 

I installed the production version and rebooted, and I ended up back where I started.  If I put the current production version of the DLL/XML files, it works.  If I put in the hotfix files (either the ones I got for real or the ones in your zip file), I get the warnings.

I wonder... In the web.config file where you add the controls, there is an entry for asp and one for telerik.  The asp entry has a version, culture, and publickeytoken.  Would it help to add a version for the telerik one?  If so, what version (or more) would you need to put in there.  I tried 2008.1.416.20 and it didn't have an affect.  I did see it validates it because if I put an invalid version number, it would tell me it couldn't find it.

On a whim, I finally searched the registry for 2008.1.415.20 and 2008.01.0415.20 in hopes that there might be a version reference in there.  Neither were found.

An finally, I searched for ALL Telerik.Web.UI DLL and XML files and made sure they were the latest hotfix version.  My goal here was to make sure it wasn't VS 2008 wasn't picking up the references from another location.  I also rebooted to make sure there wasn't anything left in memory.  It still failed.

I popped my thumb drive back in to restore the production version of the files to your application, and within seconds, the warnings went away.

I even went so far as to go into Windows System Information to see the loaded modules to see if there were more copies of the DLL in memory, and it didn't find anything.  Just the one that was loaded from the temporary asp.net files folder.

I'm not sure what else I could look for.

I guess I'm lucky.  I can program with one version and execute with another.

Thanks.
0
LeBear
Top achievements
Rank 1
answered on 25 Apr 2008, 09:06 PM
Wahoo!!

I've resolved the problem on one of my machines.  I'll know later when I get to the other if it's resolved there, but I suspect it will be.

On a whim, I added the Telerik.Charting DLL and XML files to my application.  It works great now.

If you need any information from me to help diagnose what's going on, I'll be happy to help.

Thanks.
0
Helen
Telerik team
answered on 28 Apr 2008, 12:37 PM
Hi Barry,

We are happy that you managed to solve the problem yourself. It would be great if you can isolate it in a sample project and send it to us so that we can further investigate it.

Thank you for your time and cooperation.

Kind regards,
Helen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
LeBear
Top achievements
Rank 1
answered on 28 Apr 2008, 02:57 PM
I think it's something beyond the project since I am able to recreate this with the project you sent me in this thread.

As far as I can see, this is an elusive bug associated with Visual Studio since I've seen related problems posted on the Internet (not with the Telerik DLL's) and the solution is always something that doesn't quite solve everyones' problem.
0
Helen
Telerik team
answered on 29 Apr 2008, 10:00 AM
Hello Barry,

We often receive comments about the intellisense not working in different user scenarios, so we will continue investigate the problem further.
Feel free to share your findings with us. I hope they will be helpful to other customers.

Regards,
Helen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
LeBear
Top achievements
Rank 1
answered on 21 May 2008, 10:29 PM
FYI, I upgraded to the new SP 1 and was able to remove the charting DLL's.  I still have my intellisense and all.

I also noticed that there's a beta release for VS 2008 SP1, which says that seems to address some intellisense issues.  Wouldn't it be nice if this all went away???
0
Sebastian
Telerik team
answered on 22 May 2008, 06:39 AM
Hello Barry,

Indeed there are several issues related to our controls which are addressed in the VS 2008 SP1 version:

http://blogs.msdn.com/webdevtools/archive/2008/05/12/visual-studio-2008-sp1-beta.aspx

You can try it out or wait for the official SP1 version of the development environment.
 
Best regards,
Stephen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Daniel
Top achievements
Rank 1
answered on 22 May 2008, 02:25 PM
THANK YOU, Thank You, thank you!

I was having the same issue, and adding the Charting DLL's resolved my issue as well.

I'll wait until SP1 goes to release.

0
Phil C
Top achievements
Rank 2
answered on 24 Jun 2008, 10:05 AM
Agreed, same here, that was annoying but fixed by dropping in the charting dll - and that was SP2 v619 upgrade.
0
Mike
Top achievements
Rank 1
answered on 13 Sep 2008, 04:35 AM
Fix worked for me as well.   Thanks.
0
arjan
Top achievements
Rank 1
answered on 02 Oct 2008, 09:52 AM
I'm using 2008.2.826.35 (the latest release)

Simply adding the charting dll's to the solution items was enough...
0
Michael Hennessy
Top achievements
Rank 1
answered on 18 Dec 2008, 12:24 AM
I am using .Net 2.0 version of the Q3 2008 release.  I was writing a module for DNN when the same error started happening.
I isolated the problem as being related to the following line in the dotNetNuke web.config file: 
<trust level="Medium" originUrl=".*" />
Removing this line solved the problem.
0
Saquib
Top achievements
Rank 1
answered on 07 Nov 2011, 05:39 PM
Hello,

Looks like adding telerik.charting dll to the solution will fix the problem. But I am not able to find this dll in my local computer. Could anyone guide me to where I can find it. 

Will appreciate your help
Thank you
0
Sebastian
Telerik team
answered on 07 Nov 2011, 06:09 PM
Hello Saquib,

See my answer in the other forum post you opened in relation with the same subject.

Regards,
Sebastian
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
Tags
General Discussions
Asked by
EkoEvolution
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
LeBear
Top achievements
Rank 1
Helen
Telerik team
Sebastian
Telerik team
Daniel
Top achievements
Rank 1
Phil C
Top achievements
Rank 2
Mike
Top achievements
Rank 1
arjan
Top achievements
Rank 1
Michael Hennessy
Top achievements
Rank 1
Saquib
Top achievements
Rank 1
Share this question
or