Umbraco version 7.5.6, Tinifier - all versions tried. Exception after installing Tinifier:
Error creating type Tinifier.Core.Application.UmbracoStartup
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: Resolution is not frozen, it is not yet possible to get values from it.
at Umbraco.Core.ObjectResolution.Resolution.Reader(Boolean canReadUnfrozen)
at Umbraco.Core.ObjectResolution.ManyObjectsResolverBase`2.get_Values()
at Umbraco.Core.Persistence.Mappers.MappingResolver.TryGetMapperByAttribute(Type entityType)
at Umbraco.Core.Persistence.Mappers.MappingResolver.<>c__DisplayClass1.<ResolveMapperByType>b__0(Type type1)
at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory)
at Umbraco.Core.Persistence.Querying.ModelToSqlExpressionVisitor`1..ctor()
at Umbraco.Core.Persistence.Querying.Query`1.Where(Expression`1 predicate)
at Umbraco.Core.Services.ContentService..ctor(IDatabaseUnitOfWorkProvider provider, RepositoryFactory repositoryFactory, ILogger logger, IEventMessagesFactory eventMessagesFactory, IPublishingStrategy publishingStrategy, IDataTypeService dataTypeService, IUserService userService)
at Umbraco.Core.Services.ServiceContext.<>c__DisplayClass59.<BuildServiceCache>b__48()
at System.Lazy`1.CreateValue()
at System.Lazy`1.LazyInitValue()
at Umbraco.Core.Services.ServiceContext.<>c__DisplayClass59.<BuildServiceCache>b__4a()
at System.Lazy`1.CreateValue()
at System.Lazy`1.LazyInitValue()
at Tinifier.Core.Repository.Image.TImageRepository..ctor()
at Tinifier.Core.Services.Statistic.StatisticService..ctor()
at Tinifier.Core.Application.UmbracoStartup..ctor()
--- End of inner exception stack trace ---
at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at System.Activator.CreateInstance(Type type)
at Umbraco.Core.ServiceProviderExtensions.CreateInstances[T](IServiceProvider serviceProvider, IEnumerable`1 types, ILogger logger, Boolean throwException)
Exception after installing Tinifier
Umbraco version 7.5.6, Tinifier - all versions tried. Exception after installing Tinifier:
Upgrade Umbraco to >7.6 and install Tinifier again fixes this issue.
is working on a reply...