I have build a new custom module using the latest internal build (01057Sitefinity_4.0.1141.0) using the SitefinityIntermediateModule project template. I have created all of the classes and embedded app.config and views. My goal is to get a workable custom module for editing cars and car info.
After I have complied the dll and registered the module in my Sitefinity installation I run into a problem when I try to access the backend pages of the custom module.
My custom table is not being created in my database and this error occurs:
No metadata has been registered for class Cars.Model.CarsModel. (This usually
indicates, that either this class is not declared persistent or it is declared
persistent but not enhanced. The class was loaded from
public static CarsManager GetManager(string providerName)
Exception has been thrown by the target of an invocation.
What am I doing wrong, I am a missing anything?
Could the problem be related to C:\Program Files\Telerik\Sitefinity 4.0\Libraries\VEnhance.exe?