Hi all
I'm trying to generate code for a multi DB (platform) test project - one DB is MS Access, the other is VistaDB (3.21) and have successfully ran the generated/custom templates over my Access DB (although it did generate code that needed amending as the table names started with numbers and contained a dash "-" char - once I'd find/replaced the dashes and changed them to underscore chars all was good - worth noting though), however, whenever I try to run the "MetadataMap" template (tried both C# and VB versions) Mygeneration bombs out with a "NullReferenceException" - details below:
Source: DotNetScriptingEngine
Method: Void EngineExecuteCode(Zeus.IZeusCodeSegment, Zeus.IZeusContext)
Line: 0, Column: 0
Message: Object reference not set to an instance of an object.
Stack Trace:
at Zeus.DotNetScript.DotNetScriptExecutioner.EngineExecuteCode(IZeusCodeSegment segment, IZeusContext context)
at Zeus.ZeusExecutioner.ExecuteCode(IZeusExecutionHelper helper, IZeusTemplate template, IZeusContext context, ArrayList templateGroupIds)
at Zeus.ZeusExecutioner.ExecuteCodeSegment(IZeusCodeSegment segment, IZeusContext context)
at Zeus.ZeusCodeSegment.Execute(IZeusContext context)
at MyGeneration.TemplateForms.TemplateEditor._Execute()
My first time with this type of issue (connection is fine and can see all tables in the VistaDB database) so apologies if this is a known issue. FYI some of the tables begin with numbers in the name (i.e. "123 - table one name" is an example of a table name - this also creates problems on codegen but that's a separate issue - I think!)
Cheers
Martin