Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Seeding database...
- info: Microsoft.EntityFrameworkCore.Infrastructure[10403]
- Entity Framework Core 2.1.4-rtm-31024 initialized 'PersistedGrantDbContext' using provider 'MySql.Data.EntityFrameworkCore' with options: MigrationsAssembly=IdentityServer4WithMySQL
- info: Microsoft.EntityFrameworkCore.Database.Command[20101]
- Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
- SELECT 1 FROM information_schema.tables
- WHERE table_name = '
- __EFMigrationsHistory' AND table_schema = DATABASE()
- info: Microsoft.EntityFrameworkCore.Database.Command[20101]
- Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
- SELECT 1 FROM information_schema.tables
- WHERE table_name = '
- __EFMigrationsHistory' AND table_schema = DATABASE()
- info: Microsoft.EntityFrameworkCore.Database.Command[20101]
- Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
- SELECT `MigrationId`, `ProductVersion`
- FROM `__EFMigrationsHistory`
- ORDER BY `MigrationId`;
- info: Microsoft.EntityFrameworkCore.Migrations[20405]
- No migrations were applied. The database is already up to date.
- info: Microsoft.EntityFrameworkCore.Infrastructure[10403]
- Entity Framework Core 2.1.4-rtm-31024 initialized 'ConfigurationDbContext' using provider 'MySql.Data.EntityFrameworkCore' with options: MigrationsAssembly=IdentityServer4WithMySQL
- info: Microsoft.EntityFrameworkCore.Database.Command[20101]
- Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
- SELECT 1 FROM information_schema.tables
- WHERE table_name = '
- __EFMigrationsHistory' AND table_schema = DATABASE()
- info: Microsoft.EntityFrameworkCore.Database.Command[20101]
- Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
- SELECT 1 FROM information_schema.tables
- WHERE table_name = '
- __EFMigrationsHistory' AND table_schema = DATABASE()
- info: Microsoft.EntityFrameworkCore.Database.Command[20101]
- Executed DbCommand (0ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
- SELECT `MigrationId`, `ProductVersion`
- FROM `__EFMigrationsHistory`
- ORDER BY `MigrationId`;
- info: Microsoft.EntityFrameworkCore.Migrations[20405]
- No migrations were applied. The database is already up to date.
- info: Microsoft.EntityFrameworkCore.Database.Command[20101]
- Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
- SELECT CASE
- WHEN EXISTS (
- SELECT 1
- FROM `Clients` AS `c`)
- THEN ('1') ELSE ('0')
- END
- fail: Microsoft.EntityFrameworkCore.Query[10100]
- An exception occurred in the database while iterating the results of a query for context type 'IdentityServer4.EntityFramework.DbContexts.ConfigurationDbContext'.
- System.InvalidOperationException: No coercion operator is defined between types 'System.Int16' and 'System.Boolean'.
- at System.Linq.Expressions.Expression.GetUserDefinedCoercionOrThrow(ExpressionType coercionType, Expression expression, Type convertToType)
- at System.Linq.Expressions.Expression.Convert(Expression expression, Type type, MethodInfo method)
- at System.Linq.Expressions.Expression.Convert(Expression expression, Type type)
- at Microsoft.EntityFrameworkCore.Storage.TypedRelationalValueBufferFactoryFactory.CreateGetValueExpression(Expression dataReaderExpression, Expression indexExpression, TypeMaterializationInfo materializationInfo, Boolean box)
- at Microsoft.EntityFrameworkCore.Storage.TypedRelationalValueBufferFactoryFactory.<>c.<CreateArrayInitializer>b__12_0(TypeMaterializationInfo mi, Int32 i)
- at System.Linq.Enumerable.SelectIterator[TSource,TResult](IEnumerable`1 source, Func`3 selector)+MoveNext()
- at System.Collections.Generic.LargeArrayBuilder`1.AddRange(IEnumerable`1 items)
- at System.Collections.Generic.EnumerableHelpers.ToArray[T](IEnumerable`1 source)
- at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
- at System.Dynamic.Utils.CollectionExtensions.ToReadOnly[T](IEnumerable`1 enumerable)
- at System.Linq.Expressions.Expression.NewArrayInit(Type type, IEnumerable`1 initializers)
- at Microsoft.EntityFrameworkCore.Storage.TypedRelationalValueBufferFactoryFactory.CreateArrayInitializer(CacheKey cacheKey)
- at Microsoft.EntityFrameworkCore.Storage.TypedRelationalValueBufferFactoryFactory.<Create>b__10_0(CacheKey k)
- at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory)
- at Microsoft.EntityFrameworkCore.Storage.TypedRelationalValueBufferFactoryFactory.Create(IReadOnlyList`1 types)
- at Microsoft.EntityFrameworkCore.Query.Sql.DefaultQuerySqlGenerator.CreateValueBufferFactory(IRelationalValueBufferFactoryFactory relationalValueBufferFactoryFactory, DbDataReader dataReader)
- at Microsoft.EntityFrameworkCore.Query.Internal.ShaperCommandContext.<NotifyReaderCreated>b__14_0(FactoryAndReader s)
- at Microsoft.EntityFrameworkCore.Internal.NonCapturingLazyInitializer.EnsureInitialized[TParam,TValue](TValue& target, TParam param, Func`2 valueFactory)
- at Microsoft.EntityFrameworkCore.Query.Internal.ShaperCommandContext.NotifyReaderCreated(DbDataReader dataReader)
- at Microsoft.EntityFrameworkCore.Query.Internal.QueryingEnumerable`1.Enumerator.BufferlessMoveNext(DbContext _, Boolean buffer)
- at Microsoft.EntityFrameworkCore.Query.Internal.QueryingEnumerable`1.Enumerator.MoveNext()
- at Microsoft.EntityFrameworkCore.Query.QueryMethodProvider.GetResult[TResult](IEnumerable`1 valueBuffers, Boolean throwOnNullResult)
- at Microsoft.EntityFrameworkCore.Query.Internal.LinqOperatorProvider.ResultEnumerable`1.GetEnumerator()
- at Microsoft.EntityFrameworkCore.Query.Internal.LinqOperatorProvider.ExceptionInterceptor`1.EnumeratorExceptionInterceptor.MoveNext()
- System.InvalidOperationException: No coercion operator is defined between types 'System.Int16' and 'System.Boolean'.
- at System.Linq.Expressions.Expression.GetUserDefinedCoercionOrThrow(ExpressionType coercionType, Expression expression, Type convertToType)
- at System.Linq.Expressions.Expression.Convert(Expression expression, Type type, MethodInfo method)
- at System.Linq.Expressions.Expression.Convert(Expression expression, Type type)
- at Microsoft.EntityFrameworkCore.Storage.TypedRelationalValueBufferFactoryFactory.CreateGetValueExpression(Expression dataReaderExpression, Expression indexExpression, TypeMaterializationInfo materializationInfo, Boolean box)
- at Microsoft.EntityFrameworkCore.Storage.TypedRelationalValueBufferFactoryFactory.<>c.<CreateArrayInitializer>b__12_0(TypeMaterializationInfo mi, Int32 i)
- at System.Linq.Enumerable.SelectIterator[TSource,TResult](IEnumerable`1 source, Func`3 selector)+MoveNext()
- at System.Collections.Generic.LargeArrayBuilder`1.AddRange(IEnumerable`1 items)
- at System.Collections.Generic.EnumerableHelpers.ToArray[T](IEnumerable`1 source)
- at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
- at System.Dynamic.Utils.CollectionExtensions.ToReadOnly[T](IEnumerable`1 enumerable)
- at System.Linq.Expressions.Expression.NewArrayInit(Type type, IEnumerable`1 initializers)
- at Microsoft.EntityFrameworkCore.Storage.TypedRelationalValueBufferFactoryFactory.CreateArrayInitializer(CacheKey cacheKey)
- at Microsoft.EntityFrameworkCore.Storage.TypedRelationalValueBufferFactoryFactory.<Create>b__10_0(CacheKey k)
- at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory)
- at Microsoft.EntityFrameworkCore.Storage.TypedRelationalValueBufferFactoryFactory.Create(IReadOnlyList`1 types)
- at Microsoft.EntityFrameworkCore.Query.Sql.DefaultQuerySqlGenerator.CreateValueBufferFactory(IRelationalValueBufferFactoryFactory relationalValueBufferFactoryFactory, DbDataReader dataReader)
- at Microsoft.EntityFrameworkCore.Query.Internal.ShaperCommandContext.<NotifyReaderCreated>b__14_0(FactoryAndReader s)
- at Microsoft.EntityFrameworkCore.Internal.NonCapturingLazyInitializer.EnsureInitialized[TParam,TValue](TValue& target, TParam param, Func`2 valueFactory)
- at Microsoft.EntityFrameworkCore.Query.Internal.ShaperCommandContext.NotifyReaderCreated(DbDataReader dataReader)
- at Microsoft.EntityFrameworkCore.Query.Internal.QueryingEnumerable`1.Enumerator.BufferlessMoveNext(DbContext _, Boolean buffer)
- at Microsoft.EntityFrameworkCore.Query.Internal.QueryingEnumerable`1.Enumerator.MoveNext()
- at Microsoft.EntityFrameworkCore.Query.QueryMethodProvider.GetResult[TResult](IEnumerable`1 valueBuffers, Boolean throwOnNullResult)
- at Microsoft.EntityFrameworkCore.Query.Internal.LinqOperatorProvider.ResultEnumerable`1.GetEnumerator()
- at Microsoft.EntityFrameworkCore.Query.Internal.LinqOperatorProvider.ExceptionInterceptor`1.EnumeratorExceptionInterceptor.MoveNext()
Advertisement
Add Comment
Please, Sign In to add comment