I know this has been asked before but the answer given was a temporary hack.
We have had a site running on our live servers for some time now and we have just made some updates and deployed. Intitally the JIT runs and the site works. When the application pool is next refreshed we are receiving the following error from the webserver (IIS6).
Could not load file or assembly 'OurBusinessObjectsAssemblyName, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. Access is denied.
As an answer to a previous question suggested re-uploading the bin dll in question causes a rebuild and the site works again but a subsequent app pool recycle causes the same issue. What is causing this? The webserver runs many other sites fine so I don't think its a permissions issue with the asp.net temporary files and have already checked this, they seem fine.
I've had this same problem - it is to do with rights on the temporary ASP.NET folder (C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files) - check that the user running as your app has rights to create and modify files in this folder, not just read rights.
I had the same issue. I was using impersonation as well. I was able to resolve it by adding the impersonating user to the local machine's administrator group?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With