Code: Select all
 public  class LbfMyContext : DbContext
        {
            public LbfMyContext()
                : base("Name=Lbf")
            {
            }
...
<connectionStrings>
<add name="Lbf" connectionString="data source=FRANK-PC\SQLEXPRESS;initial catalog=lbf;integrated security=True;MultipleActiveResultSets=True;App=EntityFramework" providerName="System.Data.SqlClient" />
</connectionStrings>
so any hint is welcome please only I have 3 days to expiere the trial and I want to see if I can buy this tool.
regards
Frank
Code: Select all
Message: The type initializer for 'System.Data.Entity.Internal.AppConfig' threw an exception.
Type: System.TypeInitializationException
Source: EntityFramework
Site: .ctor
Stack Trace: 
	at System.Data.Entity.Internal.LazyInternalConnection..ctor(DbContext context, String nameOrConnectionString)
	at System.Data.Entity.DbContext..ctor(String nameOrConnectionString)
	at Lbf.DataAccess.LbfMyContext..ctor() in file://c:\Lbf\Net\lbf\Lbf.Respository\LbfMyContext.cs:line 12
	at Query.InitializeProvider(String connectionString)
	at #=q4$P6mZboF9qvEjXbeAeRg1ugEGhzHAyfFRiytR_osVYn9Ss$nZ$JZ_00QB_VT$a3NRg3usB3ft9BtmkhDgOpBw==.#=qiqhxVa2Iy_ZqVlxwQtMgswxfTdG5SJqQ2jgi7SXgA9E=.#=qk3j9Iayhk1lG0BWXOltlew==()
	at #=q4$P6mZboF9qvEjXbeAeRg1ugEGhzHAyfFRiytR_osVYn9Ss$nZ$JZ_00QB_VT$a3NRg3usB3ft9BtmkhDgOpBw==.#=qLTYkZdOLoTcpfUbRVe8_CWGqOCTgbZoRx9FZeFaOZLE=.#=qB69RWZgS3yZYacwWLjMZgL4ONYiIoPPBhxmqZ0cwhEtJw05Odr9B2Gu29m9SfcCv()
Inner Exception:
	Message: Configuration system failed to initialize
	Type: System.Configuration.ConfigurationErrorsException
	Source: System.Configuration
	Site: EnsureInit
	Stack Trace: 
		at System.Configuration.ClientConfigurationSystem.EnsureInit(String configKey)
		at System.Configuration.ClientConfigurationSystem.PrepareClientConfigSystem(String sectionName)
		at System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection(String sectionName)
		at System.Configuration.ConfigurationManager.GetSection(String sectionName)
		at System.Configuration.ConfigurationManager.get_ConnectionStrings()
		at System.Data.Entity.Internal.AppConfig..ctor()
		at System.Data.Entity.Internal.AppConfig..cctor()
	Inner Exception:
		Message: Unrecognized configuration section entityFramework. (C:\Lbf\Net\lbf\Lbf.Respository\App.config line 6)
		Type: System.Configuration.ConfigurationErrorsException
		Source: System.Configuration
		Site: ThrowIfErrors
		Stack Trace: 
			at System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean ignoreLocal)
			at System.Configuration.BaseConfigurationRecord.ThrowIfParseErrors(ConfigurationSchemaErrors schemaErrors)
			at System.Configuration.BaseConfigurationRecord.ThrowIfInitErrors()
			at System.Configuration.ClientConfigurationSystem.EnsureInit(String configKey)