locked
Castle.MicroKernel.ComponentNotFoundException: No component for supporting the service Models.Interfaces.ILog was found RRS feed

  • Question

  • User395859275 posted

    Hi all,

    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

    <configSections>
    <section name="castle" type="Castle.Windsor.Configuration.AppDomain.CastleSectionHandler, Castle.Windsor" />
    <section name="monorail" type="Castle.MonoRail.Framework.Configuration.MonoRailSectionHandler, Castle.MonoRail.Framework" />
    </configSections>


    Wednesday, May 30, 2012 10:01 AM

All replies

  • User-718146471 posted

    Make sure the dll file that has these classes in it is in your production server's BIN folder on the site.

    Wednesday, May 30, 2012 12:00 PM
  • User395859275 posted

    It's there.I have checked it. All neccessary dll's available in bin folder.

     

    Wednesday, May 30, 2012 1:04 PM
  • User395859275 posted

    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?

     

     

    Wednesday, May 30, 2012 9:05 PM