conversion from 4.4. to 5.0.

Thread is closed for posting
6 posts, 0 answers
  1. Ajay
    Ajay avatar
    7 posts
    Member since:
    Aug 2012

    Posted 02 Jul 2013 Link to this post

     hi,
     

    i am converted from 4.4. to 5.0. 

    and got error 

     Assembly 'Telerik.Sitefinity.Model, Version=5.0.2500.0, Culture=neutral, PublicKeyToken=b28c218413bdf563'
     uses 'Telerik.OpenAccess, Version=2011.3.1320.1, Culture=neutral, PublicKeyToken=7ce17eeaf1d59342'
     which has a higher version than referenced assembly 'Telerik.OpenAccess, Version=2011.2.713.3, Culture=neutral, PublicKeyToken=7ce17eeaf1d59342'


    Please help me .

    thank.

  2. Yordan
    Admin
    Yordan avatar
    39 posts

    Posted 04 Jul 2013 Link to this post

    Hi Ajay,

    The reason for the error you get is that Sitefinity uses a different version of OpenAccess than the one installed. This article explains in depth the steps that should be done in order to get the things running in case you want to run different version of open access. Please follow the instructions described there and try again to compile your project.
    If you encounter any other issues or difficulties do not hesitate to contact us again for a resolution.

    Regards,
    Yordan
    Telerik
    OpenAccess ORM Q2 2013 brings you a more powerful code generation and a unique Bulk Operations support with LINQ syntax. Check out the list of new functionality and improvements shipped with this release.
  3. Ajay
    Ajay avatar
    7 posts
    Member since:
    Aug 2012

    Posted 05 Jul 2013 Link to this post

    dear sir ,

    i have remove all Telerik.OpenAccess of  Version=2011.2.713.3 from project. my application contain 6 more project.

    this error come my.Sitefinity  ProductModule  other then my site.



    i am follow http://www.sitefinityguru.com/blog/2012/06/22/developing-with-sitefinity-when-a-different-version-of-openaccess-is-installed

    step 

    but i got error

     Error 62 System.IO.FileLoadException: Could not load file or assembly 'Telerik.OpenAccess, Version=2011.2.713.3, Culture=neutral,
     PublicKeyToken=7ce17eeaf1d59342' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference.
     (Exception from HRESULT: 0x80131040)

    File name: 'Telerik.OpenAccess, Version=2011.2.713.3, Culture=neutral, PublicKeyToken=7ce17eeaf1d59342'
       at Telerik.OpenAccess.Sdk.Enhancer.EnhancerBase.CrossDomainRun()
       at System.AppDomain.DoCallBack(CrossAppDomainDelegate callBackDelegate)
       at System.AppDomain.DoCallBack(CrossAppDomainDelegate callBackDelegate)
       at Telerik.OpenAccess.Sdk.Enhancer.EnhancerBase.DomainRun(Boolean createDomain)
       at Telerik.OpenAccess.Sdk.Enhancer.Enhancer.Start(EnhancerSettings _settings)
       at Telerik.OpenAccess.Sdk.Enhancer.Enhancer.Run(EnhancerSettings settings)
       at Telerik.OpenAccess.Tools.OpenAccessEnhancer.Execute()

    WRN: Assembly binding logging is turned OFF.
    To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
    Note: There is some performance penalty associated with assembly bind failure logging.
    To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
    my.Sitefinity.ProductModule
  4. Boyan Barnev
    Admin
    Boyan Barnev avatar
    4 posts

    Posted 10 Jul 2013 Link to this post

    Hi,

    Please note that we try to distribute every Sitefinity version with the latest available version of Telerik.OpenAccess assemblies. On that regard if any projects in your solution reference Telerik.OpenAccess from GAC or from a folder different that SitwefinityWebApp's /bin folder, please ensure that you correct their references to point to the correct OpenAccess version that is used by Sitefinity for the version you've upgraded to.
    In addition, if any of your projects have persistent classes that require enhancing, please ensure the path to your OpenAccess.targets file is correct, and that the targets file references the correct version of Telerik.OpenAccess as well.

    For more information regarding the above discussed suggestions, please check this forum thread which contains a discussion on a similar topic, and also feel free to look at our webinar "Common Issues with Sitefinity Upgrades".

    Regards,
    Boyan Barnev
    Telerik
    OpenAccess ORM Q2 2013 brings you a more powerful code generation and a unique Bulk Operations support with LINQ syntax. Check out the list of new functionality and improvements shipped with this release.
  5. Ajay
    Ajay avatar
    7 posts
    Member since:
    Aug 2012

    Posted 10 Jul 2013 Link to this post

    hi ,

    please help


    above error is fixed.
    my project build when i enter licence key then
    following error come

    but(i first convert it from 4.2 to 4.4 it successfully run )
    when we convert 4.4 to 5.0  then error come 




    Could not load file or assembly 'Telerik.Sitefinity.Model, Version=4.2.1733.0, Culture=neutral, PublicKeyToken=b28c218413bdf563' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)


  6. Ajay
    Ajay avatar
    7 posts
    Member since:
    Aug 2012

    Posted 11 Jul 2013 Link to this post


    hi all ,

    please help me
     

    my project build when i enter licence key then
    following error come

    when we convert 4.4 to 5.0  then error come 


    No metadata has been registered for class myproject.Sitefinity.PromotionModule.Model.PromotionItem. (This usually indicates, that either this class is not declared persistent or it is declared persistent but not enhanced. The class was loaded from file:///E:/Inetpub/www/src/myprojectnew/bin/myproject.Sitefinity.PromotionModule.DLL.)

Back to Top