Module enable raise error

Topics: Customizing Orchard
Nov 20, 2011 at 5:10 AM



I have created newly module. When i Enable module this error raise. Why that?

My module name is Article

The controller for path '/OrchardLocal/Themes/TheAdmin/styles/menu.article-admin.css' was not found or does not implement IController.



Nov 20, 2011 at 7:15 AM

Maybe you're missing a web.config in that folder.

Mar 23, 2012 at 9:44 PM

Hey guys, I get the same thing when i'm in dashboard with my module, the thing is, I have a double checked web.config and even placed a css file in that folder; but still, I get this error.  The only way to stop it, is to exclude the adminmenu.cs file from my module project - then it works?  Is there a proper solution to this error? Thanks Dyr

Mar 23, 2012 at 10:48 PM

I don't understand what css or adminmenu have to do with this. Can you provide more details please?