I have overriden the DefaultControllerFactory by using CustomControllerFactory which is actually using StructureMAp ObjectFactory to construct the Controller Instance using IOC. But some how it can not find the Controller instances and failing over it. Note. I already set the DEfaultControllerFactory in Global.asax too. So is there anything else i have to do except registering my registry to the SM .
I Understand registering the controllers solve the problems ,but i am wondering why cant it detect the controller automatically as defaultFactory does?