PDA

View Full Version : سوال: System.IO.FileNotFoundException: Could not load file or assembly 'log4net, Version=1.2.10.0, Culture



myaffa
دوشنبه 17 مرداد 1390, 07:45 صبح
سلام يه مشكل جديد خواهش ميكنم كمكم كنيد
موقع باز كردن گزارشم كه با كريستال ريپورت نوشتم همچين اروري بهم نشون ميده ولي نميدونم بايد چه كار كنم:گریه:



Server Error in '/WebS' Application.

Could not load file or assembly 'log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' 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 'log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.

Source Error:

Line 18: <form id="form1" runat="server"> Line 19: <div dir="rtl"> Line 20: <CR:CrystalReportViewer ID="CrystalReportViewer1" runat="server" AutoDataBind="True" Line 21: GroupTreeImagesFolderUrl="" Height="50px" ToolbarImagesFolderUrl="" ToolPanelWidth="200px" Line 22: Width="350px"
Source File: d:\HttpSite\Util\WebApplications\WebApp\ResultBill Replica.aspx Line: 20

Assembly Load Trace: The following information can be helpful to determine why the assembly 'log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' 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 'log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.] CrystalDecisions.Web.CrystalReportViewer..cctor() +0 [TypeInitializationException: The type initializer for 'CrystalDecisions.Web.CrystalReportViewer' threw an exception.] CrystalDecisions.Web.CrystalReportViewer..ctor() +0 ASP.resultbillreplica_aspx.__BuildControlCrystalRe portViewer1() in d:\HttpSite\Util\WebApplications\WebApp\ResultBill Replica.aspx:20 ASP.resultbillreplica_aspx.__BuildControlform1() in d:\HttpSite\Util\WebApplications\WebApp\ResultBill Replica.aspx:18 ASP.resultbillreplica_aspx.__BuildControlTree(resu ltbillreplica_aspx __ctrl) in d:\HttpSite\Util\WebApplications\WebApp\ResultBill Replica.aspx:1 ASP.resultbillreplica_aspx.FrameworkInitialize() in c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temp orary ASP.NET Files\webs\f881f638\82139208\App_Web_hgg1ojnr.1.cs :0 System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +54 System.Web.UI.Page.ProcessRequest() +78 System.Web.UI.Page.ProcessRequestWithNoAssert(Http Context context) +21 System.Web.UI.Page.ProcessRequest(HttpContext context) +49 ASP.resultbillreplica_aspx.ProcessRequest(HttpCont ext context) in c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temp orary ASP.NET Files\webs\f881f638\82139208\App_Web_hgg1ojnr.1.cs :0 System.Web.CallHandlerExecutionStep.System.Web.Htt pApplication.IExecutionStep.Execute() +100 System.Web.HttpApplication.ExecuteStep(IExecutionS tep step, Boolean& completedSynchronously) +75
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1