why 'defaultController' don't route to a module

hi all,

in main config file(main.php),

if i point to the defaultController to a module like the following

‘defaultController’=>'theModuleName",

it produce an error 404 with following exception

Unable to resolve the request "theModuleName".

any one could be pointed it why?

bipu

You should point to module and controller, for example:

‘defaultController’=>‘module_name/site’,

not only to module.

solved,Thanks