Culture Picker 1.1.3.0 Installation error

Topics: Troubleshooting
May 2, 2011 at 9:33 AM

After installing the new Culture picker :

None of the constructors found with policy 'Orchard.Environment.AutofacUtil.DynamicProxy2.ConstructorFinderWrapper' on type 'Orchard.CulturePicker.Routes' can be invoked with the available services and parameters:
Constructor 'Void .ctor(Orchard.Core.Containers.IContainersPathConstraint)' parameter resolution failed at parameter 'Orchard.Core.Containers.IContainersPathConstraint containersPathConstraint'.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: Autofac.Core.DependencyResolutionException: None of the constructors found with policy 'Orchard.Environment.AutofacUtil.DynamicProxy2.ConstructorFinderWrapper' on type 'Orchard.CulturePicker.Routes' can be invoked with the available services and parameters:
Constructor 'Void .ctor(Orchard.Core.Containers.IContainersPathConstraint)' parameter resolution failed at parameter 'Orchard.Core.Containers.IContainersPathConstraint containersPathConstraint'.

Source Error:

Line 18:                 var error = _error;
Line 19: LaunchStartupThread(registrations);
Line 20: throw error;
Line 21: }
Line 22:


Source File: C:\Projects\Availpro\Siriona.Availpro.HelpWebSite\src\Orchard.Startup\Starter.cs    Line: 20

Stack Trace:

[DependencyResolutionException: None of the constructors found with policy 'Orchard.Environment.AutofacUtil.DynamicProxy2.ConstructorFinderWrapper' on type 'Orchard.CulturePicker.Routes' can be invoked with the available services and parameters:
Constructor 'Void .ctor(Orchard.Core.Containers.IContainersPathConstraint)' parameter resolution failed at parameter 'Orchard.Core.Containers.IContainersPathConstraint containersPathConstraint'.]
Orchard.WarmupStarter.Starter.OnBeginRequest(HttpContext context, Action`1 registrations) in C:\Projects\Availpro\Siriona.Availpro.HelpWebSite\src\Orchard.Startup\Starter.cs:20
Orchard.Web.MvcApplication.Application_BeginRequest() in C:\Projects\Availpro\Siriona.Availpro.HelpWebSite\src\Orchard.Web\Global.asax.cs:24

[TargetInvocationException: Exception has been thrown by the target of an invocation.]
System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner) +0
System.RuntimeMethodHandle.InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeType typeOwner) +72
System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks) +335
System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +28
System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters) +19
System.Web.Util.ArglessEventHandlerProxy.Callback(Object sender, EventArgs e) +57
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +148
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75

May 2, 2011 at 11:44 AM
Edited May 2, 2011 at 11:45 AM

Hmm...do you have Containers feature enabled?

May 2, 2011 at 1:04 PM

The containers module was disable indeed.

 

Thanks ! :)

May 2, 2011 at 1:06 PM

I see. By mistake I`ve added Contents module to the dependecies instead of Containers. Will fix it.

May 2, 2011 at 4:26 PM

Fixed in 1.1.3.1