Server Error in '/' Application.

The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020)

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.FileLoadException: The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020)

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.

Stack Trace:


[FileLoadException: The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020)]

[FileLoadException: Could not load file or assembly 'Btolat.Services.Ado.dll' or one of its dependencies. The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020)]
   System.Reflection.AssemblyName.nGetFileInformation(String s) +0
   System.Reflection.AssemblyName.GetAssemblyName(String assemblyFile) +100
   Btolat.Common.Infrastructure.AppDomainTypeFinder.LoadMatchingAssemblies(String directoryPath) +437
   Btolat.Common.Infrastructure.WebAppTypeFinder.GetAssemblies() +171
   Btolat.Common.Infrastructure.AppDomainTypeFinder.FindClassesOfType(Type assignTypeFrom, Boolean onlyConcreteClasses) +92
   Btolat.Common.Infrastructure.AppDomainTypeFinder.FindClassesOfType(Boolean onlyConcreteClasses) +150
   Btolat.Common.Infrastructure.DevoEngine.RegisterMapperConfiguration(DevoConfig config) +145
   Btolat.Common.Infrastructure.DevoEngine.Initialize(DevoConfig config) +78
   Btolat.Common.Infrastructure.EngineContext.Initialize(Boolean forceRecreate) +274
   Btolat.DeskTop.MvcApplication.Application_Start() +68

[HttpException (0x80004005): Could not load file or assembly 'Btolat.Services.Ado.dll' or one of its dependencies. The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020)]
   System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +517
   System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +185
   System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +168
   System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +277
   System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +369

[HttpException (0x80004005): Could not load file or assembly 'Btolat.Services.Ado.dll' or one of its dependencies. The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020)]
   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +532
   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +111
   System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +714


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.4136.0