Copied to clipboard

Flag this post as spam?

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


  • David Conlisk 432 posts 1008 karma points
    May 18, 2010 @ 17:45
    David Conlisk
    0

    4.1 beta 2 YSOD

    Firstly, great package Darren.

    When I install the package with 4.1 beta 2 from the Umbraco package repository, it installs fine. I can insert my API key, and I can create my data type no problem. However, when trying to view a page in the Content section that uses this datatype, I get the .NET Error below. I've followed all of the troubleshooting steps as per the documentation, but everything seems fine. Something to do with v4.1 perhaps?

    Cheers,

    David

    Server Error in '/' Application.
    --------------------------------------------------------------------------------

    Could not load type 'umbraco.cms.businesslogic.datatype.ClientDependencyAttribute' from assembly 'cms, Version=1.0.3702.2116, Culture=neutral, PublicKeyToken=null'.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.TypeLoadException: Could not load type 'umbraco.cms.businesslogic.datatype.ClientDependencyAttribute' from assembly 'cms, Version=1.0.3702.2116, Culture=neutral, PublicKeyToken=null'.

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.  

    Stack Trace:


    [TypeLoadException: Could not load type 'umbraco.cms.businesslogic.datatype.ClientDependencyAttribute' from assembly 'cms, Version=1.0.3702.2116, Culture=neutral, PublicKeyToken=null'.]
       
    System.ModuleHandle.ResolveType(Int32 typeToken, RuntimeTypeHandle* typeInstArgs, Int32 typeInstCount, RuntimeTypeHandle* methodInstArgs, Int32 methodInstCount) +0
       
    System.ModuleHandle.ResolveTypeHandle(Int32 typeToken, RuntimeTypeHandle[] typeInstantiationContext, RuntimeTypeHandle[] methodInstantiationContext) +147
       
    System.Reflection.Module.ResolveType(Int32 metadataToken, Type[] genericTypeArguments, Type[] genericMethodArguments) +203
       
    System.Reflection.CustomAttribute.FilterCustomAttributeRecord(CustomAttributeRecord caRecord, MetadataImport scope, Assembly& lastAptcaOkAssembly, Module decoratedModule, MetadataToken decoratedToken, RuntimeType attributeFilterType, Boolean mustBeInheritable, Object[] attributes, IList derivedAttributes, RuntimeType& attributeType, RuntimeMethodHandle& ctor, Boolean& ctorHasParameters, Boolean& isVarArg) +133
       
    System.Reflection.CustomAttribute.GetCustomAttributes(Module decoratedModule, Int32 decoratedMetadataToken, Int32 pcaCount, RuntimeType attributeFilterType, Boolean mustBeInheritable, IList derivedAttributes) +431
       
    System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeType type, RuntimeType caType, Boolean inherit) +190
       
    System.RuntimeType.GetCustomAttributes(Type attributeType, Boolean inherit) +65
       
    System.Attribute.GetCustomAttributes(MemberInfo element, Boolean inherit) +173
       
    ClientDependency.Core.Controls.ClientDependencyLoader.FindDependencies(Control control) +93
       
    ClientDependency.Core.Controls.ClientDependencyLoader.FindDependencies(Control control) +323
       
    ClientDependency.Core.Controls.ClientDependencyLoader.FindDependencies(Control control) +323
       
    ClientDependency.Core.Controls.ClientDependencyLoader.FindDependencies(Control control) +323
       
    ClientDependency.Core.Controls.ClientDependencyLoader.FindDependencies(Control control) +323
       
    ClientDependency.Core.Controls.ClientDependencyLoader.FindDependencies(Control control) +323
       
    ClientDependency.Core.Controls.ClientDependencyLoader.FindDependencies(Control control) +323
       
    ClientDependency.Core.Controls.ClientDependencyLoader.FindDependencies(Control control) +323
       
    ClientDependency.Core.Controls.ClientDependencyLoader.FindDependencies(Control control) +323
       
    ClientDependency.Core.Controls.ClientDependencyLoader.FindDependencies(Control control) +323
       
    ClientDependency.Core.Controls.ClientDependencyLoader.FindDependencies(Control control) +323
       
    ClientDependency.Core.Controls.ClientDependencyLoader.FindDependencies(Control control) +323
       
    ClientDependency.Core.Controls.ClientDependencyLoader.RegisterClientDependencies(BaseFileRegistrationProvider provider, Control control, IEnumerable`1 paths) +19
       ClientDependency.Core.Controls.ClientDependencyLoader.OnPreRender(EventArgs e) +73
       System.Web.UI.Control.PreRenderRecursiveInternal() +80
       System.Web.UI.Control.PreRenderRecursiveInternal() +171
       System.Web.UI.Control.PreRenderRecursiveInternal() +171
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +842
  • Darren Ferguson 1022 posts 3259 karma points MVP c-trib
    May 19, 2010 @ 10:06
    Darren Ferguson
    1

    Sorry David, the simple answer is that I don't support 4.1 - and won't do until I have a live site running on 4.1 that needs the map datatype.

    I'd consider looking into it if the development was sponsored or opening up the source to someone else willing to do the fix.

  • Comment author was deleted

    May 19, 2010 @ 10:33

    Hi David,

    Yes this was an issue with v4.1 beta 2, the bug has been fixed since then

  • David Conlisk 432 posts 1008 karma points
    May 19, 2010 @ 10:41
    David Conlisk
    0

    Thanks for the info guys. Tim, do I need to get into the realm of nightly builds to get my hands on the bug fix? I've been there before and I'd rather avoid it if possible :)

Please Sign in or register to post replies

Write your reply to:

Draft