I get errors during the generation of code

Posts   
 
    
Aglaia avatar
Aglaia
LLBLGen Pro Team
Posts: 535
Joined: 07-Sep-2003
# Posted on: 21-Aug-2007 13:33:12   

Question: I get two errors during code generation and they pop up in the generation log shown after the code generation process has been completed.

The errors are: Task ActionProceduresClassGenerator Could not find template 'SD_ActionProceduresTemplate'. It is not defined in the template set config file. Task RetrievalProceduresClassGenerator Could not find template 'SD_RetrievalProceduresTemplate'. It is not defined in the template set config file.

Is this normal?

Solution: If you're generating code for Microsoft Access, MySql or Compact Framework (CF.NET 1.0/2.0), you'll get these errors which can be ignored. LLBLGen Pro uses generic code generation task descriptions, which contain also tasks for generating stored procedures. Because the aforementioned databases don't support stored procedures (MySql 4.x doesn't), there aren't templates defined for stored procedure calls and these errors pop up. You can safely ignore them.