Failed to create designer 'Telerik.Web.UI.RadGrid...

5 Answers 4114 Views
Installer and VS Extensions
Teresia
Top achievements
Rank 1
Teresia asked on 21 Jan 2011, 01:03 PM
Hi

Every time I update to a new version of Telerik Radcontrols I get the designer view error back, and every time I go thru the pages here about troubleshooting, and every time the problems get solved by different approaches (remove/add reference, add the .dll in different folders, restart VS etc. )

Today nothing I do fixes the problem. What is it that I do wrong?

I am using Windows 7, Visual Studio 2008 SP1 and the absolute latest version of Telerik RadControls. I have many different projects on my disk pointing to different local websites.

Thanks
Teresia
Petar
Telerik team
commented on 21 Jan 2011, 03:07 PM

Hi Teresia,

I am sorry to hear that you are experiencing design time problems with our RadControls.

I don't know if you have seen and tried the steps in the following two articles:

If they don't help you then I will ask you if you can provide some more details about what steps have you tried. Did you install the latest version using the installer? Do you have other versions of the RadControls on your machine?

Regards,

Petar
the Telerik team

 

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Jasdeep
Top achievements
Rank 1
commented on 11 Mar 2015, 03:32 PM

Hi,
I am RadHTMlChart control , it started giving me design errors while working. I don't remember if there was an update.The design errors are for RadScriptManager, RadHtmlChart and also for the Ajax Manager.
After getting errors, I tried :

1.  adding Telerik.Web.UI.dll in the GAC and then. 
2.  removed Telerik.Web>UI.dll from bin folders.
3.   there is the required Telerik.Web.UI assembly and               Telerik.Web.Design in web.config.

I also created another project and used Telerik RadHtnkChart control, worked in the beginning  and started giving errors "could not load type ". Please see the attached files for the errors i am getting.

After getting first design time errors, I upgraded the UI for ASP.NET AJAX which is Q1 2015. I am using  Visual Studio 2013 Community Edition. I will greatly appreciate any help at this time.

Thanks,

Jasdeep










5 Answers, 1 is accepted

Sort by
0
Emre
Top achievements
Rank 1
answered on 19 Apr 2011, 12:02 PM
I found the solution,

remove old dll reference from project and add new one
close vs.net
windows "start menu-> all programs -> vs.net 20XX-> vs tools -> command prompt"  then type;
gacutil -i [Telerik.web.design.dll file with full path]  and
gacutil -i [Telerik.web.ui.dll file with full path]

it's work for me and my friend
Blaize
Top achievements
Rank 1
commented on 19 Apr 2011, 03:00 PM

@Emre,
I would go with adding only the design assm to the gac dude :)
Adding the controls asm (Telerik.Web.UI) to the gac could cause you problems when deploying to a shared hosting :)

Cheers,
Blaize
Network
Top achievements
Rank 2
commented on 07 Feb 2015, 10:55 AM

Emre thanks for solution.
0
Alistair
Top achievements
Rank 1
answered on 19 May 2011, 01:34 AM
Hi Emre,

installing the required version of the Telerik.Web.Design.dll into the GAC worked for me.

Since I was working on a machine that hadn't done a full installation of the controls the design assembly, for my version, was missing from the GAC.
Kamal Deep
Top achievements
Rank 1
commented on 23 Jun 2011, 01:47 PM

Excellent work,


Thanks you did a good job.
Alistair
Top achievements
Rank 1
commented on 05 Sep 2011, 02:29 PM

Thanks, adding the design assembly to the GAC worked for me too.
Caleb
Top achievements
Rank 1
commented on 11 Nov 2011, 07:34 PM

Hello all I have the exact same problem and I have tried adding to the GAC and got the error stating that the dll installed was of an older type than the one being installed.  I have tried adding thee dll's to the VS files and have had no success in doing so.   Any help would be useful at this point.  

CD
Erjan Gavalji
Telerik team
commented on 14 Nov 2011, 02:30 PM

Hi CD,

I guess the problem is in the assemblies, referenced by your project being a different version than the designer assembly you are attempting to use.

Can you please:
  • make sure there are no Telerik.Web.UI assemblies in the Visual Studio probing paths (PrivateAssemblies/PublicAssemblies) and in the GAC
  • Load your project in Visual Studio and rebuild it
  • Check the version of the Telerik.Web.UI assembly in the BIN folder of your project
  • Check if there is the Telerik.Web.Design assembly with the same version in your GAC
