This is a migrated thread and some comments may be shown as answers.

Autofac & Kendo.UI

1 Answer 83 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Gianluca
Top achievements
Rank 1
Gianluca asked on 19 Apr 2016, 02:59 PM

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.

1 Answer, 1 is accepted

Sort by
0
Accepted
Dimiter Madjarov
Telerik team
answered on 21 Apr 2016, 03:36 PM

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
Tags
General Discussions
Asked by
Gianluca
Top achievements
Rank 1
Answers by
Dimiter Madjarov
Telerik team
Share this question
or