Skip to Main Content

ODP.NET

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Configure entity framework with oracle 10g, using ODP.NET & ODAC 12

hitinderMar 18 2014 — edited Mar 25 2014

Hi,

I am trying to configure EF5 with Oracle using ODP.NET. I can get the connection established and load the database tables.

However were I try to run the project I get following error:

An exception of type 'System.TypeInitializationException' occurred in EntityFramework.dll but was not handled in user code

Additional information: The type initializer for 'System.Data.Entity.Internal.AppConfig' threw an exception.


I have created the ADO.NET Entity Data Model inside a class library.

Can someone suggest what is the entries required to be set in the web.config and app.config(for library).

Thanks in advance!

This post has been answered by hitinder on Mar 20 2014
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 22 2014
Added on Mar 18 2014
8 comments
5,253 views