Error when trying to create a model

Discussion of open issues, suggestions and bugs regarding Entity Framework support in ADO.NET Data providers
Post Reply
HintonBR
Posts: 24
Joined: Mon 16 Jun 2008 17:07

Error when trying to create a model

Post by HintonBR » Tue 30 Dec 2008 20:22

I have a fairly large Oracle DB - and when I try to create a model from that database even by selecting just one very simple table - the model fails to generate with the following error

An exception of type 'Microsoft.Data.Entity.Design.VisualStudio.ModelWizard.Engine.ModelBuilderEngine+GenerateSSDLException' occurred while attempting to update from the database. The exception message is: 'Unable to cast object of type 'System.DBNull' to type 'System.String'

Please note that this error is the same whether I am trying to update the model or just generate it brand-new the first time. The designer quits and leaves me with an empty model. I can't find any log file that would give me more detail on why this is happening.
________
MAGIC FLIGHT
Last edited by HintonBR on Tue 15 Feb 2011 11:54, edited 1 time in total.

AndreyR
Devart Team
Posts: 2919
Joined: Mon 07 Jul 2008 13:16

Post by AndreyR » Wed 31 Dec 2008 11:09

Please tell me the version of dotConnect for Oracle you are using.

HintonBR
Posts: 24
Joined: Mon 16 Jun 2008 17:07

Post by HintonBR » Fri 02 Jan 2009 17:40

I am using 5.0.16 which I thought was the latest version
________
Vaporgenie
Last edited by HintonBR on Tue 15 Feb 2011 11:55, edited 1 time in total.

AndreyR
Devart Team
Posts: 2919
Joined: Mon 07 Jul 2008 13:16

Post by AndreyR » Mon 05 Jan 2009 12:39

I suppose that the discussed problem is identical to the one associated with EDMGen:
http://www.devart.com/forums/viewtopic.php?t=13775

HintonBR
Posts: 24
Joined: Mon 16 Jun 2008 17:07

Post by HintonBR » Mon 05 Jan 2009 17:11

I will run the query for both EdmGen and for the VS Integration and send them to you - I am somewhat skeptical that they are the same problem, because the errors I am getting back are quite different, but I will pass on the results I get from the SQL query that you want me to execute for you to analyze.
________
R-CLASS

Post Reply