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

Moved to a new machine, now getting Unknown Server Tag errors

6 Answers 357 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
dean.carrefour
Top achievements
Rank 1
dean.carrefour asked on 25 Feb 2010, 08:14 PM
I just built a new machine, installed VS2008, applied all updates and patches, installed Telerik RadControls for ASP.NET AJAX Q3 2009, installed Visual Sourcesafe client, opened my existing website from source control. When I view pages, the text boxes and any other Telerik controls down show up, they say 'error creating control' and give me an Unknown server tag 'radI:RadScriptManager'.  The ScriptManager is another one that does this.  I have tried deleting the exiting reference to Telerik.Web.UI and adding both of the Telerik .dll's under C:\Program Files (x86)\Telerik\RadControls for ASP.NET AJAX Q3 2009\Bin35.  I tried adding a second RadScriptManager control to see if maybe it would insert the correct values, but no go.  However if I add a plain ASP.NET ScriptManager, it inserts and displays without error.

Most of them are that error, but I am also getting this one too when trying to build:  Could not load file or assembly 'Telerik.Web.UI' or one of its dependencies. The system cannot find the file specified.


Basically none of my Telerik controls will display in the IDE or allow me to build the project...or even view in my browser locally.  I really need some help.  Thanks.

6 Answers, 1 is accepted

Sort by
0
Erjan Gavalji
Telerik team
answered on 25 Feb 2010, 11:00 PM
Hi Dean,

Did you install Visual Studio 2008 SP1? Lacking VS 2008 SP1 is the most common reason for the design time behavior of the RadControls not working correctly.

The Telerik.Web.Design Assembly and the Design-time Troubleshooting articles give some more information on the matter.

Kind regards,
Erjan Gavalji
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Sucheta Patil
Top achievements
Rank 1
answered on 26 Feb 2010, 01:40 PM
Hello,
 I had similar problems. What I did was I added
Telerik.Web.Design 2009.3.1314.20  and Telerik.Web.Design 2009.3.1314.35
Telerik.Web.UI 2009.3.1314.20 and Telerik.Web.UI 2009.3.1314.35 to windows assembly.
You can also add from Microsfot .net 2.0 Configuration.
Telerik have asked to only add .35 but I added .20 and it worked.
You dont have to change anything in web.config file.
Well I have .Net Framework 3.5 SP1.
This worked for me. Close Visual Studio 2008 and open project , add fresh references to your project and clean the solution and build it again.
Cheers!!!
0
dean.carrefour
Top achievements
Rank 1
answered on 02 Mar 2010, 06:34 PM
I tried all of your suggestions (both of you that replied).  None of them worked.  I installed VS2008 SP1, I also followed your links to the telerik documents and tried those methods which also did not work.  My error doesn't say 'failed to create designer', mine says 'unknown server tag:'.  It still give the 'Error creating control' image, but underneath the message is different that the two links you provided.  As I said, I tried what it said anyway with no luck.

My project still won't build or get past these errors.

Down in my list of build errors, It says "Name 'txtFirstName' is not declared" for every one of these controls that won't display in the IDE, so there are a bunch of those errors.  I also get a bunch of warnings stating that "Element 'RadTextBox' is not a known element.  This can occur if there is a compliation error in the Web site, or the web.config file is missing."  The web.config file is not missing.
0
Schlurk
Top achievements
Rank 2
answered on 04 Mar 2010, 03:27 PM
If you start a new project as a RadControls Web Application/Website and drag a few controls on the page do you receive this error? If not you could always try to replace the web.config from the application without errors with the one that gives you errors. I had a similar issue where I just replaced the web.config contents with the contents of another web.config which used Telerik's RadControls and that resolved everything for me!
0
dean.carrefour
Top achievements
Rank 1
answered on 16 Mar 2010, 08:24 PM
I tried what you recommended, opening a new project to see if I still had errors.

Got this when I tried to create a new RadControls ASP.NETWebsite:  (see attached files - Telerik1.jpg)  This method doesn't work at all.

Opened a RadControls ASP.NET Web Application, default configoptions (telerik):  (attached file - Telerik2.jpg)  All seemed right, the RadScriptManager1 appears in design view, no errors.

Everything looked fine, so I dropped in a RadTextBox from the toolbar and then it turns into this.  Now theRadScriptManager1 that worked fine before the text box has this error:  (attached file - Telerik3.jpg)


And beside the RadTextBox that I dropped onto the page I getthis error (wouldn’t show in first screen shot because It’s a pop-up error/message:  (attached file - Telerik4.jpg)

I really need to get this problem resolved.  I have been chasing this problem for a month now.  Thanks.


0
Erjan Gavalji
Telerik team
answered on 22 Mar 2010, 12:23 PM
Hi Dean,

I'm sorry for both the problems you got. I'll try helping you solve them as quick as I can. Here it goes:
  • The New RadControls WebSite error is indeed a bug in the Visual Studio Extensions in the RadControls for ASP.NET Q3 2009 SP1 installer. We released a fix in the Untrusted component 'Telerik.Web.UI.VSX, Version-2009.03.1313.0 forum post. Can you please, download the fix and apply it?
  • Designer error on Toolbox drag-and-drop. This usually happens when using the NET35 assembly as a reference and performing a control drag-and-drop from the RadControls for ASP.NET AJAX NET20 ToolBox group or vice-versa. I believe your project has TargetFramework set to 3.5 (the  telerik2.jpg screenshot notes that the script manager works correctly when loading the .NET 35 assembly). Can you please, use the RadControls for ASP.NET AJAX NET35 toolbox item group to drag and drop a control from the ToolBox?

Kind regards,
Erjan Gavalji
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
General Discussions
Asked by
dean.carrefour
Top achievements
Rank 1
Answers by
Erjan Gavalji
Telerik team
Sucheta Patil
Top achievements
Rank 1
dean.carrefour
Top achievements
Rank 1
Schlurk
Top achievements
Rank 2
Share this question
or