1
Vote

Problem in 1.9.1

description

Hi
I Inject the interface in my custom module driver to log specific messages based on dirver mtheods
When I try to use IAuditService in the constructor the following error occurred :

[DependencyResolutionException: None of the constructors found with 'Orchard.Environment.AutofacUtil.DynamicProxy2.ConstructorFinderWrapper' on type 'Module.Drivers.ProductPartDriver' can be invoked with the available services and parameters:
Cannot resolve parameter 'Downplay.Audit.Services.IAuditService auditService' of constructor 'Void .ctor(Downplay.Audit.Services.IAuditService)'.]
   Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters) +440
   Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters) +48
   Autofac.Core.Resolving.InstanceLookup.<Execute>b__0() +8

comments