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

[Solved] Problem after adding Telerik.Web.UI.dll to GAC

1 Answer 271 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Ben Grossman
Top achievements
Rank 1
Ben Grossman asked on 17 Dec 2009, 05:06 PM
Hi,

I'm having an issue where I am unable to the Telerik.Web.UI.dll to my GAC and still get our web application to run properly.

When I remove the Telerik dll from the GAC I lose all intellisense functionality on my .aspx pages (.cs pages still have intellisense working fine regardless of GAC) but when I add the dll to my GAC and compile I get the following error at runtime.

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:

[No relevant source lines]

Source File: none    Line: 0

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

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].


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

1 Answer, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 18 Dec 2009, 08:50 AM
Hello Ben,

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. After it 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.

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.
Tags
General Discussions
Asked by
Ben Grossman
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Share this question
or