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

[Solved] 'Telerik.Web.UI' could not be loaded. - tears of pain.

3 Answers 156 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Rich
Top achievements
Rank 1
Rich asked on 31 Mar 2009, 02:06 PM
 

Server Error in '/' Application.

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' or one of its dependencies. The system cannot find the file specified.

Source Error:

Line 1:  <%@ Control Language="C#" AutoEventWireup="True" Inherits="Prop.Admin.UserControls.Admin_UserControls_AdminMenu" Codebehind="AdminMenu.ascx.cs" %>
Line 2: <%@ Register TagPrefix="Telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>Line 3:  <Telerik:RadPanelbar ID="rpbMenu" runat="server" Width="150px" 
Line 4:     HeaderExpandedCssClass="cmenuitemMHoverAll" 

Source File: /UserControls/AdminMenu.ascx    Line: 2

Assembly Load Trace: The following information can be helpful to determine why the assembly 'Telerik.Web.UI' could not be loaded.

=== Pre-bind state information ===
LOG: User = WIFI\rich
LOG: DisplayName = Telerik.Web.UI
 (Partial)
LOG: Appbase = file:///F:/Projects/Prop/trunk/NewAdmin/
LOG: Initial PrivatePath = F:\Projects\Prop\trunk\NewAdmin\bin
Calling assembly : (Unknown).
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: F:\Projects\Prop\trunk\NewAdmin\web.config
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v2.0.50727\config\machine.config.
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: The same bind was seen before, and was failed with hr = 0x80070002.


Version Information: Microsoft .NET Framework Version:2.0.50727.3053; ASP.NET Version:2.0.50727.3053

3 Answers, 1 is accepted

Sort by
0
Rich
Top achievements
Rank 1
answered on 31 Mar 2009, 03:54 PM
Anybody???

The reference is in there, i've run the gacutil and the correct version is in there.. I have absolutely no idea what the deal is.. but it's extremely frustrating and unforetunately expected.

I dream of the day i can spend my time programming and not debugger VS, project and solution files. Such a waste of time.
0
Rich
Top achievements
Rank 1
answered on 31 Mar 2009, 04:19 PM
OK, so my project is a Web Application and i've added the Reference for telerik dll's the same way i've added my other references.
If i build and then copy the dll's into the bin folder it will work. I'm no pro, can someone tell me why i would need to manually copy the dll's over? I haven't had to do this for other dll's. The reference seems to be enough except for telerik? Any information is appreciated. thanks.
0
Pavlina
Telerik team
answered on 01 Apr 2009, 10:20 AM
Hi Rich,

Could you please check whether you have references to the previous versions in your web.config ? Additionally please send us your web.config file so we can check it.

In the meantime I suggest you examine the following articles:
Error: Could not load file or assembly 'Telerik.Web.UI
Updating RadControls for ASP.NET to another version or license
Add/Remove RadControls to the Global Assembly Cache

I hope these articles are useful for you.

Regards,
Pavlina
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
Tags
General Discussions
Asked by
Rich
Top achievements
Rank 1
Answers by
Rich
Top achievements
Rank 1
Pavlina
Telerik team
Share this question
or