Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post May 31, 2012 01:05 AM by bpoojha
May 30, 2012 02:01 PM|LINK
I am getting the below error from the server. It works fine in my local machine.
It was working fine before. I have deployed the new code last week after a long time.
.net version : 2.0
Exception Details: Castle.MicroKernel.ComponentNotFoundException: No component for supporting the service Models.Interfaces.ILog was found
Web config sections
<section name="castle" type="Castle.Windsor.Configuration.AppDomain.CastleSectionHandler, Castle.Windsor" />
<section name="monorail" type="Castle.MonoRail.Framework.Configuration.MonoRailSectionHandler, Castle.MonoRail.Framework" />
May 30, 2012 04:00 PM|LINK
Make sure the dll file that has these classes in it is in your production server's BIN folder on the site.
May 30, 2012 05:04 PM|LINK
It's there.I have checked it. All neccessary dll's available in bin folder.
May 31, 2012 01:05 AM|LINK
I have found the root cause of this issue.
all the <components> sections not found in the web.config.
Local machine has all the sections required, but still TFS ignoring/deleting those sections.
Is somebody knows why these sections ignored in TFS deployment?