Answered Error while using oracle for asp.net mvc

  • 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 ...

All Replies