Another access denied error
I received an interesting error when trying to debug a web project of mine.
The error read:
Configuration error - access to myassembly.dll denied.
The error then shows you a line in your web.config file.
I started getting this problem on a regular basis. Even ending the asp.net worker process and restarting vs.net didn't resolve it. I had to restart my PC every time.
After some intense searching on the web (believe it or not, access denied is quite a common problem), I stumbled onto this link:
http://support.microsoft.com/default.aspx?scid=kb;en-us;329065
Basically what happens is that the indexing server puts your dll file into it's cache, which puts a lock on your file. You have to stop your indexing service to stop it from happening. If it happens to be a production server, you'll have to exclude the temporary asp.net files directory from your index.
interesting...