My company is currently evaluating the CodeSmith Professional software version 4.1.2 Rev. 2729.
We are interested in generating template-based business objects for using them with NHibernate. We are using a Sybase ASA 9 database. Everytime we're executing the NHibernate.class.cst template out of the IDE we get the following error:
System.Runtime.InteropServices.COMException (0x800A0CB3): Ausnahme von HRESULT: 0x800A0CB3
bei ADOX.Keys.get_Count()
bei SchemaExplorer.ADOXSchemaProvider.GetTablePrimaryKey(String connectionString, TableSchema table)
bei SchemaExplorer.TableSchema.get_PrimaryKey()
bei _CodeSmith.NHibernate_hbm_cst.__RenderMethod1(TextWriter writer, Control control)
bei CodeSmith.Engine.DelegateControl.Render(TextWriter writer)
bei CodeSmith.Engine.Control.RenderChildren(TextWriter writer)
bei CodeSmith.Engine.Control.Render(TextWriter writer)
bei CodeSmith.Engine.CodeTemplate.Render(TextWriter writer)
bei CodeSmith.Engine.CodeTemplate.RenderToString()
bei ej.s()
The connection to the database is established and we can choose tables from the table picker dialog. Any idea what causes this problems?
Thanks in advance!