Orchard CMS管理员错误

时间:2016-07-29 04:49:03

标签: orchardcms orchardcms-1.8

在我的Orchard CMS v1.8网站的管理部分,我收到两个错误,我不知道它们是相关还是分开。

当我尝试进入模块页面时,我收到以下错误。

  

[DependencyResolutionException:可以使用可用的服务和参数调用在'Orchard.Modules.Controllers.AdminController'类型上找到'Orchard.Environment.AutofacUtil.DynamicProxy2.ConstructorFinderWrapper'的构造函数:   无法在c:\ Projects \ OSS \ autofac \ Core \ Source \ Autofac中解析参数'Orchard.Recipes.Services.IRecipeHarvester recipeHarvester'的构造函数'Void .ctor(System.Collections.Generic.IEnumerable 1[Orchard.Modules.Events.IExtensionDisplayEventHandler], Orchard.IOrchardServices, Orchard.Modules.Services.IModuleService, Orchard.Data.Migration.IDataMigrationManager, Orchard.Reports.Services.IReportsCoordinator, Orchard.Environment.Extensions.IExtensionManager, Orchard.Environment.Features.IFeatureManager, Orchard.Recipes.Services.IRecipeHarvester, Orchard.Recipes.Services.IRecipeManager, Orchard.Environment.Descriptor.Models.ShellDescriptor, Orchard.Environment.Configuration.ShellSettings, Orchard.DisplayManagement.IShapeFactory)'.] Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable 1参数) \核心\活化剂\反射\ ReflectionActivator.cs:118      autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable 1 parameters) in c:\Projects\OSS\autofac\Core\Source\Autofac\Core\Resolving\InstanceLookup.cs:79 Autofac.Core.Resolving.InstanceLookup.Execute() in c:\Projects\OSS\autofac\Core\Source\Autofac\Core\Resolving\InstanceLookup.cs:61 Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable 1个参数)位于c:\ Projects \ OSS \ autofac \ Core \ Source \ Autofac \ Core \ Resolving \ ResolveOperation.cs:123      autofac.Core.Resolving.ResolveOperation.Execute(IComponentRegistration注册,IEnumerable 1 parameters) in c:\Projects\OSS\autofac\Core\Source\Autofac\Core\Resolving\ResolveOperation.cs:85 Autofac.Core.Lifetime.LifetimeScope.ResolveComponent(IComponentRegistration registration, IEnumerable 1个参数)在c:\ Projects \ OSS \ autofac \ Core \ Source \ Autofac \ Core \ Lifetime \ LifetimeScope.cs:232      c:\ Projects \ OSS \ autofac \ Core \ Source \ Autofac \ ResolutionExtensions.cs中的Autofac.ResolutionExtensions.TryResolveService(IComponentContext上下文,服务服务,IEnumerable`1参数,对象和实例):736      在c:\ Orchard \ src \ Orchard \ Mvc \ OrchardControllerFactory.cs中的Orchard.Mvc.OrchardControllerFactory.TryResolve(WorkContext workContext,Object serviceKey,T& instance):26      Orchard.Mvc.OrchardControllerFactory.GetControllerInstance(RequestContext requestContext,Type controllerType)位于c:\ Orchard \ src \ Orchard \ Mvc \ OrchardControllerFactory.cs:70      System.Web.Mvc.DefaultControllerFactory.CreateController(RequestContext requestContext,String controllerName)+103      System.Web.Mvc.MvcHandler.ProcessRequestInit(HttpContextBase httpContext,IController& controller,IControllerFactory& factory)+267      System.Web.Mvc.MvcHandler.BeginProcessRequest(HttpContextBase httpContext,AsyncCallback回调,对象状态)+95      Orchard.Mvc.Routes.HttpAsyncHandler.BeginProcessRequest(HttpContext context,AsyncCallback cb,Object extraData)位于c:\ Orchard \ src \ Orchard \ Mvc \ Routes \ ShellRoute.cs:152      System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()+ 921      System.Web.HttpApplication.ExecuteStep(IExecutionStep step,Boolean& completedSynchronously)+137

在管理员的每个页面的顶部,我显示以下错误。

  

无法为模块'Orchard.Setup'加载程序集引用'Orchard.Recipes'。

     

通常有几种方法可以解决此问题:    1.安装任何相关模块。    2.如果不需要,请从项目文件中删除程序集引用。    3.确保程序集引用存在于模块的“bin”目录中。    4.确保程序集引用存在于应用程序的“bin”目录中。    5.如果程序集存在于GAC中,请指定程序集的强名称(名称,版本,区域性,公钥)。

有人能告诉我这次装置缺少什么吗?

谢谢!

0 个答案:

没有答案
相关问题