Access is denied: 'Microsoft.ApplicationBlocks.Data'.

  • Thread starter Thread starter PJ6
  • Start date Start date
P

PJ6

Pages were working fine that used Microsoft.ApplicationBlocks.Data.dll, and
now, with no changes, we're getting this -

Access is denied: 'Microsoft.ApplicationBlocks.Data'.

All I can find with Google is that indexing service and antivirus software
can cause this (which would be consistant, perhaps, with a deplayed
failure). But on this server neither is running.

This project has worked on 2 other servers, and my own personal machine
locally without this problem. I am at a loss as to how to fix this, aside
from rewriting code and removing the application block completely.

Has anyone else dealt with this problem, knows what's going on?

Paul
 
Compare the rights of those DLLs to the rights of the bin folder.

If the bin folder rights are correct, then you can reapply them to all of
the files via the advanced button.

I haven't encountered this in .NET, but it used to happen all the time in
COM+.

- right click the bin folder
- go to security tab
- click advanced button
- click the "replace permissions" checkbox
- click ok
 
Back
Top