On Thu, 2010-01-21 at 14:38 -0800, jbm417 wrote: > I just ran DbMetal & got the following: ... > >>> Reading schema from DBML file 'DataClasses1.dbml' > DbMetal failed:System.NullReferenceException: Object reference not set > to an instance of an object. > at > DbMetal.Generator.Implementation.SchemaLoaderFactory.GetLoaderAndConnection(String& > dbLinqSchemaLoaderType, String& databaseConnectionType,String provider) > at DbMetal.Generator.Implementation.SchemaLoaderFactory.Load(String > provider) > at DbMetal.Generator.Implementation.Processor.ReadSchema(Parameters > parameters, ISchemaLoader& schemaLoader) > at DbMetal.Generator.Implementation.Processor.ProcessSchema(Parameters > parameters)
This is very odd, as 0.19 doesn't have a SchemaLoaderFactory.GetLoaderAndConnection() method with the prototype of (out string, out string, string). Instead, it has (string, out string, out string, out string) -- more arguments and a different order. (This change was done in r1271.) Are you sure you have 0.19? (Note that there was another 0.19 that some people reported using but was never present on the web site; I don't know where it came from, or what svn revision it actually is. The 0.19 from late December 2009 is the "real" 0.19.) Regardless, it likely wouldn't have worked anyway; see http://code.google.com/p/dblinq2007/issues/detail?id=183 Could you try again using DbLinq trunk r1301 or later? Thanks. - Jon -- 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.
