London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

Unable to find a module by assembly EPiServer.Forms, Version=4.8.0.0

Vote:
 

After installing EPiServer Forms 4.8 i get this error:

[ArgumentException: Unable to find a module by assembly 'EPiServer.Forms, Version=4.8.0.0, Culture=neutral, PublicKeyToken=8fe83dea738b45b7'
Parameter name: moduleAssembly]
   EPiServer.Shell.Paths.ToResource(Assembly moduleAssembly, String moduleRelativeResourcePath) +325
   EPiServer.Forms.Configuration.EPiServerFormsSection.get_Instance() +234
   EPiServer.Forms.Configuration.EPiServerFormsConfig.get_SendMessageInHTMLFormat() +55
   EPiServer.Forms.Implementation.Actors.SendEmailAfterSubmissionActor..ctor() +117

[TargetInvocationException: Exception has been thrown by the target of an invocation.]
   System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck) +0
   System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) +197
   System.Activator.CreateInstance(Type type, Boolean nonPublic) +105
   System.Activator.CreateInstance(Type type) +12
   EPiServer.Forms.Helpers.Internal.FormsExtensions.GetPropertyValue(Type type, String propertyName) +149
   EPiServer.Forms.EditView.<>c.b__30_0(Type t) +60
   System.Linq.WhereArrayIterator`1.MoveNext() +68
   System.Linq.Buffer`1..ctor(IEnumerable`1 source) +263
   System.Linq.d__1.MoveNext() +218
   System.Linq.Enumerable.Count(IEnumerable`1 source) +173
   EPiServer.Forms.EditView.InitializationModule.SetupFormContainerProperties() +121
   EPiServer.Forms.EditView.InitializationModule.Initialize(InitializationEngine context) +193
   EPiServer.Framework.Initialization.Internal.ModuleNode.Execute(Action a, String key) +55
   EPiServer.Framework.Initialization.Internal.ModuleNode.Initialize(InitializationEngine context) +123
   EPiServer.Framework.Initialization.InitializationEngine.InitializeModules() +417

[InitializationException: Initialize action failed for Initialize on class EPiServer.Forms.EditView.InitializationModule, EPiServer.Forms.UI, Version=4.8.0.0, Culture=neutral, PublicKeyToken=8fe83dea738b45b7]
   EPiServer.Framework.Initialization.InitializationEngine.InitializeModules() +962
   EPiServer.Framework.Initialization.InitializationEngine.ExecuteTransition(Boolean continueTransitions) +192
   EPiServer.Framework.Initialization.InitializationModule.EngineExecute(HostType hostType, Action`1 engineAction) +886
   EPiServer.Framework.Initialization.InitializationModule.FrameworkInitialization(HostType hostType) +227
   EPiServer.Global..ctor() +103
   Polygon.Web.Global..ctor() +37
   ASP.global_asax..ctor() in C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\53196c3e\632620fe\App_global.asax.tl3r4kbz.0.cs:0

[TargetInvocationException: Exception has been thrown by the target of an invocation.]
   System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck) +0
   System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) +197
   System.Activator.CreateInstance(Type type, Boolean nonPublic) +105
   System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark) +1484
   System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) +289
   System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture) +27
   System.Web.HttpRuntime.CreateNonPublicInstance(Type type, Object[] args) +79
   System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +294
   System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +333

[HttpException (0x80004005): Exception has been thrown by the target of an invocation.]
   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +525
   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +124
   System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +700




What am i missing?
Appreciate all help. Thanks


#185211
Nov 11, 2017 16:18
Vote:
 

Maybe it because of lacking EPiServer.Packaging. Please install and tell me the result.

#185246
Nov 13, 2017 14:37
Vote:
 

YES. that did it!

#185247
Nov 13, 2017 15:06
Vote:
 

Installing the EPiServer.Packaging nuget package is not the recommended solution. Please see my blog post for recommended solutions: https://world.episerver.com/blogs/Ben-McKernan/Dates/2018/1/issue-with-modules-not-being-found-in-cms-11/ 

#186922
Jan 08, 2018 20:37
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.