Orchard 1.6 Command Prompt Error - Autofac.Configuration.DLL

Topics: Customizing Orchard
Nov 30, 2012 at 11:23 AM

When I'm trying to execute the orchard.exe, I get the following error:

Initializing Orchard session. (This might take a few seconds...)

Could not load file or assembly 'Autofac.Configuration.DLL' or one of its dependencies. Access is denied.

I have windows 8 64 bits and VS 2012.

Will you help me? 

Nov 30, 2012 at 4:15 PM

Check the permissions on the directory where the dll resides.

Nov 30, 2012 at 7:20 PM

I did it. I have these permissions: Full Control, Modify, Read & Execute, Read, Write.



Dec 1, 2012 at 5:46 AM

Activate auditing on the dll then, it should give you a better idea of what's going wrong.

Dec 1, 2012 at 10:20 AM

Thank you for your answers.

I just had to Run Cmd as Administrator!!!