Friday, July 16, 2010

Access denied - Dropping DLL into GAC

When you try and drop a DLL into the GAC in your Windows Server 2008 enviroment you get a error message saying Access Denied, even though you are an administrator on the machine in question.

Simple solution, UAC (User Access Control) is preventing you to do this as Windows thinks there is an attack on the GAC.

To rememdy this simply turn off UAC temporily, restart your computer and redeploy the Assembly into the GAC.

No comments:

Post a Comment