Ancy Raju

Ancy Raju

  • NA
  • 20
  • 25.5k

Could not load 'Microsoft.Practices.EnterpriseLibrary.Common

Jul 7 2011 6:10 AM
hiii,

when i view my report i get this error- 
//Could not load file or assembly 'Microsoft.Practices.EnterpriseLibrary.Common, Version=5.0.414.0, Cu... 

Server Error in '/' Application.

Could not load file or assembly 'Microsoft.Practices.EnterpriseLibrary.Common, Version=5.0.414.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Practices.EnterpriseLibrary.Common, Version=5.0.414.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.

Source Error:
 
Line 2440:} catch (Exception ex) {
Line 2441:// Handle the Exception with Exception policy handler
Line 2442:throw ex;
Line 2443:} finally {
Line 2444://nothing to do


Source File: D:\ancy-workspace\Radar_anc\Radar.Controller\MediaTrackController.cs    Line: 2442

Assembly Load Trace: The following information can be helpful to determine why the assembly 'Microsoft.Practices.EnterpriseLibrary.Common, Version=5.0.414.0, Culture=neutral, PublicKeyToken=null' 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].

Stack Trace:

[FileNotFoundException: Could not load file or assembly 'Microsoft.Practices.EnterpriseLibrary.Common, Version=5.0.414.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.] Radar.Controller.MediaTrackController.GenerateReportCoverageDossier(DateTime fromDate, DateTime toDate, Int32 company, Int32 edition) in D:\ancy-workspace\Radar_anc\Radar.Controller\MediaTrackController.cs:2442 Radar.WebApp.Report.GenerateReport.generate() in D:\ancy-workspace\Radar_anc\Radar.WebApp\Report\GenerateReport.aspx.cs:49 Radar.WebApp.Report.GenerateReport.Page_Load(Object sender, EventArgs e) in D:\ancy-workspace\Radar_anc\Radar.WebApp\Report\GenerateReport.aspx.cs:24 System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35 System.Web.UI.Control.OnLoad(EventArgs e) +91 System.Web.UI.Control.LoadRecursive() +74 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2207
how do i solve this....

 

Answers (1)