I am using Orchard CMS 1.7.3
When enabling the Orchard.CodeGeneration feature through command line, below error is thrown always:
I followed the steps here : http://docs.orchardproject.net/Documentation/Command-line-scaffolding
What am I doing wrong here ?
Features can only be enabled when the Orchard application is initialized, e.g. cooked a recipe and is setup to be used. This is because enabled features are tracked in the database, which isn't there yet when the application isn't initialized.
Therefore you must first fire up the application at least once and fill in the settings. After that you can use the commands like 'feature enable'.