Error when trying to create a model
Posted: 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
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