Friday, September 21, 2012 7:20 AM
I am new to ASP .NET MVC.
I have created a application which is using oracle as database client.
Application is having a Model and Its DBContext. While creating controller under template "Controller with read/write actions and views, using Entity Framework" giving me an error "Unable to retrieve metadata for '<ModelClass>'. A null was returned after calling the 'get_ProviderFactory' method on a store provider instance of type 'System.Data.OracleClient.OracleConnection'. Thre store provider might not be functioning correctly". Connection string is correct. please help me..
Thanks in advance ...
Monday, September 24, 2012 5:53 AMModerator
Welcome to the MSDN forum.
Which version of Entity Framework do you use?
Your problem is related to a third party data provider, so please try to use this version:
in addition, please take a look at this page: http://forums.asp.net/t/1781662.aspx/1
There are many connection string samples you can refer to: http://www.connectionstrings.com/oracle
Alexander Sun [MSFT]
MSDN Community Support | Feedback to us
- Marked As Answer by Alexander SunModerator Tuesday, October 09, 2012 8:45 AM