Orchard 1.6 Command Prompt Error - Autofac.Configuration.DLL

Topics: Customizing Orchard
Nov 30, 2012 at 12:23 PM

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

E:\Users\Gappa\Desktop\Prog\Orchard.Source.1.6\src\Orchard.Web\bin>orchard
Initializing Orchard session. (This might take a few seconds...)
Error:

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? 

Coordinator
Nov 30, 2012 at 5:15 PM

Check the permissions on the directory where the dll resides.

Nov 30, 2012 at 8:20 PM

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

 

 

Coordinator
Dec 1, 2012 at 6:46 AM

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

Dec 1, 2012 at 11:20 AM

Thank you for your answers.

I just had to Run Cmd as Administrator!!!

Solved.