By the way, which Visual Studio version do you use?
Can you check the <assemblies> tag in your web.config as well? Is there the Telerik.Web.UI assembly mentioned there (in other words, do you have a GAC reference to the Telerik.Web.UI assembly)?

Looking forward to your reply,
Erjan Gavalji
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
Caleb
Top achievements
Rank 1
commented on 14 Nov 2011, 02:54 PM

I have found no assemblies in the the private or public VS2010 Probing paths.
I am using VS2010 but have installed VS2008 and VS2005 on the machine.  
The version that is loaded in the bin folder is the same as the error.
I don't see a version matching in the GAC but I do have the .35 and .20 loaded in the GAC.
I don't have the GAC referenced in the web.config but when I did I received many errors from doing so.

I am not sure what is going on here.

CD  
Erjan Gavalji
Telerik team
commented on 14 Nov 2011, 03:36 PM

Hi Caleb,

Thanks for the details!

I guess you checked the .NE T2.0 GAC (%windir%\Assembly) for the .NET 4.0 Telerik.Web.Design assembly. The thing is the .NET 4.0 GAC is located in the %windir%\Microsoft.NET\assembly folder. The gacutil tool woudl display it properly.

Can you check using the gacutil tool, please?
Here are the steps for that:
  • Start a Visual Studio 2010 Command Prompt as administrator
  • Type the following command and hit ENTER:
    gacutil /l Telerik.Web.Design
Please, try the steps below if it not listed:
  • Close all Visual Studio instances
  • Start a Visual Studio 2010 Command Prompt as administrator (or use the other one if not closed)
  • Navigate to the folder where you downloaded the .NET 4.0 Telerik assemblies (i.e. the BIN40 folder of the distribution you downloaded)
  • Type the following command and hit ENTER:
    gacutil /i Telerik.Web.Design.dll
  • Start Visual Studio and check if you'll have the design time available now.

Kind regards,
Erjan Gavalji
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
Caleb
Top achievements
Rank 1
commented on 14 Nov 2011, 05:21 PM

I have checked using gacutil and I got this 

Telerik.Web.Design Version=2010.1.519.20
Telerik.Web.Design Version=2010.1.519.35
Telerik.Web.Design Version=2010.1.519.40

The error I am getting in VS2010 is as follows:


Error Creating Control - radgrid
Failed o create designer 'Telerik.Web.UI.RadGrid, Telerik.Web.UI, Version=2010.3.1317.40, Culture=nutral, PublicKeyToken=.....'

I wonder if this error is because of a conflict of version 40 and 35 or is it not finding 40 where it needs to find it?

CD
0
Teodor
Telerik team
answered on 16 Nov 2011, 02:37 PM
Hi Caleb,

Telerik.Web.UI.dll requires Telerik.Web.Design.dll of the same version in the Gac. Unfortunately, it cannot find it because you have only
2010.1.519 added. To include it use the command gacutil /i [path to Telerik.Web.Design.dll with version 2010.3.1317.40]. After that try using the designer again.

I hope this solves your ploblem.

Regards,
Teodor
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
Bharathi
Top achievements
Rank 1
commented on 05 Feb 2015, 08:09 AM

Hi i'm getting Configuration Error Please find the attached file and mail me the steps to resolve it.

Thanks in Advance,
Divya
Bharathi
Top achievements
Rank 1
commented on 05 Feb 2015, 08:11 AM

I'm using VS 2012.
0
Nasko
Telerik team
answered on 05 Feb 2015, 09:53 AM
Hello Divya,

During the installation of Telerik Reporting on your machine, the Telerik Reporting assemblies were added to GAC. When deploying a Web Application project the assemblies from the GAC are not copied automatically, so you need to make sure the assemblies physically exist in the bin folder of your application.
For more information on the topic, please refer to the Deploying Web Applications help article.

Regards,
Nasko
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
章民
Top achievements
Rank 1
answered on 13 Jul 2017, 09:25 AM
I had solved this problem by adding Telerik.Web.Design.dll.
Tags
Installer and VS Extensions
Asked by
Teresia
Top achievements
Rank 1
Answers by
Emre
Top achievements
Rank 1
Alistair
Top achievements
Rank 1
Teodor
Telerik team
Nasko
Telerik team
章民
Top achievements
Rank 1
Share this question
or