Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • radnarock 7 posts 138 karma points
    Oct 31, 2015 @ 12:25
    radnarock
    0

    Azure - Umbraco.Core.Dynamics.DynamicInstanceHelper - An error occurred finding and executing extension...

    I deploy Umbraco to Azure VM and i got :

     2015-10-31 13:07:24,920 [P3768/D2/T15] ERROR Umbraco.Core.Dynamics.DynamicInstanceHelper - An error occurred finding and executing extension method "GetGridHtml" for type "Umbraco.Web.Models.DynamicPublishedContent". Types searched for extension methods were Umbraco.Web.Models.DynamicPublishedContent.
    System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
       at Umbraco.Core.Cache.HttpRuntimeCacheProvider.GetCacheItem(String cacheKey, Func`1 getCacheItem, Nullable`1 timeout, Boolean isSliding, CacheItemPriority priority, CacheItemRemovedCallback removedCallback, CacheDependency dependency)
       at Umbraco.Core.Cache.HttpRuntimeCacheProvider.GetCacheItem(String cacheKey, Func`1 getCacheItem, Nullable`1 timeout, Boolean isSliding, CacheItemPriority priority, CacheItemRemovedCallback removedCallback, String[] dependentFiles)
       at Umbraco.Core.Dynamics.ExtensionMethodFinder.GetAllExtensionMethodsInAppDomain(IRuntimeCacheProvider runtimeCacheProvider)
       at Umbraco.Core.Dynamics.ExtensionMethodFinder.<>c__DisplayClass12.<GetAllExtensionMethods>b__c(Tuple`3 tuple)
       at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory)
       at Umbraco.Core.Dynamics.ExtensionMethodFinder.FindExtensionMethod(IRuntimeCacheProvider runtimeCache, Type thisType, Object[] args, String name, Boolean argsContainsThis)
       at Umbraco.Core.Dynamics.DynamicInstanceHelper.FindAndExecuteExtensionMethod[T](IRuntimeCacheProvider runtimeCache, T thisObject, Object[] args, String name, IEnumerable`1 findMethodsOnTypes)
       at Umbraco.Core.Dynamics.DynamicInstanceHelper.TryInvokeMember[T](IRuntimeCacheProvider runtimeCache, T thisObject, InvokeMemberBinder binder, Object[] args, IEnumerable`1 findExtensionMethodsOnTypes)
    
    2015-10-31 13:17:40,968 [P3768/D2/T22] ERROR Umbraco.Core.Dynamics.DynamicInstanceHelper - An error occurred finding and executing extension method "GetCropUrl" for type "Umbraco.Web.Models.DynamicPublishedContent". Types searched for extension methods were Umbraco.Web.Models.DynamicPublishedContent.
    System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
       at Umbraco.Core.Cache.HttpRuntimeCacheProvider.GetCacheItem(String cacheKey, Func`1 getCacheItem, Nullable`1 timeout, Boolean isSliding, CacheItemPriority priority, CacheItemRemovedCallback removedCallback, CacheDependency dependency)
       at Umbraco.Core.Cache.HttpRuntimeCacheProvider.GetCacheItem(String cacheKey, Func`1 getCacheItem, Nullable`1 timeout, Boolean isSliding, CacheItemPriority priority, CacheItemRemovedCallback removedCallback, String[] dependentFiles)
       at Umbraco.Core.Dynamics.ExtensionMethodFinder.GetAllExtensionMethodsInAppDomain(IRuntimeCacheProvider runtimeCacheProvider)
       at Umbraco.Core.Dynamics.ExtensionMethodFinder.<>c__DisplayClass12.<GetAllExtensionMethods>b__c(Tuple`3 tuple)
       at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory)
       at Umbraco.Core.Dynamics.ExtensionMethodFinder.FindExtensionMethod(IRuntimeCacheProvider runtimeCache, Type thisType, Object[] args, String name, Boolean argsContainsThis)
       at Umbraco.Core.Dynamics.DynamicInstanceHelper.FindAndExecuteExtensionMethod[T](IRuntimeCacheProvider runtimeCache, T thisObject, Object[] args, String name, IEnumerable`1 findMethodsOnTypes)
       at Umbraco.Core.Dynamics.DynamicInstanceHelper.TryInvokeMember[T](IRuntimeCacheProvider runtimeCache, T thisObject, InvokeMemberBinder binder, Object[] args, IEnumerable`1 findExtensionMethodsOnTypes)
    

    Same Code (same DataBase) works on my Laptop and other server (not in Azure).

    Please Help !

Please Sign in or register to post replies

Write your reply to:

Draft