I am trying to learn developing with Kentico MedioClinic Tutorial. I tried to follow each step accordingly, but I stucked here.
I searched the problem in the caption, first I tried adding
// Registers enabled bundles
BundleConfig.RegisterBundles(BundleTable.Bundles);
// Dependency injection
AutofacConfig.ConfigureContainer();
as documentation suggest, but i am getting the same error.
Any suggestions?Error screenshot
EDIT: I tried recommended solutions but they did not fix it. Global.asax and ApplicationConfig as follows:
It looks like you're not registering your Kentico "features".
Add a new .cs file called ApplicationConfig.cs under /App_Start folder. In there register your features like so:
Then in your Global.asax.cs
Application_Start()
add the following line above registering your routes/bundles:This should resolve the issue you're having.