Glen Kelly
Top achievements
Rank 1
Glen Kelly
asked on 05 Nov 2009, 08:29 PM
My company upgraded to RadControls for ASPNET Ajax Q2 2009 from RadControls for ASPNET Ajax Q3 2008 and now I get the error 'Could not load file or assembly 'Telerik.Web.UI.dll' or one of its dependencies. The system cannot find the file specified.' for every Telerik control in the VS Solution. Since then I have uninstalled Q2 2009 version and the Q3 2008 version, deleted the .Net cache files and all references in the web.config file. Restarted my dev system and reinstalled 2008 Q3. Same error for every Telerik control in the project. The one thing that makes it work is to change all references in the registration of the Telerik.Web.UI tagPrefix from 'telerik' to something else.
Does anyone have any suggestions?
<%
@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<%
@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="tel" %>
and then change all of the controls' prefixes. This makes it work but not really a fix. (Other developers work on the same projects)
Does anyone have any suggestions?
7 Answers, 1 is accepted
0
Hi Glen,
Do you have a reference to the Telerik.Web.Design assembly in your project?
I suggest you review the following blog post which elaborates on this subject for more details about how to address design-time errors.
Best wishes,
Pavlina
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Do you have a reference to the Telerik.Web.Design assembly in your project?
I suggest you review the following blog post which elaborates on this subject for more details about how to address design-time errors.
Best wishes,
Pavlina
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Glen Kelly
Top achievements
Rank 1
answered on 10 Nov 2009, 02:25 PM
Pavlina,
I did have a reference to the Telerik.Web.Design assembly when I had ASPNET AJAX Q2 2009 installed. It was installed in the GAC. At this point all I have installed is ASPNET AJAX Q3 2008 which does not have the Telerik.Web.Design DLL.
With only ASPNET AJAX Q3 2008 installed. I don't have any design time issues. All the Rad controls appear correctly and I can set the design time properties for the controls. I only get an error at runtime unless I change the TagPrefix to something other than 'telerik'.
Thanks,
Glen
I did have a reference to the Telerik.Web.Design assembly when I had ASPNET AJAX Q2 2009 installed. It was installed in the GAC. At this point all I have installed is ASPNET AJAX Q3 2008 which does not have the Telerik.Web.Design DLL.
With only ASPNET AJAX Q3 2008 installed. I don't have any design time issues. All the Rad controls appear correctly and I can set the design time properties for the controls. I only get an error at runtime unless I change the TagPrefix to something other than 'telerik'.
Thanks,
Glen
0
Hi Glen,
t seems that you have not registered correctly the Telerik.Web.UI.dll and it cannot be referenced at runtime. Can you please double-check that you followed precisely the instructions on how to upgrade Telerik's RadControls for ASP.NET AJAX to another version or license:
http://www.telerik.com/support/kb/aspnet-ajax/general/updating-radcontrols-for-asp-net-to-another-version-or-license.aspx
This should help you address the issue you are currently facing.
Kind regards,
Pavlina
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
t seems that you have not registered correctly the Telerik.Web.UI.dll and it cannot be referenced at runtime. Can you please double-check that you followed precisely the instructions on how to upgrade Telerik's RadControls for ASP.NET AJAX to another version or license:
http://www.telerik.com/support/kb/aspnet-ajax/general/updating-radcontrols-for-asp-net-to-another-version-or-license.aspx
This should help you address the issue you are currently facing.
Kind regards,
Pavlina
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Glen Kelly
Top achievements
Rank 1
answered on 19 Nov 2009, 06:18 PM
I went thru the instructions on page http://www.telerik.com/support/kb/aspnet-ajax/general/updating-radcontrols-for-asp-net-to-another-version-or-license.aspx without any success.
I am running Vista so the instructions don't match exactly. I don't have a C:\Documents and Settings\<YOUR USER>\VSWebCache directory.
At this time I have RadControls for ASP.NET Q3 2008.3.1125.35 and RadControls for ASP.NET Q3 2009.3.1103.35 installed. The Telerik.Web.Design.dll is in the GAC as it should be. Everything works in VS design mode. I am still getting the error 'Could not load file or assembly 'Telerik.Web.UI.dll' or one of its dependencies. The system cannot find the file specified.' when I build the project.
Also I tried to run the Live Demo right after completeing the installation of the Q3 2009 version and got the same error.
Assembly Load Trace: The following information can be helpful to determine why the assembly 'Telerik.Web.UI.dll' could not be loaded.
Shouldn't the Live demo work if the installation works without any errors?
This is costing me several hours.
Any new suggestions to try?
I am running Vista so the instructions don't match exactly. I don't have a C:\Documents and Settings\<YOUR USER>\VSWebCache directory.
At this time I have RadControls for ASP.NET Q3 2008.3.1125.35 and RadControls for ASP.NET Q3 2009.3.1103.35 installed. The Telerik.Web.Design.dll is in the GAC as it should be. Everything works in VS design mode. I am still getting the error 'Could not load file or assembly 'Telerik.Web.UI.dll' or one of its dependencies. The system cannot find the file specified.' when I build the project.
Also I tried to run the Live Demo right after completeing the installation of the Q3 2009 version and got the same error.
Assembly Load Trace: The following information can be helpful to determine why the assembly 'Telerik.Web.UI.dll' could not be loaded.
|
Shouldn't the Live demo work if the installation works without any errors?
This is costing me several hours.
Any new suggestions to try?
0
Hello Glen,
Unfortunately from the provided information I am not able to determine the exact cause of the issue you are facing. Could you please provide a live url or a sample project (attached to a regular support ticket) which exhibits the abnormality? Thus I will do my best to advice you further.
All the best,
Pavlina
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Unfortunately from the provided information I am not able to determine the exact cause of the issue you are facing. Could you please provide a live url or a sample project (attached to a regular support ticket) which exhibits the abnormality? Thus I will do my best to advice you further.
All the best,
Pavlina
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Glen Kelly
Top achievements
Rank 1
answered on 23 Nov 2009, 02:41 PM
The project doesn't matter however different types of projects act differently (web application vs a web site).
If I create a new web application and and add a Telerik control everything is fine in design mode and the project builds correctly. Then when the project is run (debug mode) I get the 'Could not load file or assembly 'Telerik.Web.UI.dll' or one of its dependencies. The system cannot find the file specified' error (even though I have tried it in the GAC and the bin folder).
If I create a new website and add a Telerik control everything is fine in design mode but the project errors during the build.
I have uninstalled everything associated with Telerik,removed the web cache file, temp internet files, etc and restarted my computer. I then reinstalled RadControls_for_ASP.NET_AJAX_2009_3_1103_dev and without doing anything else I received this error when I try to run the RadControls for ASP.NET AJAX Q3 2009 Live Examples:
Parser Error Message: Could not load file or assembly 'Telerik.Web.UI.dll' or one of its dependencies. The system cannot find the file specified.
Source Error:
Source File: none Line: 0
Assembly Load Trace: The following information can be helpful to determine why the assembly 'Telerik.Web.UI.dll' could not be loaded.
Version Information: Microsoft .NET Framework Version:2.0.50727.4200; ASP.NET Version:2.0.50727.4016
If I create a new web application and and add a Telerik control everything is fine in design mode and the project builds correctly. Then when the project is run (debug mode) I get the 'Could not load file or assembly 'Telerik.Web.UI.dll' or one of its dependencies. The system cannot find the file specified' error (even though I have tried it in the GAC and the bin folder).
If I create a new website and add a Telerik control everything is fine in design mode but the project errors during the build.
I have uninstalled everything associated with Telerik,removed the web cache file, temp internet files, etc and restarted my computer. I then reinstalled RadControls_for_ASP.NET_AJAX_2009_3_1103_dev and without doing anything else I received this error when I try to run the RadControls for ASP.NET AJAX Q3 2009 Live Examples:
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.Parser Error Message: Could not load file or assembly 'Telerik.Web.UI.dll' or one of its dependencies. The system cannot find the file specified.
Source Error:
|
Source File: none Line: 0
Assembly Load Trace: The following information can be helpful to determine why the assembly 'Telerik.Web.UI.dll' could not be loaded.
|
Version Information: Microsoft .NET Framework Version:2.0.50727.4200; ASP.NET Version:2.0.50727.4016
0
Hi Glen,
After the project fails in runtime this means that your web site is not referencing properly the Telerik.Web.UI.dll assembly. You can check if it is located in the bin folder of your web site. If deployed in GAC check your web.config file for a reference of Telerik.Web.UI.dll within the <assemblies> tag. Also make sure the version is correct.
Kind regards,
Pavlina
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
After the project fails in runtime this means that your web site is not referencing properly the Telerik.Web.UI.dll assembly. You can check if it is located in the bin folder of your web site. If deployed in GAC check your web.config file for a reference of Telerik.Web.UI.dll within the <assemblies> tag. Also make sure the version is correct.
Kind regards,
Pavlina
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.