While Installing Sitecore Active Commerce-SC80 3.2, I get an error “Unable to load one or more requested types”

╄→гoц情女王★ 提交于 2019-12-25 09:15:46

问题


Following is stack trace:

[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

回答1:


Sitecore.Ecommerce.Apps.dll is provided by the SES Order Manager. This error would indicate that the Order Manager package either has not been installed or did not install successfully. I would check if this assembly is in your bin, and attempt to install the Order Manager again. After attempting to install, check your Sitecore log to see if there were any errors during installation.



来源:https://stackoverflow.com/questions/39305359/while-installing-sitecore-active-commerce-sc80-3-2-i-get-an-error-unable-to-lo

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!