Autofac & Kendo.UI

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

    Posted 19 Apr 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
    Admin
    Dimiter Madjarov avatar
    2153 posts

    Posted 21 Apr 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

    Regards,
    Dimiter Madjarov
    Telerik
    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
  3. UI for ASP.NET MVC is VS 2017 Ready
Back to Top