Could not load file or assembly 'DotNetNuke, Version=6.2.2.125, 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 'DotNetNuke, Version=6.2.2.125, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Assembly Load Trace: The following information can be helpful to determine why the assembly 'DotNetNuke, Version=6.2.2.125, Culture=neutral, PublicKeyToken=null' could not be loaded.
=== Pre-bind state information ===
LOG: DisplayName = DotNetNuke, Version=6.2.2.125, Culture=neutral, PublicKeyToken=null
(Fully-specified)
LOG: Appbase = file:///E:/Downloads/YAF.SampleWebApplication-master/YAF.SampleWebApplication-master/C#/YAF.SampleWebApplication/
LOG: Initial PrivatePath = E:\Downloads\YAF.SampleWebApplication-master\YAF.SampleWebApplication-master\C#\YAF.SampleWebApplication\bin
Calling assembly : YAF.DotNetNuke.Module, Version=2.1.0.0, Culture=neutral, PublicKeyToken=null.
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: E:\Downloads\YAF.SampleWebApplication-master\YAF.SampleWebApplication-master\C#\YAF.SampleWebApplication\web.config
LOG: Using host configuration file: C:\Users\xxxxx\Documents\IISExpress\config\aspnet.config
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\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 'DotNetNuke, Version=6.2.2.125, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.]
System.Reflection.RuntimeAssembly.GetExportedTypes(RuntimeAssembly assembly, ObjectHandleOnStack retTypes) +0
System.Reflection.RuntimeAssembly.GetExportedTypes() +21
YAF.Core.<>c__DisplayClass2`1.b__0(Assembly a) +60 System.Linq.WhereSelectArrayIterator`2.MoveNext() +66
YAF.Core.AssemblyExtensions.FindClassesWithAttribute(IEnumerable`1 assemblies) +385
YAF.Core.Modules.DynamicServicesModule.RegisterDynamicServices(Assembly[] assemblies) +224
YAF.Core.Modules.DynamicServicesModule.Load(ContainerBuilder containerBuilder) +64
YAF.Core.BaseModule.Configure(IComponentRegistry componentRegistry) +122
Autofac.ContainerBuilder.Build(IComponentRegistry componentRegistry, Boolean excludeDefaultModules) +242
Autofac.ContainerBuilder.Update(IComponentRegistry componentRegistry) +102
YAF.Core.IHaveComponentRegistryExtensions.UpdateRegistry(IHaveComponentRegistry haveComponentRegistry, ContainerBuilder containerBuilder) +115
YAF.Core.BaseModule.RegisterBaseModules(Assembly[] assemblies, IEnumerable`1 exclude) +743
YAF.Core.Modules.BootstrapModule.Load(ContainerBuilder builder) +232
YAF.Core.BaseModule.Configure(IComponentRegistry componentRegistry) +122
Autofac.ContainerBuilder.Build(IComponentRegistry componentRegistry, Boolean excludeDefaultModules) +242
Autofac.ContainerBuilder.Build(ContainerBuildOptions options) +115
YAF.Core.GlobalContainer.CreateContainer() +119
YAF.Core.GlobalContainer..cctor() +45
[TypeInitializationException: The type initializer for 'YAF.Core.GlobalContainer' threw an exception.]
YAF.Core.GlobalContainer.get_Container() +0
YAF.Core.YafTaskModule.Init(HttpApplication httpApplication) +170
System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +418
System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +172
System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +336
System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +296
[HttpException (0x80004005): The type initializer for 'YAF.Core.GlobalContainer' threw an exception.]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +9913572
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +101
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +254
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.18408