Hi Everybody,
I am getting below error when session ends. My Application is n-tier with LINQ My appl structure. DataLinq-->dbml file DataAccess-->database operations links with DataLinq BusinessFacade-->Business Logic links with DataAccess GUI-->persentation Layer Please tel me solution as i am unable to go live. with this error Server Error in '/' Application. Could not load file or assembly 'BusinessFacade, Version=1.0.0.0, Culture=en-GB, 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 'BusinessFacade, Version=1.0.0.0, Culture=en-GB, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified. Source Error: Line 113: getRegions(Convert.ToInt32(qrystring[0])); Line 114: } Line 115: } Line 116: Line 117: private void getRegions(int countryid) Source File: d:\mysite\uc\search.ascx.cs Line: 115 Assembly Load Trace: The following information can be helpful to determine why the assembly 'BusinessFacade, Version=1.0.0.0, Culture=en-GB, PublicKeyToken=null' could not be loaded. Assembly manager loaded from: C:\WINDOWS\Microsoft.NET\Framework \v2.0.50727\mscorwks.dll Running under executable C:\WINDOWS\Microsoft.NET\Framework \v2.0.50727\aspnet_wp.exe --- A detailed error log follows. === Pre-bind state information === LOG: User = welcome\ASPNET LOG: DisplayName = BusinessFacade, Version=1.0.0.0, Culture=en-GB, PublicKeyToken=null (Fully-specified) LOG: Appbase = file:///D:/mysite/ LOG: Initial PrivatePath = D:\mysite\Bin Calling assembly : App_Web_cxk7wuw_, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null. === LOG: This bind starts in default load context. LOG: Using application configuration file: D:\mysite\web.config LOG: Using host configuration file: C:\WINDOWS\Microsoft.NET\Framework \v2.0.50727\aspnet.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. Stack Trace: [FileNotFoundException: Could not load file or assembly 'BusinessFacade, Version=1.0.0.0, Culture=en-GB, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.] uc_search.getCountries() in d:\HolidayAtlas\uc\search.ascx.cs:115 uc_search.fillDropDowns() in d:\HolidayAtlas\uc\search.ascx.cs:86 uc_search.Page_Load(Object sender, EventArgs e) in d:\HolidayAtlas \uc\search.ascx.cs:35 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) +99 System.Web.UI.Control.LoadRecursive() +50 System.Web.UI.Control.LoadRecursive() +141 System.Web.UI.Control.LoadRecursive() +141 System.Web.UI.Control.LoadRecursive() +141 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627 Version Information: Microsoft .NET Framework Version:2.0.50727.3082; ASP.NET Version:2.0.50727.3082
