Piyush Maitrey

Piyush Maitrey

  • NA
  • 2
  • 4.4k

Why this Exception is coming

Mar 17 2012 12:19 AM
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

Answers (1)