This project is read-only.

Local Deployment Help

Topics: Troubleshooting
Sep 15, 2011 at 8:22 AM

What should I do with this error message?

Server Error in '/OrchardLocal' Application.
None of the constructors found with policy 'Orchard.Environment.AutofacUtil.DynamicProxy2.ConstructorFinderWrapper' on type 'Orchard.Security.Authorizer' can be invoked with the available services and parameters:
Constructor 'Void .ctor(Orchard.Security.IAuthorizationService, Orchard.UI.Notify.INotifier, Orchard.IWorkContextAccessor)' parameter resolution failed at parameter 'Orchard.Security.IAuthorizationService authorizationService'.

I've set my Orchard 1.2 Source on VS 2010 SP1 to use my local IIS server. I've set it back to the VS Dev Server and it worked fine but using my local IIS server it shows this message.

If this is a copy of a previous post please let me know and if it's not too much trouble please post the link to that article I ended-up copying.


Sep 15, 2011 at 8:27 AM

Your IIS app pool is probably not configured for .NET 4.0.

Sep 15, 2011 at 8:29 AM
Edited Sep 15, 2011 at 8:29 AM

It's set to use 'ASP.NET v4.0' AppPool =\

Sep 15, 2011 at 8:30 AM

Don't know then.