1
Answer

Why this Exception is coming

Piyush Maitrey

Piyush Maitrey

12y
1.2k
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

Answers (1)