Home / Community & Support / Knowledge Base / RadControls for ASP.NET and ASP.NET AJAX / General, Installation, Licensing / VS 2008 design-time error using “Prometheus” RadControls

VS 2008 design-time error using “Prometheus” RadControls

Article Info

Rating: 4

Article information

Article relates to

RadControls "Prometheus"  for .NET v3.5 

Created by

Helen

Last modified

2008/03/27 

Last modified by

Stephen, Telerik


This KB article relates to RadControls Prometheus Q3 2007 SP1 or previous versions. RadControls Q3 2007 SP2 or later does not have separate Telerik.Design.dll (as it is integrated in Telerik.Web.UI. dll already) and include various design-time improvements under VS 2008 which should solve the issue discussed here.

PROBLEM

Error “Rendering Control - RadControl”
An unhandled exception has occurred.
Could not load file or assembly 'Telerik.Web.UI, Version=2007.3.1314.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4' or one of its dependencies. The system cannot find the file specified.

Or

Error “Creating Control - RadMenu1”
Failed to create designer 'Telerik.Web.UI.RadMenu, Telerik.Web.UI, Version=2007.3.1314.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4'



SOLUTION

When using VS 2008, both the Telerik.Web.UI.dll and Telerik.Web.Design.dll files should reside either in the GAC or the bin folder of your application.

  • If you install the controls using the installation “exe” file, the Telerik.Web.Design.dll will be automatically added to the GAC. Therefore, you will have to add the Telerik.Web.UI.dll to the GAC, too. Please, make sure that you have administrator priviliges (run as admin).

  • If you extract the dll files from a provided ZIP file, the Telerik.Web.Design.dll will NOT be installed to the GAC. Therefore, both the dll files (Telerik.Web.Design.dll and Telerik.Web.UI.dll) should be placed in the bin folder of your application.

Note: This error occurs only with Telerik.Web.UI for .NET version 3.5 (these dll files reside under the bin35 folder in the installation ZIP)


Example

  1. If you use the installation “exe” file, after the installation you will have the following two versions of Telerik.Web.Design.dll in the GAC:

  2. Create a new .NET 3.5 web site and drag/drop the AjaxPanel control (for example) onto the web form, the following error will be displayed:

  3. Close the VS and add the Telerik.Web.UI.dll (which resides in C:\Program Files\Telerik\RadControls 'Prometheus' for ASPNET Q3 2007\Bin35 folder) to the GAC:

  4. Start the VS again.
  5. No error is displayed.

     

 

Comments

  • Developer , Feb 6, 2008

    This article helped me resolve an issue, but it is wrong about it only occuring with the .Net 3.5 assembly. This also occurs with the 2.0 assembly.

  • Telerik Admin , Feb 7, 2008

    The issue can occur both with ASP.NET 2.x and ASP.NET 3.5 build of RadControls Prometheus. However, it happens under VS2008 only, the problem should not be present under VS2005.

  • Mina Fanous , Oct 6, 2008

    I had this issue occur with me when using RadControls for ASPNET AJAX Q2 2008. I was using VS 2008 and Vista crashed, after that I would constantly get the error rendering control message. After reading this article, I was able to resolve the problem by registering the Telerik.Web.UI.dll in the GAC.

If you'd like to comment on this KB article, please, send us a Support Ticket.
Thank you!

Please Sign In to rate this article.