Hi,
i have enabled Umbracocms8 and i usually get two error very frequently.
one error:
Managed Debugging Assistant 'LoaderLock' : 'Attempting managed execution inside OS Loader lock. Do not attempt to run managed code inside a DllMain or image initialization function since doing so can cause the application to hang.'
Two error:
Received an error from the server
An error occured
Factory returned model of type Umbraco.Web.PublishedModels.Home which does not implement IPublishedContent.
Exception Details
System.Exception: Factory returned model of type Umbraco.Web.PublishedModels.Home which does not implement IPublishedContent.
Stacktrace
at Umbraco.Core.Models.PublishedContent.PublishedContentExtensionsForModels.CreateModel(IPublishedContent content)
at Umbraco.Web.PublishedCache.NuCache.ContentNode.SetContentTypeAndData(PublishedContentType contentType, ContentData draftData, ContentData publishedData, IPublishedSnapshotAccessor publishedSnapshotAccessor, IVariationContextAccessor variationContextAccessor, IUmbracoContextAccessor umbracoContextAccessor)
at Umbraco.Web.PublishedCache.NuCache.ContentNodeKit.Build(PublishedContentType contentType, IPublishedSnapshotAccessor publishedSnapshotAccessor, IVariationContextAccessor variationContextAccessor, Boolean canBePublished, IUmbracoContextAccessor umbracoContextAccessor)
at Umbraco.Web.PublishedCache.NuCache.ContentStore.BuildKit(ContentNodeKit kit)
at Umbraco.Web.PublishedCache.NuCache.ContentStore.<>cDisplayClass370.1(ContentNodeKit x)
at System.Linq.Enumerable.WhereEnumerableIterator1.MoveNext()
at Umbraco.Web.PublishedCache.NuCache.ContentStore.UpdateContentTypes(IEnumerable1 removedIds, IEnumerable1 refreshedTypes, IEnumerable1 kits)
at Umbraco.Web.PublishedCache.NuCache.PublishedSnapshotService.RefreshContentTypesLocked(IEnumerable1 removedIds, IEnumerable1 refreshedIds, IEnumerable1 otherIds, IEnumerable1 newIds)
at Umbraco.Web.PublishedCache.NuCache.PublishedSnapshotService.Notify[T](ContentStore store, JsonPayload[] payloads, Action4 action)
at Umbraco.Web.PublishedCache.NuCache.PublishedSnapshotService.Notify(JsonPayload[] payloads)
at Umbraco.Web.Cache.ContentTypeCacheRefresher.Refresh(JsonPayload[] payloads)
at Umbraco.Core.Sync.ServerMessengerBase.DeliverLocal[TPayload](ICacheRefresher refresher, TPayload[] payload)
at Umbraco.Core.Sync.ServerMessengerBase.Deliver[TPayload](ICacheRefresher refresher, TPayload[] payload)
at Umbraco.Core.Sync.ServerMessengerBase.PerformRefresh[TPayload](ICacheRefresher refresher, TPayload[] payload)
at Umbraco.Web.Cache.DistributedCache.RefreshByPayload[TPayload](Guid refresherGuid, IEnumerable1 payloads)
at Umbraco.Web.Cache.DistributedCacheExtensions.RefreshContentTypeCache(DistributedCache dc, ContentTypeChange1[] changes)
at Umbraco.Web.Cache.DistributedCacheBinder.ContentTypeService_Changed(IContentTypeService sender, EventArgs args)
at Umbraco.Core.Events.EventDefinition2.RaiseEvent()
at Umbraco.Core.Events.QueuingEventDispatcher.ScopeExitCompleted()
at Umbraco.Core.Events.QueuingEventDispatcherBase.ScopeExit(Boolean completed)
at Umbraco.Core.Scoping.Scope.<>cDisplayClass720.1()
at Umbraco.Core.Scoping.Scope.TryFinally(Int32 index, Action[] actions)
at Umbraco.Core.Scoping.Scope.TryFinally(Int32 index, Action[] actions)
at Umbraco.Core.Scoping.Scope.RobustExit(Boolean completed, Boolean onException)
at Umbraco.Core.Scoping.Scope.DisposeLastScope()
at Umbraco.Core.Scoping.Scope.Dispose()
at Umbraco.Core.Services.Implement.ContentTypeServiceBase3.Save(TItem item, Int32 userId)
at Umbraco.Web.Editors.ContentTypeController.<PostSave>b__15_1(IContentType type)
at Umbraco.Web.Editors.ContentTypeControllerBase1.PerformPostSave[TContentTypeDisplay,TContentTypeSave,TPropertyType](TContentTypeSave contentTypeSave, Func2 getContentType, Action1 saveContentType, Action1 beforeCreateNew)
at Umbraco.Web.Editors.ContentTypeController.PostSave(DocumentTypeSave contentTypeSave)
at lambda_method(Closure , Object , Object[] )
at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass6_2.<GetExecutor>b__2(Object instance, Object[] methodParameters)
at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.Execute(Object instance, Object[] arguments)
at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary2 arguments, CancellationToken cancellationToken)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Controllers.ApiControllerActionInvoker.
Getting two errors very frequently
Hi, i have enabled Umbracocms8 and i usually get two error very frequently.
one error:
Managed Debugging Assistant 'LoaderLock' : 'Attempting managed execution inside OS Loader lock. Do not attempt to run managed code inside a DllMain or image initialization function since doing so can cause the application to hang.'
Two error:
Received an error from the server An error occured Factory returned model of type Umbraco.Web.PublishedModels.Home which does not implement IPublishedContent.
Exception Details System.Exception: Factory returned model of type Umbraco.Web.PublishedModels.Home which does not implement IPublishedContent. Stacktrace at Umbraco.Core.Models.PublishedContent.PublishedContentExtensionsForModels.CreateModel(IPublishedContent content) at Umbraco.Web.PublishedCache.NuCache.ContentNode.SetContentTypeAndData(PublishedContentType contentType, ContentData draftData, ContentData publishedData, IPublishedSnapshotAccessor publishedSnapshotAccessor, IVariationContextAccessor variationContextAccessor, IUmbracoContextAccessor umbracoContextAccessor) at Umbraco.Web.PublishedCache.NuCache.ContentNodeKit.Build(PublishedContentType contentType, IPublishedSnapshotAccessor publishedSnapshotAccessor, IVariationContextAccessor variationContextAccessor, Boolean canBePublished, IUmbracoContextAccessor umbracoContextAccessor) at Umbraco.Web.PublishedCache.NuCache.ContentStore.BuildKit(ContentNodeKit kit) at Umbraco.Web.PublishedCache.NuCache.ContentStore.<>cDisplayClass370.1(ContentNodeKit x) at System.Linq.Enumerable.WhereEnumerableIterator
1.MoveNext() at Umbraco.Web.PublishedCache.NuCache.ContentStore.UpdateContentTypes(IEnumerable
1 removedIds, IEnumerable1 refreshedTypes, IEnumerable
1 kits) at Umbraco.Web.PublishedCache.NuCache.PublishedSnapshotService.RefreshContentTypesLocked(IEnumerable1 removedIds, IEnumerable
1 refreshedIds, IEnumerable1 otherIds, IEnumerable
1 newIds) at Umbraco.Web.PublishedCache.NuCache.PublishedSnapshotService.Notify[T](ContentStore store, JsonPayload[] payloads, Action4 action) at Umbraco.Web.PublishedCache.NuCache.PublishedSnapshotService.Notify(JsonPayload[] payloads) at Umbraco.Web.Cache.ContentTypeCacheRefresher.Refresh(JsonPayload[] payloads) at Umbraco.Core.Sync.ServerMessengerBase.DeliverLocal[TPayload](ICacheRefresher refresher, TPayload[] payload) at Umbraco.Core.Sync.ServerMessengerBase.Deliver[TPayload](ICacheRefresher refresher, TPayload[] payload) at Umbraco.Core.Sync.ServerMessengerBase.PerformRefresh[TPayload](ICacheRefresher refresher, TPayload[] payload) at Umbraco.Web.Cache.DistributedCache.RefreshByPayload[TPayload](Guid refresherGuid, IEnumerable
1 payloads) at Umbraco.Web.Cache.DistributedCacheExtensions.RefreshContentTypeCache(DistributedCache dc, ContentTypeChange1[] changes) at Umbraco.Web.Cache.DistributedCacheBinder.ContentTypeService_Changed(IContentTypeService sender, EventArgs args) at Umbraco.Core.Events.EventDefinition
2.RaiseEvent() at Umbraco.Core.Events.QueuingEventDispatcher.ScopeExitCompleted() at Umbraco.Core.Events.QueuingEventDispatcherBase.ScopeExit(Boolean completed) at Umbraco.Core.Scoping.Scope.<>cDisplayClass720.1() at Umbraco.Core.Scoping.Scope.TryFinally(Int32 index, Action[] actions) at Umbraco.Core.Scoping.Scope.TryFinally(Int32 index, Action[] actions) at Umbraco.Core.Scoping.Scope.RobustExit(Boolean completed, Boolean onException) at Umbraco.Core.Scoping.Scope.DisposeLastScope() at Umbraco.Core.Scoping.Scope.Dispose() at Umbraco.Core.Services.Implement.ContentTypeServiceBase3.Save(TItem item, Int32 userId) at Umbraco.Web.Editors.ContentTypeController.<PostSave>b__15_1(IContentType type) at Umbraco.Web.Editors.ContentTypeControllerBase
1.PerformPostSave[TContentTypeDisplay,TContentTypeSave,TPropertyType](TContentTypeSave contentTypeSave, Func2 getContentType, Action
1 saveContentType, Action1 beforeCreateNew) at Umbraco.Web.Editors.ContentTypeController.PostSave(DocumentTypeSave contentTypeSave) at lambda_method(Closure , Object , Object[] ) at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass6_2.<GetExecutor>b__2(Object instance, Object[] methodParameters) at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.Execute(Object instance, Object[] arguments) at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary
2 arguments, CancellationToken cancellationToken) --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Web.Http.Controllers.ApiControllerActionInvoker.I've answered that one here :-) https://our.umbraco.com/forum/umbraco-8/96011-what-is-the-latest-version-of-community-edition#comment-303690
Hi Sebastiaan,
Second error was not discussed.
This is a new error.
Can you guide about it?
i am getting this error when i am trying to save something.
thank you
Did you manage to fix this? someone else is having the same issue here:
https://our.umbraco.com/forum/using-umbraco-and-getting-started/97624-factory-returned-model-of-type-which-does-not-implement-ipublishedcontent
is working on a reply...