Bug 7936 - NotImplementedException: DbProviderFactories.GetFactory (DbConnection)
Summary: NotImplementedException: DbProviderFactories.GetFactory (DbConnection)
Alias: None
Product: Class Libraries
Classification: Mono
Component: System.Data ()
Version: master
Hardware: All All
: --- normal
Target Milestone: Untriaged
Assignee: Marek Safar
Depends on:
Reported: 2012-10-23 04:48 UTC by Eddy Zavaleta
Modified: 2012-11-01 12:56 UTC (History)
5 users (show)

Is this bug a regression?: ---
Last known good build:

Test Case (977 bytes, application/octet-stream)
2012-10-23 04:48 UTC, Eddy Zavaleta

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on GitHub or Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Eddy Zavaleta 2012-10-23 04:48:54 UTC
Created attachment 2778 [details]
Test Case


I was trying to run a simple EF app using Mono 3.0 on Mac OS X but I got this error:

Unhandled Exception:
System.NotImplementedException: The requested feature is not implemented.
  at System.Data.Common.DbProviderFactories.GetFactory (System.Data.Common.DbConnection connection) [0x00000] in <filename unknown>:0 
  at System.Data.Entity.Core.Common.DbProviderServices.GetProviderFactory (System.Data.Common.DbConnection connection) [0x00000] in <filename unknown>:0 
  at System.Data.Entity.Utilities.DbConnectionExtensions.GetProviderInvariantName (System.Data.Common.DbConnection connection) [0x00000] in <filename unknown>:0 
  at System.Data.Entity.Internal.InternalConnection.get_ProviderName () [0x00000] in <filename unknown>:0 
  at System.Data.Entity.Internal.LazyInternalContext.get_ProviderName () [0x00000] in <filename unknown>:0 
  at System.Data.Entity.Internal.DefaultModelCacheKeyFactory.Create (System.Data.Entity.DbContext context) [0x00000] in <filename unknown>:0 
  at System.Data.Entity.Internal.LazyInternalContext.InitializeContext () [0x00000] in <filename unknown>:0 
  at System.Data.Entity.Internal.InternalContext.Initialize () [0x00000] in <filename unknown>:0 
  at System.Data.Entity.Internal.InternalContext.GetEntitySetAndBaseTypeForType (System.Type entityType) [0x00000] in <filename unknown>:0 
  at System.Data.Entity.Internal.Linq.InternalSet`1[EFTest.User].Initialize () [0x00000] in <filename unknown>:0 
  at System.Data.Entity.Internal.Linq.InternalSet`1[EFTest.User].GetEnumerator () [0x00000] in <filename unknown>:0 
  at System.Data.Entity.Infrastructure.DbQuery`1[EFTest.User].System.Collections.Generic.IEnumerable<TResult>.GetEnumerator () [0x00000] in <filename unknown>:0 
  at EFTest.MainClass.Main (System.String[] args) [0x00018] in /Users/eddy/Projects/EFTest/EFTest/Main.cs:46
Comment 1 Marek Safar 2012-11-01 12:56:16 UTC
Implemented in master