Last post May 30, 2012 09:05 PM by bpoojha
May 30, 2012 10:01 AM|bpoojha|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 12:00 PM|bbcompent1|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 01:04 PM|bpoojha|LINK
It's there.I have checked it. All neccessary dll's available in bin folder.
May 30, 2012 09:05 PM|bpoojha|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?