Getting compilation error after upgrade from version 4.4 to 6.3

9 posts, 1 answers
  1. Arvind
    Arvind avatar
    6 posts
    Member since:
    Jan 2014

    Posted 01 Apr 2014 Link to this post

    Hello,

    I am very new to Sitefinity. And Upgrading my existing application from version 4.4 to 6.3.

    I follow the very helpful link http://www.sitefinity.com/documentation/documentationarticles/upgrading-you-sitefinity-4.4-project-to-the-latest-version.

    I had follow all the steps and successfully till step 8. But when I started to compile as in step 9 it gives me 77 compilation errors.

    Some errors are as follows

    The name 'ListsManager' does not exist in the current context.
    The type or namespace name 'Lists' does not exist in the namespace 'Telerik.Sitefinity' (are you missing an assembly reference?)  
    The type or namespace name 'ListsManager' could not be found (are you missing a using directive or an assembly reference?)  
    Cannot implicitly convert type 'System.Collections.Generic.List<Lists.Model.ListItem>' to 'System.Collections.Generic.List<Telerik.Sitefinity.Lists.Model.ListItem>'   


    Please suggest me something to fix these.

    -Arvind

  2. Ivan D. Dimitrov
    Admin
    Ivan D. Dimitrov avatar
    9 posts

    Posted 01 Apr 2014 Link to this post

    Hi Arvind,

    The compilation errors you get are due to assembly references of different versions or ones that are missing from your solution. Can you confirm that you have followed all of the steps in the documentation and that this behavior is happening on your first upgrade step i.e. Sitefinity version 5.0. The proper upgrade path is 4.4 » 5.0 » 5.2 » 5.4 » 6.1 » 6.3.

    Regards,
    Ivan D. Dimitrov
    Telerik
     
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
     
  3. Arvind
    Arvind avatar
    6 posts
    Member since:
    Jan 2014

    Posted 01 Apr 2014 in reply to Ivan D. Dimitrov Link to this post

    Hello Ivan D. Dimitrov ,

    Thanks for your reply.
    But I want to confirm that I did not follow the path mention above.
    I was trying to directly go to 6.3 from 4.4.

    Thanks for your valuable suggestions.

    Regards
    Arvind
  4. Arvind
    Arvind avatar
    6 posts
    Member since:
    Jan 2014

    Posted 01 Apr 2014 in reply to Arvind Link to this post

    Hello Ivan D. Dimitrov,

    I think I need to install separate versions (download and install older versions ) to upgrade them one by one.
    Is this correct path to follow please confirm.
    If yes please let me know from where I can download older versions.

    Regards
    Arvind
  5. Ivan D. Dimitrov
    Admin
    Ivan D. Dimitrov avatar
    9 posts

    Posted 02 Apr 2014 Link to this post

    Hi Arvind,

    This is correct - you need to download the project manager for all of the versions depicted in your upgrade path. Backup your solution before every step, do the upgrade procedure, test your site in case there are some inacuracies, review your Upgrade.log file in case some upgrade script failed, and if all is well continue with the next upgrade step. 

    This way your upgrade procedure will pass without any errors or issues.

    Regards,
    Ivan D. Dimitrov
    Telerik
     
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
     
  6. Arvind
    Arvind avatar
    6 posts
    Member since:
    Jan 2014

    Posted 02 Apr 2014 in reply to Ivan D. Dimitrov Link to this post

    please let me know from where I can download older versions.

    -Arvind
  7. Answer
    Ivan D. Dimitrov
    Admin
    Ivan D. Dimitrov avatar
    9 posts

    Posted 03 Apr 2014 Link to this post

    Hello,

    You can download your resources from your Telerik.com account. Just go to Products and Subscriptions ->Sitefinity ->Download installer and other resources ->All product versions. I can see that your account does not have access to this path as you have not made a purchase so I would advise you contact the person who has made the purchase for your licence so that you may use his/her account to download the resources you need.

    Regards,
    Ivan D. Dimitrov
    Telerik
     
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
     
  8. Dipesh Tiwari
    Dipesh Tiwari avatar
    7 posts
    Member since:
    Oct 2009

    Posted 03 Apr 2014 Link to this post

    Yes, I did same. And now I am upgrading my website from 4.4 to 5.0.

    Now it compiled successfully. But When I run it it showing error

    Could not load file or assembly 'Telerik.Sitefinity, Version=4.4.2117.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)


    I have tried everything to find any reference of old dll. but no luck.

    Please help me. Below I am pasting full error details

    Server Error in '/' Application.


    Could not load file or assembly 'Telerik.Sitefinity, Version=4.4.2117.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) 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.IO.FileLoadException: Could not load file or assembly
    'Telerik.Sitefinity, Version=4.4.2117.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)

    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.

    Assembly Load Trace: The following
    information can be helpful to determine why the assembly 'Telerik.Sitefinity,
    Version=4.4.2117.0, Culture=neutral, PublicKeyToken=b28c218413bdf563' could not
    be loaded.

    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].

    Stack Trace:
    [FileLoadException: Could not load file or assembly 'Telerik.Sitefinity, Version=4.4.2117.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)]
    EF.Core.Initialization.InitializeRoutineBase.Initialize() +0
    EF.SitemapGenerator.Initialization.InitializeRoutine.PreAppStartMethod() +22
  9. Arvind
    Arvind avatar
    6 posts
    Member since:
    Jan 2014

    Posted 03 Apr 2014 in reply to Ivan D. Dimitrov Link to this post

    Yes, I did same. And now I am upgrading my website from 4.4 to 5.0.



    Now it compiled successfully. But When I run it it showing error



    Could not load file or assembly 'Telerik.Sitefinity, Version=4.4.2117.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)





    I have tried everything to find any reference of old dll. but no luck.



    Please help me.
Back to Top