This question is locked. New answers and comments are not allowed.
Hello
thanks in advance to the telerik support team which proved to be generally reactive and efficient.
As stated in the topic subject, we are about to move our project to a stronger and more up-to-date software set.
1 - Firstly, we would like to update our telerik version (which is currently 2009.2.701) to the latest one.
2 - we are also moving from VS2008 to VS2010
3 - Last but not least, after validating our devs on a mysql DB, we would like to migrate to SQL Server, on a more robust environment.
So, before messing everything out and in order to do things in the cleanest way possible, we would like to have your advice to avoid precious knot-unmaking wasted time.
As of now, after backing up our projects, I replaced Telerik.OpenAccess.Query references by Telerik.OpenAccess.Extensions.35 after re-enabling the project to telerik OA in a brand new VS2010 instance. during the process I've pointed out to a new MSSQL version of our MySQL DB. After that though, tags referring to mysql like mysqlConfiguration and mysqlMapping are still coexisting with new mssqlConfiguration and mssqlMapping.
All the more, I have 3 errors upon building the main project :
OpenAccess Error: Telerik.OpenAccess: Updating SQL schema failed. No metadata has been registered for class StrativaLib.Strategy. (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:///X:/VS/Strativa/StrativaLib/bin/Debug/StrativaLib.dll.) StrativaLib
OpenAccess Error: No metadata has been registered for class StrativaLib.Strategy. (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:///X:/VS/Strativa/StrativaLib/bin/Debug/StrativaLib.dll.) StrativaLib
OpenAccess: X:\VS\Strativa\StrativaLib\obj\Debug\StrativaLib.dll: Error: Could not resolve: Telerik.OpenAccess.35.Extensions, Version=2010.1.527.2, Culture=neutral, PublicKeyToken=7ce17eeaf1d59342
Note that the 2 first errors go for all project classes (i.e error moves to another class as soon as the incriminated class is removed from project)
I sure have missed something there, and am ready to start the whole migration process all over from scratch.
The 3rd error keeps appearing from time to time although i've checked references and paths are ok...
PS :
I am not yet familiar at all with the so-called "enhancement",
I have no "really" persistent classes : simple DAL process to populate simple OOP objects from DB and the other way round.
(Although all classes are marked [Telerik.OpenAccess.Persistent(IdentityField="myClassId")]
I have also thought about forward engineering the SQL Server DB from the MySQL generated ORM objects
Running the post build command "c:\program files\telerik\openaccess orm\sdk\venhance.exe -assembly:$(TargetPath)"
did not help fix the problem
Thank you for your help and advice
Mika Jacobi
A&M Capital Research
thanks in advance to the telerik support team which proved to be generally reactive and efficient.
As stated in the topic subject, we are about to move our project to a stronger and more up-to-date software set.
1 - Firstly, we would like to update our telerik version (which is currently 2009.2.701) to the latest one.
2 - we are also moving from VS2008 to VS2010
3 - Last but not least, after validating our devs on a mysql DB, we would like to migrate to SQL Server, on a more robust environment.
So, before messing everything out and in order to do things in the cleanest way possible, we would like to have your advice to avoid precious knot-unmaking wasted time.
As of now, after backing up our projects, I replaced Telerik.OpenAccess.Query references by Telerik.OpenAccess.Extensions.35 after re-enabling the project to telerik OA in a brand new VS2010 instance. during the process I've pointed out to a new MSSQL version of our MySQL DB. After that though, tags referring to mysql like mysqlConfiguration and mysqlMapping are still coexisting with new mssqlConfiguration and mssqlMapping.
All the more, I have 3 errors upon building the main project :
OpenAccess Error: Telerik.OpenAccess: Updating SQL schema failed. No metadata has been registered for class StrativaLib.Strategy. (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:///X:/VS/Strativa/StrativaLib/bin/Debug/StrativaLib.dll.) StrativaLib
OpenAccess Error: No metadata has been registered for class StrativaLib.Strategy. (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:///X:/VS/Strativa/StrativaLib/bin/Debug/StrativaLib.dll.) StrativaLib
OpenAccess: X:\VS\Strativa\StrativaLib\obj\Debug\StrativaLib.dll: Error: Could not resolve: Telerik.OpenAccess.35.Extensions, Version=2010.1.527.2, Culture=neutral, PublicKeyToken=7ce17eeaf1d59342
Note that the 2 first errors go for all project classes (i.e error moves to another class as soon as the incriminated class is removed from project)
I sure have missed something there, and am ready to start the whole migration process all over from scratch.
The 3rd error keeps appearing from time to time although i've checked references and paths are ok...
PS :
I am not yet familiar at all with the so-called "enhancement",
I have no "really" persistent classes : simple DAL process to populate simple OOP objects from DB and the other way round.
(Although all classes are marked [Telerik.OpenAccess.Persistent(IdentityField="myClassId")]
I have also thought about forward engineering the SQL Server DB from the MySQL generated ORM objects
Running the post build command "c:\program files\telerik\openaccess orm\sdk\venhance.exe -assembly:$(TargetPath)"
did not help fix the problem
Thank you for your help and advice
Mika Jacobi
A&M Capital Research