Unknown server tag issue

21 posts, 0 answers
  1. EkoEvolution
    EkoEvolution avatar
    6 posts
    Member since:
    Oct 2006

    Posted 30 Dec 2007 Link to this post

    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?
  2. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 03 Jan 2008 Link to this post

    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. LeBear
    LeBear avatar
    233 posts
    Member since:
    May 2006

    Posted 23 Apr 2008 Link to this post

    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!
  5. Helen
    Admin
    Helen avatar
    1052 posts

    Posted 24 Apr 2008 Link to this post

    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
  6. LeBear
    LeBear avatar
    233 posts
    Member since:
    May 2006

    Posted 24 Apr 2008 Link to this post

    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:

    1 <?xml version="1.0"?> 
    2 <!--  
    3     Note: As an alternative to hand editing this file you can use the  
    4     web admin tool to configure settings for your application. Use 
    5     the Website->Asp.Net Configuration option in Visual Studio. 
    6     A full list of settings and comments can be found in  
    7     machine.config.comments usually located in  
    8     \Windows\Microsoft.Net\Framework\v2.x\Config  
    9 --> 
    10 <configuration> 
    11     <configSections> 
    12         <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
    13             <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
    14                 <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication"/> 
    15                 <sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
    16                     <section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="Everywhere"/> 
    17                     <section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication"/> 
    18                     <section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication"/> 
    19                 </sectionGroup> 
    20             </sectionGroup> 
    21         </sectionGroup> 
    22     </configSections> 
    23     <appSettings> 
    24     </appSettings> 
    25     <system.web> 
    26         <!--  
    27             Set compilation debug="true" to insert debugging  
    28             symbols into the compiled page. Because this  
    29             affects performance, set this value to true only  
    30             during development. 
    31         --> 
    32         <compilation debug="true"
    33    <assemblies> 
    34     <add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" /> 
    35     <add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" /> 
    36     <add assembly="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" /> 
    37    </assemblies> 
    38   </compilation> 
    39         <customErrors mode="Off"/> 
    40         <trace enabled="false" localOnly="false" requestLimit="50" pageOutput="true" traceMode="SortByTime"/> 
    41         <!-- 
    42             The <authentication> section enables configuration  
    43             of the security authentication mode used by  
    44             ASP.NET to identify an incoming user.  
    45         --> 
    46         <authentication mode="None"/> 
    47         <!-- 
    48             The <customErrors> section enables configuration  
    49             of what to do if/when an unhandled error occurs  
    50             during the execution of a request. Specifically,  
    51             it enables developers to configure html error pages  
    52             to be displayed in place of a error stack trace. 
    53  
    54         <customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm"
    55             <error statusCode="403" redirect="NoAccess.htm" /> 
    56             <error statusCode="404" redirect="FileNotFound.htm" /> 
    57         </customErrors> 
    58         --> 
    59         <pages enableEventValidation="false" > 
    60             <controls> 
    61                 <!-- Common header links for all pages --> 
    62                 <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/> 
    63                 <add assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagPrefix="telerik"/> 
    64             </controls> 
    65             <namespaces> 
    66                 <clear/> 
    67                 <!-- <add namespace="com.paypal.www"/>  --> 
    68                 <add namespace="System"/> 
    69                 <add namespace="System.Collections"/> 
    70                 <add namespace="System.Collections.Specialized"/> 
    71                 <add namespace="System.Configuration"/> 
    72                 <add namespace="System.Text"/> 
    73                 <add namespace="System.Text.RegularExpressions"/> 
    74                 <add namespace="System.Web"/> 
    75                 <add namespace="System.Web.Caching"/> 
    76                 <add namespace="System.Web.SessionState"/> 
    77                 <add namespace="System.Web.Security"/> 
    78                 <add namespace="System.Web.Profile"/> 
    79                 <add namespace="System.Web.UI"/> 
    80                 <add namespace="System.Web.UI.WebControls"/> 
    81                 <add namespace="System.Web.UI.WebControls.WebParts"/> 
    82                 <add namespace="System.Web.UI.HtmlControls"/> 
    83                 <add namespace="Telerik.Web.UI"/> 
    84             </namespaces> 
    85         </pages> 
    86         <httpHandlers> 
    87    <remove path="*.asmx" verb="*" /> 
    88    <add path="*.asmx" verb="*" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" 
    89     validate="false" /> 
    90    <add path="*_AppService.axd" verb="*" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" 
    91     validate="false" /> 
    92    <add path="ScriptResource.axd" verb="GET,HEAD" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" 
    93     validate="false" /> 
    94    <add path="Telerik.Web.UI.DialogHandler.aspx" verb="*" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI" 
    95     validate="false" /> 
    96    <add path="Telerik.Web.UI.SpellCheckHandler.axd" verb="*" type="Telerik.Web.UI.SpellCheckHandler, Telerik.Web.UI" 
    97     validate="false" /> 
    98   </httpHandlers> 
    99         <httpModules> 
    100             <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/> 
    101         </httpModules> 
    102     </system.web> 
    103 </configuration> 
    104  


    Here is my default.aspx:

    1 <%@ Page Language="VB" %> 
    2  
    3 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
    4  
    5 <script runat="server"
    6  
    7 </script> 
    8  
    9 <html xmlns="http://www.w3.org/1999/xhtml"
    10 <head runat="server"
    11     <title>Untitled Page</title> 
    12 </head> 
    13 <body> 
    14     <form id="form1" runat="server"
    15     <div> 
    16         <asp:ScriptManager ID="ScriptManager1" runat="server" /> 
    17     <Telerik:RadTabstrip runat="server"
    18             <tabs> 
    19                 <Telerik:RadTab runat="server" text="Tab 1" /> 
    20                 <Telerik:RadTab runat="server" text="Tab 2" /> 
    21                 <Telerik:RadTab runat="server" text="Tab 3" /> 
    22             </tabs> 
    23     </Telerik:RadTabstrip> 
    24     </div> 
    25     </form> 
    26 </body> 
    27 </html> 
    28  

    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.

  7. Helen
    Admin
    Helen avatar
    1052 posts

    Posted 25 Apr 2008 Link to this post

    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
  8. LeBear
    LeBear avatar
    233 posts
    Member since:
    May 2006

    Posted 25 Apr 2008 Link to this post

    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...
  9. LeBear
    LeBear avatar
    233 posts
    Member since:
    May 2006

    Posted 25 Apr 2008 Link to this post

    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.
  10. LeBear
    LeBear avatar
    233 posts
    Member since:
    May 2006

    Posted 25 Apr 2008 Link to this post

    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.
  11. Helen
    Admin
    Helen avatar
    1052 posts

    Posted 28 Apr 2008 Link to this post

    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
  12. LeBear
    LeBear avatar
    233 posts
    Member since:
    May 2006

    Posted 28 Apr 2008 Link to this post

    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.
  13. Helen
    Admin
    Helen avatar
    1052 posts

    Posted 29 Apr 2008 Link to this post

    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
  14. LeBear
    LeBear avatar
    233 posts
    Member since:
    May 2006

    Posted 21 May 2008 Link to this post

    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???
  15. Sebastian
    Admin
    Sebastian avatar
    9934 posts

    Posted 22 May 2008 Link to this post

    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
  16. Daniel
    Daniel avatar
    21 posts
    Member since:
    Jan 2008

    Posted 22 May 2008 Link to this post

    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.

  17. Phil C
    Phil C avatar
    30 posts
    Member since:
    Sep 2012

    Posted 24 Jun 2008 Link to this post

    Agreed, same here, that was annoying but fixed by dropping in the charting dll - and that was SP2 v619 upgrade.
  18. Mike
    Mike avatar
    27 posts
    Member since:
    Oct 2007

    Posted 12 Sep 2008 Link to this post

    Fix worked for me as well.   Thanks.
  19. arjan
    arjan avatar
    14 posts
    Member since:
    Feb 2007

    Posted 02 Oct 2008 Link to this post

    I'm using 2008.2.826.35 (the latest release)

    Simply adding the charting dll's to the solution items was enough...
  20. Michael Hennessy
    Michael Hennessy avatar
    5 posts
    Member since:
    Aug 2005

    Posted 17 Dec 2008 Link to this post

    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.
  21. Saquib
    Saquib avatar
    18 posts
    Member since:
    Aug 2011

    Posted 07 Nov 2011 Link to this post

    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
  22. Sebastian
    Admin
    Sebastian avatar
    9934 posts

    Posted 07 Nov 2011 Link to this post

    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
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017