This project has moved and is read-only. For the latest updates, please go here.

sql template error

Apr 25, 2012 at 4:58 PM


I get this error:

Generating code in 'D:\Users\Richard\Development\VS2010\WebApps\FrontOffice\CRM_WebServices\cslagenFork'
	File: D:\Users\Richard\Development\VS2010\WebApps\FrontOffice\CRM_WebServices\cslagenFork\SMS\Business\SMSLog.Designer.vb

	SpGeneration Crashed:Error generating SelectProcedure: usp_SMSLog_Get

Template C:\Program Files\CslaGeneratorFork\Templates-2012-03-11\sprocs\SelectProcedure.cst failed to compile. Objects of the same type will be ignored.
c:\Documents and Settings\r.griffiths\Local Settings\Temp\dot55t3f.0.cs(165,20) : error CS1501: No overload for method 'GetSelect' takes 4 arguments
c:\Documents and Settings\r.griffiths\Local Settings\Temp\dot55t3f.0.cs(174,25) : error CS1501: No overload for method 'GetChildSelects' takes 3 arguments

   at CslaGenerator.Templates.CodeGenerator.GetTemplate(CslaObjectInfo objInfo, String templatePath)
   at CslaGenerator.Templates.CodeGenerator.GenerateProcedure(CslaObjectInfo objInfo, Criteria crit, String templateName, String sprocName)

Classes: 1 generated. 0 failed.
Stored Procs: 1 generated. 1 failed.

This is on a standard table, Identity primary key and 8/9 fields.  Using latest 11 Mar 2012 - VB 2.0 templates (I seem to get similiar errors using C# version 4.0 as well)




Apr 27, 2012 at 2:19 AM

Hi Richard,

1) Projects for CSLA4 will generate the same code for C# and VB. Until someone ports them to VB...

2) Please send DB scema and CslaGenFork project file.


Tiago Freitas Leal