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

Design Time Error with Controls

3 Answers 111 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
StevenDale
Top achievements
Rank 2
StevenDale asked on 26 Jun 2009, 02:50 AM
I am getting the following error message when I am in design mode in Visual Studio 2008:

System.IO.FileNotFoundException: Could not load file or assembly 'Telerik.Web.UI, Version = 2009.1.402.35, Culture=neutrual,PublicKeyToken=121fae78165ba3d4' or one of its dependencies.  The system cannot find the file specified.  File name: 'Telerik.Web.UI, Version=2009.1.402.35,Culture=neutral,PublicKeyToken=121fae78165ba3d4' at Telerik.Web.Design.RadGridDesigner.GetDesignTimeHtml(DesignerRegionCollection regions) at System.Web.UI.Design.ControlDesigner.GetDesignTimeHtml(DesignerRegionCollection regions) at System.Web.UI.Design.ControlDesigner.GetViewRendering(ControlDesigner designer)

This is running on a 64 bit Windows Vista. This is a new installation of asp.net ajax.

Thanks,

Billy Jacobs

3 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 26 Jun 2009, 07:05 AM
Hi Billy,

Please make sure that the Telerik.Web.UI.dll file is present in your project's bin folder. Checkout the following forum link which discusses similar scenario. Hope this helps.
Problem with installation
Error Creating Control

You can also refer following links for more information.
General Troubleshooting

Thanks,
Shinu
0
StevenDale
Top achievements
Rank 2
answered on 26 Jun 2009, 02:09 PM
The Telerik.Web.UI.dll is in the bin folder and is the correct version 2009.1.402.35.

In the GAC I had 2 Telerik.Web.Design assemblies with different versions. I deleted the 2009.1.402.20 version. This did not resolve my problem either.

My web.config file has the following references to Telerik:

<

 

add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" />

 

<

 

add name="Telerik_Web_UI_WebResource_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" />

The only controls that I am using are the RadMenu and the RadGridView.

Thanks,

Billy Jacobs

 

0
Accepted
Pavlina
Telerik team
answered on 26 Jun 2009, 02:38 PM
Hi Billy,

Do you have a reference to the Telerik.Web.Design assembly in your project? Review the following blog post (referenced in the discussion below) which elaborates on this subject for more details about how to address design-time errors with the Q1 2009 release of RadControls for ASP.NET AJAX.

Kind regards,
Pavlina
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
General Discussions
Asked by
StevenDale
Top achievements
Rank 2
Answers by
Shinu
Top achievements
Rank 2
StevenDale
Top achievements
Rank 2
Pavlina
Telerik team
Share this question
or