After I installed the 3.2.0.0 EF6 Version, I am getting this exception, any help is appreciated,
Thanks, Muthu Annamalai System.TypeInitializationException was unhandled HResult=-2146233036 Message=The type initializer for 'Pearlpos.Data.Models.Entities' threw an exception. Source=Pearlpos.Data TypeName=Pearlpos.Data.Models.Entities StackTrace: at Pearlpos.Data.Models.Entities..ctor(DbConnection entityConnection) at Pearlpos.Data.Utils.DatabaseUtility.GetContext() in c:\Users\Muthu Annamalai\Documents\Visual Studio 2012\Projects\Pearlpos\Pearlpos.Data\Utils\DatabaseUtility.cs:line 37 at Pearlpos.Data.Utils.DataInit..ctor() in c:\Users\Muthu Annamalai\Documents\Visual Studio 2012\Projects\Pearlpos\Pearlpos.Data\Utils\DataInit.cs:line 21 at Pearlpos.Data.Utils.DatabaseUtility.ValidConnection(String connectionString) in c:\Users\Muthu Annamalai\Documents\Visual Studio 2012\Projects\Pearlpos\Pearlpos.Data\Utils\DatabaseUtility.cs:line 24 at Pearlpos.Data.Utils.Database.ConnectDatabase() in c:\Users\Muthu Annamalai\Documents\Visual Studio 2012\Projects\Pearlpos\Pearlpos.Data\Utils\Database.cs:line 86 at My.MyApplication.ConnectDatabase() in C:\Users\Muthu Annamalai\Documents\Visual Studio 2012\Projects\Pearlpos\Pearlpos\Application\ApplicationEvents.vb:line 14 at My.MyApplication.Application_Startup(Object sender, StartupEventArgs e) in C:\Users\Muthu Annamalai\Documents\Visual Studio 2012\Projects\Pearlpos\Pearlpos\Application\ApplicationEvents.vb:line 62 at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnStar tup(StartupEventArgs eventArgs) at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoAppl icationModel() at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(St ring[] commandLine) at My.MyApplication.Main(String[] Args) in 17d14f5c-a337-4978-8281-53493378c1071.vb:line 81 at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args) at System.AppDomain.nExecuteAssembly(RuntimeAssembly assembly, String[] args) at System.Runtime.Hosting.ManifestRunner.Run(Boolean checkAptModel) at System.Runtime.Hosting.ManifestRunner.ExecuteAsAssembly() at System.Runtime.Hosting.ApplicationActivator.CreateInstance(ActivationContext activationContext, String[] activationCustomData) at System.Runtime.Hosting.ApplicationActivator.CreateInstance(ActivationContext activationContext) at System.Activator.CreateInstance(ActivationContext activationContext) at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssemblyDebugInZone() at System.Threading.ThreadHelper.ThreadStart_Context(Object state) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.ThreadHelper.ThreadStart() InnerException: System.InvalidOperationException HResult=-2146233079 Message=The 'Instance' member of the Entity Framework provider type 'FirebirdSql.Data.FirebirdClient.FirebirdClientFactory, FirebirdSql.Data.FirebirdClient, Version=3.2.0.0, Culture=neutral, PublicKeyToken=3750abcc3150b00c' did not return an object that inherits from 'System.Data.Entity.Core.Common.DbProviderServices'. Entity Framework providers must inherit from this class and the 'Instance' member must return the singleton instance of the provider. This may be because the provider does not support Entity Framework 6 or later; see http://go.microsoft.com/fwlink/?LinkId=260882 for more information. ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk _______________________________________________ Firebird-net-provider mailing list Firebird-net-provider@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/firebird-net-provider