This is a migrated thread and some comments may be shown as answers.

Getting compilation error after upgrade from version 4.4 to 6.3

8 Answers 173 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Arvind
Top achievements
Rank 1
Arvind asked on 01 Apr 2014, 07:43 AM
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

8 Answers, 1 is accepted

Sort by
0
Ivan D. Dimitrov
Telerik team
answered on 01 Apr 2014, 01:21 PM
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
 
0
Arvind
Top achievements
Rank 1
answered on 02 Apr 2014, 04:23 AM
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
0
Arvind
Top achievements
Rank 1
answered on 02 Apr 2014, 04:37 AM
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
0
Ivan D. Dimitrov
Telerik team
answered on 02 Apr 2014, 08:38 AM
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
 
0
Arvind
Top achievements
Rank 1
answered on 02 Apr 2014, 08:57 AM
please let me know from where I can download older versions.

-Arvind
0
Accepted
Ivan D. Dimitrov
Telerik team
answered on 03 Apr 2014, 06:53 AM
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
 
0
Dipesh Tiwari
Top achievements
Rank 1
answered on 03 Apr 2014, 07:20 AM
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
0
Arvind
Top achievements
Rank 1
answered on 03 Apr 2014, 07:29 AM
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.
Tags
General Discussions
Asked by
Arvind
Top achievements
Rank 1
Answers by
Ivan D. Dimitrov
Telerik team
Arvind
Top achievements
Rank 1
Dipesh Tiwari
Top achievements
Rank 1
Share this question
or