Local Deployment Help

Topics: Troubleshooting
Sep 15, 2011 at 7: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.

Thanks

Coordinator
Sep 15, 2011 at 7:27 AM

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

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

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

Coordinator
Sep 15, 2011 at 7:30 AM

Don't know then.