Autofac & Kendo.UI

2 posts, 0 answers
  1. Gianluca
    Gianluca avatar
    1 posts
    Member since:
    Mar 2016

    Posted 19 Apr 2016 Link to this post

    i'm trying to start kendo.ui on my project. But when add Kendo.Mvc reference the project doesn't start and i receive this error:

    The requested service '******' has not been registered. To avoid this exception, either register a component to provide the service, check for service registration using IsRegistered(), or use the ResolveOptional() method to resolve an optional dependency.


    When I remove Kendo reference the project start.

    Could you help me ?

    Thanks a lot for your help.

  2. Dimiter Madjarov
    Dimiter Madjarov avatar
    2211 posts

    Posted 21 Apr 2016 Link to this post

    Hello Gianluca,

    The current exception does not seem specifically related to the Kendo UI, but a general Autofac exception for registering a service. I would recommend Stackoverflow for further details. These are the threads that I found, which may be useful:

    Autofac : ComponentNotRegisteredException after web site restart

    Autofac Losing Registrations on Web.Config Edit

    Autofac - resolve services by generic interface

    Dimiter Madjarov
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top