Hello Forum,

I have compiled dbmetal again. If I try to generate a new structure of
my MySql database I get this errors:
DbMetal failed:System.NullReferenceException:
   At
DbMetal.Generator.Implementation.SchemaLoaderFactory.GetLoaderAndConnection
(String& dbLinqSchemaLoaderType, String& databaseConnectionType,
String provider)
   At
DbMetal.Generator.Implementation.SchemaLoaderFactory.GetLoaderAndConnection
(String& dbLinqSchemaLoaderType, String& databaseConnectionType,
Parameters parameters)
   At DbMetal.Generator.Implementation.SchemaLoaderFactory.Load
(Parameters parameters)
   At DbMetal.Generator.Implementation.Processor.ReadSchema(Parameters
parameters, ISchemaLoader& schemaLoader)
   At DbMetal.Generator.Implementation.Processor.ProcessSchema
(Parameters parameters)

I get this errors if I run a batch file within the "build.dbg" folder.
The batch file has this content:
DbMetal.exe -provider=MySql -database:testing -server:localhost -
user:root -password:root -namespace:abcdef -code:"T:\MyProject\abc
\DbStructure.cs" -sprocs

The batch file works on earlier versions of dbmetal. If I start the
dbmetal project within the visual studio and add the parameters from
the batch file into the command line arguments for debugging, I get no
errors and the DB structure will be written. Does anybody know this
error? (Its not urgent, as long as I can generate the database
structure)


Best wishes

Mike
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"DbLinq" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/dblinq?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to