This project is read-only.

How to fix issue

Topics: Troubleshooting
Dec 4, 2011 at 10:39 AM

i'm getting this error when go to widgets admin menu

None of the constructors found with policy 'Orchard.Environment.AutofacUtil.DynamicProxy2.ConstructorFinderWrapper' on type 'Orchard.Widgets.Controllers.AdminController' can be invoked with the available services and parameters:
Constructor 'Void .ctor(Orchard.IOrchardServices, Orchard.Widgets.Services.IWidgetsService, Orchard.DisplayManagement.IShapeFactory, Orchard.Themes.Services.ISiteThemeService, Orchard.FileSystems.VirtualPath.IVirtualPathProvider)' parameter resolution failed at parameter 'Orchard.Themes.Services.ISiteThemeService siteThemeService'.


How can i fix it?

Dec 5, 2011 at 2:52 AM

Looks like a mismatch between Orchard version and module versions. Please check that you are using the latest of each, and not a 1.3 module on a 1.2 install, for example.

Dec 5, 2011 at 8:17 AM

Orchard and module versions are 1.3

Dec 5, 2011 at 3:54 PM

Have you changed any code? Also, have you tried just a full recompile?

Dec 5, 2011 at 9:35 PM

Is the site's app pool set-up for .net 4.0?

Dec 5, 2011 at 9:41 PM

Orchard was set up on version 1.2 then was upgraded to 1.3. Code base wasn't changed, just added some modules.

Apppool is set to .NET 4, error raises only on widgets admin panel.

Dec 5, 2011 at 9:45 PM

And you're 100% sure that you upgraded all the modules?