Skip to content

Why this Exception is coming

Piyush Maitrey

Asked Mar 16, 2012, 8:19 PM EDT1 answer
Share
LinkedInX
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

1 Answer

Know the answer? Post it. Somebody with the same question will find it here.

  • Suthish Nair
    0
    refer: http://forums.asp.net/t/1253084.aspx
    0