Could not find lock section in configuration file associated with this domain

I get this error when I publish Cuyahoga CMS on localhost.

What can I do? I don't know anything about a "castle" or a "castle .windsor".

+4
source share
2 answers

Compare your web.config with the one that comes with Cuyahoga CMS. Your definitley does not have some configuration sections for Castle Windsor IoC, it depends on the project. How:

 <configuration> <configSections> <section name="castle" type="Castle.Windsor.Configuration.AppDomain.CastleSectionHandler, Castle.Windsor" /> </configSections> </configuration> 
+2
source

This is the assembly your project depends on (it is an IoC container, but it doesn’t matter) and it looks for a configuration section in your web.config that is missing.

You need to configure it correctly for the error.

0
source

Source: https://habr.com/ru/post/1338537/


All Articles