No parameterless constructor defined for this object

Jan 15, 2012 at 7:50 PM

I put your 3.1 V2.0 driver into linqpad.   I cannot get it to connect no matter what I do.

Pointed it to all the correct dlls and it give the error message above.

I put 1.2 back in the drivers list and it still works fine.

Coordinator
Jan 15, 2012 at 10:50 PM

At what point do you get the message?

Is there a stack trace anywhere?

Jan 16, 2012 at 2:14 PM

I add a connection in LinqPad.  Connection adds.

If I try to expand that connection - that is the message that shows up no the tree node I am trying to expand.

There is no trace stack or dialog or anything.

 

Again, same LLBLGen dlls are used in the old version just fine.  Any ideas?

Coordinator
Jan 16, 2012 at 6:59 PM

Can you run a query without expanding the schema explorer? If you can't that will give me a stack trace, otherwise you can attach your LLBL assembly(s) so I can reproduce the exception.

The schema explorer population was changed a lot in v2.0 driver so I'm not surprised things are different between that and v1.x.

Jan 16, 2012 at 11:30 PM

I can run a query, so I guess it is isolated to expanding the schema.

Coordinator
Jan 17, 2012 at 8:31 AM
Edited Jan 17, 2012 at 8:32 AM
waynebrantley wrote:

I can run a query, so I guess it is isolated to expanding the schema.

The exception is coming from 
SD.LLBLGen.Pro.LinqSupportClasses.LinqUtils.CreateEntityInstanceFromEntityType trying to create the base entities which shouldn't be happening so I need to filter out the base entities somehow.
But until then uncheck 'Use entity info rather then just reflection' in the connection dialog and the schema explorer population will behave as in v1.x.
Jan 17, 2012 at 11:22 AM

Ok, thanks!