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

conversion from 4.4. to 5.0.

5 Answers 52 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.
Ajay
Top achievements
Rank 1
Ajay asked on 02 Jul 2013, 12:04 PM
 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.

5 Answers, 1 is accepted

Sort by
0
Yordan
Telerik team
answered on 04 Jul 2013, 12:28 PM
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.
0
Ajay
Top achievements
Rank 1
answered on 05 Jul 2013, 06:01 AM
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
0
Boyan Barnev
Telerik team
answered on 10 Jul 2013, 07:17 AM
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.
0
Ajay
Top achievements
Rank 1
answered on 10 Jul 2013, 02:26 PM
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)


0
Ajay
Top achievements
Rank 1
answered on 11 Jul 2013, 08:09 AM

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

Tags
General Discussions
Asked by
Ajay
Top achievements
Rank 1
Answers by
Yordan
Telerik team
Ajay
Top achievements
Rank 1
Boyan Barnev
Telerik team
Share this question
or