More in this section

Forums / Bugs & Issues / SF 5.0 Forms Module

SF 5.0 Forms Module

4 posts, 0 answered
  1. Thomas Weidman
    Thomas Weidman avatar
    38 posts
    Registered:
    19 Apr 2004
    25 Jun 2012
    Link to this post
    Hello,

    I just ran into a bug on a fresh install of a development copy of SF.  I created a simple Form with one field and then get this error from SF:

    Unable to sort because the IComparer.Compare() method returns inconsistent results. Either a value does not compare equal to itself, or one value repeatedly compared to another value yields different results. IComparer: 'Telerik.OpenAccess.Metadata.Fluent.FluentMetadataSource+InheritanceStrategyComparer'.

    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.ArgumentException: Unable to sort because the IComparer.Compare() method returns inconsistent results. Either a value does not compare equal to itself, or one value repeatedly compared to another value yields different results. IComparer: 'Telerik.OpenAccess.Metadata.Fluent.FluentMetadataSource+InheritanceStrategyComparer'.

    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: 

    [ArgumentException: Unable to sort because the IComparer.Compare() method returns inconsistent results. Either a value does not compare equal to itself, or one value repeatedly compared to another value yields different results. IComparer: 'Telerik.OpenAccess.Metadata.Fluent.FluentMetadataSource+InheritanceStrategyComparer'.]
       DynamicModule.ns.Wrapped_OpenAccessFormsProvider_45dddc1bec9f4677b466ae9c61d915d5.Initialize(String providerName, NameValueCollection config, Type managerType) +198
       Telerik.Sitefinity.Data.ManagerBase`1.InstantiateProvider(IDataProviderSettings providerSettings, Type providerType, ExceptionPolicyName policy, ManagerBase`1 manager) +1263
       Telerik.Sitefinity.Data.ManagerBase`1.InstantiateProvider(IDataProviderSettings providerSettings, ExceptionPolicyName policy, ManagerBase`1 manager) +57
       Telerik.Sitefinity.Data.ManagerBase`1.SetProvider(String providerName, String transactionName) +301
       Telerik.Sitefinity.Data.ManagerBase`1..ctor(String providerName, String transactionName) +118
       Telerik.Sitefinity.Modules.Forms.FormsManager..ctor() +12
    
    [TargetInvocationException: Exception has been thrown by the target of an invocation.]
       Telerik.Sitefinity.Data.ManagerBase.GetManager(Type managerType, String providerName) +117
       Telerik.Sitefinity.Data.ManagerBase.GetMappedManager(Type itemType, String providerName) +39
       Telerik.Sitefinity.Web.UI.ContentUI.ContentView.ResolveContentManager() +217
       Telerik.Sitefinity.Web.UI.ContentUI.ContentView.ResolveDetailItem() +73
       Telerik.Sitefinity.Web.UI.ContentUI.ContentView.CreateChildControls() +49
       System.Web.UI.Control.EnsureChildControls() +83
       System.Web.UI.Control.PreRenderRecursiveInternal() +42
       System.Web.UI.Control.PreRenderRecursiveInternal() +155
       System.Web.UI.Control.PreRenderRecursiveInternal() +155
       System.Web.UI.Control.PreRenderRecursiveInternal() +155
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +872

    Here is the information from the Error log.

    -------------------------------------------------------------------------------------------
    06/24/2012 18:28:10
    Type : System.Reflection.TargetInvocationException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
    Message : Exception has been thrown by the target of an invocation.
    Source : Telerik.Sitefinity
    Help link :
    Data : System.Collections.ListDictionaryInternal
    TargetSite : Telerik.Sitefinity.Data.IManager GetManager(System.Type, System.String)
    HResult : -2146232828
    Stack Trace :    at Telerik.Sitefinity.Data.ManagerBase.GetManager(Type managerType, String providerName)
       at Telerik.Sitefinity.Data.ManagerBase.GetMappedManager(Type itemType, String providerName)
       at Telerik.Sitefinity.Web.UI.ContentUI.ContentView.ResolveContentManager()
       at Telerik.Sitefinity.Web.UI.ContentUI.ContentView.ResolveDetailItem()
       at Telerik.Sitefinity.Web.UI.ContentUI.ContentView.CreateChildControls()
       at System.Web.UI.Control.EnsureChildControls()
       at System.Web.UI.Control.PreRenderRecursiveInternal()
       at System.Web.UI.Control.PreRenderRecursiveInternal()
       at System.Web.UI.Control.PreRenderRecursiveInternal()
       at System.Web.UI.Control.PreRenderRecursiveInternal()
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
     
    Additional Info:
     
    MachineName : TWEIDMAN
    TimeStamp : 6/25/2012 1:28:10 AM
    FullName : Telerik.Sitefinity.Utilities, Version=5.0.2860.0, Culture=neutral, PublicKeyToken=b28c218413bdf563
    AppDomainName : /LM/W3SVC/3/ROOT-2-129850612816668424
    ThreadIdentity : admin
    WindowsIdentity : TWEIDMAN\Thomas
    Requested URL : http://localhost:60876/Sitefinity/Content/Forms/Forms
        Inner Exception
        ---------------
        Type : System.ArgumentException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
        Message : Unable to sort because the IComparer.Compare() method returns inconsistent results. Either a value does not compare equal to itself, or one value repeatedly compared to another value yields different results. IComparer: 'Telerik.OpenAccess.Metadata.Fluent.FluentMetadataSource+InheritanceStrategyComparer'.
        Source : Unity_ILEmit_DynamicClasses
        Help link :
        ParamName :
        Data : System.Collections.ListDictionaryInternal
        TargetSite : Void Initialize(System.String, System.Collections.Specialized.NameValueCollection, System.Type)
        HResult : -2147024809
        Stack Trace :    at DynamicModule.ns.Wrapped_OpenAccessFormsProvider_688282ff1c7641338a7a1754cc9fbf06.Initialize(String providerName, NameValueCollection config, Type managerType)
           at Telerik.Sitefinity.Data.ManagerBase`1.InstantiateProvider(IDataProviderSettings providerSettings, Type providerType, ExceptionPolicyName policy, ManagerBase`1 manager)
           at Telerik.Sitefinity.Data.ManagerBase`1.InstantiateProvider(IDataProviderSettings providerSettings, ExceptionPolicyName policy, ManagerBase`1 manager)
           at Telerik.Sitefinity.Data.ManagerBase`1.SetProvider(String providerName, String transactionName)
           at Telerik.Sitefinity.Data.ManagerBase`1..ctor(String providerName, String transactionName)
           at Telerik.Sitefinity.Modules.Forms.FormsManager..ctor()

    Any input would be helpful.

    Thanks,
    Thomas
  2. Chris
    Chris avatar
    1 posts
    Registered:
    21 Oct 2010
    29 Jun 2012
    Link to this post
    Have the same issue...
    Any news on this?
  3. Thomas Weidman
    Thomas Weidman avatar
    38 posts
    Registered:
    19 Apr 2004
    29 Jun 2012
    Link to this post
    Hi Chris,

    I've actually opened a support ticket on this as well; still no resolution but as soon as it is I'll share the result.

    Thomas
  4. Thomas Weidman
    Thomas Weidman avatar
    38 posts
    Registered:
    19 Apr 2004
    04 Jul 2012
    Link to this post
    Hey Chris,

    Here's what I found out:

    "It's bug with the Open Access ORM when you have .NET 4.5 installed on your machine. The issue will be fixed in Sitefinity 5.1, which is planned to be released by the end of the month."

    They sent me a updated DLL for OpenAccess but I don't know if it is ok to post.  I've submitted a question to see if that is ok.

    Thomas
4 posts, 0 answered