ComponentNotFoundException Problem

Posted by Piyush987 under C# on 3/17/2012 | Points: 10 | Views : 1526 | Status : [Member] | Replies : 1
I am getting the Following Exception on my website when I click on Login button

ComponentNotFoundException: No component for key favicon.icocontroller was found

In the following code snippet:

protected virtual IController CreateController(RequestContext requestContext, string controllerName) {

var ret = Windsor.Container.Resolve<IController>(controllerName.ToLower() + "controller");// In this line above Exception is throwing
return ret;

Though I Check Out that Component "favicon.ico" is present in root folder of the project and moreover this Exception is not coming when I Login the site online.It is only coming at local System.Kindly Help me Its Urgent.I also tried Server.MapPath() By thinking that there might be path problem but still it is not working


Login to post response