Fix – Could not load file or assembly RadMenu.Net2 or one of its dependencies

Telerik has developed a wide range of controls and RadMenu is one of them. It is used to create menus in an ASP.NET application. Once you deploy the application to a web server then you will sometimes receive error message as displayed below

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

Source Error:
Line 1:  <%@ Register Assembly=”RadMenu.Net2″ Namespace=”Telerik.WebControls” TagPrefix=”radM” %>
Line 2: 
Line 3:  <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd“>
 

Source File:   Line: 1

Assembly Load Trace: The following information can be helpful to determine why the assembly ‘RadMenu.Net2’ 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].

Resolution

To resolve the above error you should create the corresponding folder an application under Internet Information Services (IIS). This process can be done from within the hosting control panel.

If your control panel interface doesn’t have this functionality then your hosting provider will login to the remote web server and perform the job for you.

2 Comments

Leave a Comment