I have found plenty of information out there about this error: \'ERROR: Could not load file or assembly \'*.dll\' or one of its dependencies. Access is denied.’ But i haven
Go to IIS -> Application Pool -> Advance Settings -> Enable 32-bit Applications
In my case it was due to the Access Protection feature of my anti-virus (McAfee). It was obviously blocking access to this file, as of such the error.
I disabled it and the solution ran. You might want to check any utility application you might have running that could be affecting access to some files.
I got this error running from VS. Turned out I'd opened a solution without running Visual Studio as admin. Closing Visual studio down and running it again as admin then rebuilding solved this for me.
Hope that helps someone.
If you still facing the issue try this:
Open your IIS Manager -> Application Pools -> select your app pool -> Advance Setting -> Under 'Process Model' set 'Load User Profile' setting as True
I had the same issue, fixed by rebuild and redeploy ALL Dependents Dll files
For me, the following hack worked; Go to IIS -> Application Pools -> Advance Settings -> Process Model -> Identity Changed from Built-in Account (ApplicationPoolIdentity) to Custom Account (My Domain User)