Marc Baron (FLYWHEEL)
2 posts
Registered:
16 Dec 2019
21 Oct 2020
Link to this post
Hi,
When we drop TPC Form Manager on a page in our Sitefinity 12.2 site we see the following error -
Message : Error activating ITpcFormModel
No matching bindings are available, and the type is not self-bindable.
Activation path:
1) Request for ITpcFormModel
Suggestions:
1) Ensure that you have defined a binding for ITpcFormModel.
2) If the binding was defined in a module, ensure that the module has been loaded into the kernel.
3) Ensure you have not accidentally created more than one kernel.
4) If you are using constructor arguments, ensure that the parameter name matches the constructors parameter name.
5) If you are using automatic module loading, ensure the search path and filters are correct.
Source : Ninject
Help link :
Data : System.Collections.ListDictionaryInternal
TargetSite : System.Collections.Generic.IEnumerable`1[System.Object] Resolve(Ninject.Activation.IRequest)
HResult : -2146233088
Stack Trace : at Ninject.KernelBase.Resolve(IRequest request)
at Ninject.ResolutionExtensions.Get[T](IResolutionRoot root, IParameter[] parameters)
at Telerik.Sitefinity.Frontend.Mvc.Infrastructure.Controllers.ControllerModelFactory.GetModel[T](Type controllerType, IDictionary`2 constructorParameters)
at pavliks.PortalConnector.Mvc.Forms.Mvc.Controllers.TpcFormController.get_Model() in C:\TeamCity\buildAgent\work\bde0a72409ac63d3\pavliks.PortalConnector.Mvc.Forms\Mvc\Controllers\TpcFormController.cs:line 44
No other MVC widgets function either. For example, dropping the Knowledge Base widget on the page triggers an alert box with this message - There is a problem with loading the widget designer: [object Object] and makes a request to the following endpoint that throws a 500 error - /Telerik.Sitefinity.Frontend/Designer/Master/TpcKnowledgeBase?controlId=9bdf5297-1e1c-6d96-8691-ff00004eb51f
Error: Exception type: ArgumentNullException
Exception message: Value cannot be null.
Please advise at your earliest how we can fix these errors.
Thank you.