while in the wffm upgrade progress, at the final step, upgrade process breaks with following error.
Server Error in '/' Application.
--------------------------------------------------------------------------------
Could not resolve type name: Sitecore.WFFM.Services.Pipelines.Initialize.RegisterHttpControllerActivator, Sitecore.WFFM.Services (method: Sitecore.Configuration.Factory.CreateType(XmlNode configNode, String[] parameters, Boolean assert)).
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Exception: Could not resolve type name: Sitecore.WFFM.Services.Pipelines.Initialize.RegisterHttpControllerActivator, Sitecore.WFFM.Services (method: Sitecore.Configuration.Factory.CreateType(XmlNode configNode, String[] parameters, Boolean assert)).
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[Exception: Could not resolve type name: Sitecore.WFFM.Services.Pipelines.Initialize.RegisterHttpControllerActivator, Sitecore.WFFM.Services (method: Sitecore.Configuration.Factory.CreateType(XmlNode configNode, String[] parameters, Boolean assert)).]
Sitecore.Diagnostics.Error.Raise(String error, String method) +129
Sitecore.Configuration.Factory.CreateType(XmlNode configNode, String[] parameters, Boolean assert) +432
Sitecore.Configuration.Factory.CreateFromTypeName(XmlNode configNode, String[] parameters, Boolean assert) +67
Sitecore.Configuration.Factory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper) +141
Sitecore.Pipelines.CorePipelineFactory.GetObjectFromType(String type, XmlNode processorNode) +144
Sitecore.Pipelines.CoreProcessor.GetMethod(Object[] parameters) +124
Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +351
Sitecore.Nexus.Web.HttpModule.Application_Start() +175
Sitecore.Nexus.Web.HttpModule.Init(HttpApplication app) +516
System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +530
System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +304
System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +404
System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +475
[HttpException (0x80004005): Could not resolve type name: Sitecore.WFFM.Services.Pipelines.Initialize.RegisterHttpControllerActivator, Sitecore.WFFM.Services (method: Sitecore.Configuration.Factory.CreateType(XmlNode configNode, String[] parameters, Boolean assert)).]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +12979668
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +159
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest ...
So, I take a look into Sitecore.WFFM.Service.dll by decoding it and found that a config entry in the /App_Config/includes/sitecore.WFFM.services.config file was pointing to non-existing namespace.
Then, I checked the standalone installation of WFFM 8.0 rev. 150224 package /App_Config/Includes config files and copy those files into my instance.
Then, ran the WFFM module upgrade again.
Everthing worked fine.
After informing the finding, sitecore has reported this as a bug and they will provide a fix for this in future.
Hope this helps to someong !
Nice.. thanks for sharing.
ReplyDeleteHi i have installed WFFM 8.0 rev. 150224 i am unable to see form report data.
ReplyDeleteform reports is working in your version. Did you run the sql script on your reporting (earlier analytics) database, which comes as a post-installation step of WFFM installation?
ReplyDeleteif this is done, please provide a detail description of your issue (including from which path you try to access form reports, what is the exact error, etc)
Hi i have run the script on reporting db. i have CM and CD servers when user submits Form data is not submitting to Database.And i have found that in this package we don't have Remote service which we used to add in connetcion strings.config() on CD server in previous versions.
Deletehi. in sc8 wffm, when a user submit a form, first data goes into mongoDb. then, from there those data will be moved into "reporting" database.
ReplyDeleteHave you configured mongoDB?
if yes, please put the error message you get in your log files when a user submit a form.
Hi, I am working with WFFM 8.0 rev. 150224, everything looks good when I submit a form within the server, but when I try to submit a form outside the server (from the website url), nothing happens, no errors in the log and no data in the database. Is there anything extra to configure to save the information in mongo?
ReplyDeleteHi Evelyn, Sorry for the late reply. your form data initially written into user's session. Once the session is ended only data will be written to mongodb. try setting session timeout to 1 min (default 20 mins) https://sitecorefootsteps.blogspot.com/2015/06/data-flow-sitecore-wffm-part-1.html
Delete