本文介绍了安装Sitecore Active Commerce-SC80 3.2时,出现错误&无法加载一个或多个请求的类型&的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
以下是堆栈跟踪:
[ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.]
System.Reflection.RuntimeModule.GetTypes(RuntimeModule module) +0
System.Reflection.Assembly.GetTypes() +118
Glass.Mapper.Configuration.Attributes.AttributeConfigurationLoader.LoadFromAssembly(Assembly assembly) +172
[ConfigurationException: Failed to load types Could not load file or assembly 'Sitecore.Ecommerce.Apps, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.]
Glass.Mapper.Configuration.Attributes.AttributeConfigurationLoader.LoadFromAssembly(Assembly assembly) +753
Glass.Mapper.Configuration.Attributes.AttributeConfigurationLoader.<Load>b__0(String assemblyName) +94
System.Linq.WhereSelectArrayIterator`2.MoveNext() +102
System.Linq.Enumerable.Aggregate(IEnumerable`1 source, Func`3 func) +116
Glass.Mapper.Configuration.Attributes.AttributeConfigurationLoader.Load() +272
Glass.Mapper.Context.<Load>b__0(IConfigurationLoader loader) +63
System.Linq.WhereSelectArrayIterator`2.MoveNext() +102
System.Linq.Enumerable.Aggregate(IEnumerable`1 source, Func`3 func) +287
Glass.Mapper.Context.Load(IConfigurationLoader[] loaders) +425
ActiveCommerce.Web.App_Start.GlassMapperSc.Start() +60
[TargetInvocationException: Exception has been thrown by the target of an invocation.]
System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) +0
System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) +260
System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +146
System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters) +34
WebActivatorEx.BaseActivationMethodAttribute.InvokeMethod() +288
WebActivatorEx.ActivationManager.RunActivationMethods(Boolean designerMode) +785
WebActivatorEx.ActivationManager.RunPostStartMethods() +48
WebActivatorEx.StartMethodCallingModule.Init(HttpApplication context) +155
System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +618
System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +172
System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +402
System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +343
[HttpException (0x80004005): Exception has been thrown by the target of an invocation.]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +539
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +125
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +731
推荐答案
Sitecore.Ecommerce.Apps.dll
由经济特区订单管理器提供。此错误表示尚未安装或未成功安装Order Manager软件包。我将检查此程序集是否在您的bin
中,然后尝试再次安装订单管理器。尝试安装后,请检查Sitecore日志以查看安装期间是否有任何错误。
这篇关于安装Sitecore Active Commerce-SC80 3.2时,出现错误&无法加载一个或多个请求的类型&的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!