Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post May 31, 2012 01:05 AM by bpoojha
0 Points
4 Posts
May 30, 2012 02:01 PM|LINK
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>
All-Star
32978 Points
8502 Posts
Moderator
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?
bpoojha
0 Points
4 Posts
Castle.MicroKernel.ComponentNotFoundException: No component for supporting the service Models.Int...
May 30, 2012 02:01 PM|LINK
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>
bbcompent1
All-Star
32978 Points
8502 Posts
Moderator
Re: Castle.MicroKernel.ComponentNotFoundException: No component for supporting the service Models...
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.
bpoojha
0 Points
4 Posts
Re: Castle.MicroKernel.ComponentNotFoundException: No component for supporting the service Models...
May 30, 2012 05:04 PM|LINK
It's there.I have checked it. All neccessary dll's available in bin folder.
bpoojha
0 Points
4 Posts
Re: Castle.MicroKernel.ComponentNotFoundException: No component for supporting the service Models...
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?