Telerik OpenAccess ORM
08.13.2702
Telerik OpenAccess ORM Q3 2010
10.11.2501
Can they run on the same machine?
I get an error saying:
OpenAccess Error: Version mismatch: The assembly <MyAssemblyName> references the Telerik.OpenAccess runtime 2010.3.1125.1. The Telerik.OpenAccess enhancer version is 2008.3.1327.2. Please rebuild the assembly or use theTelerik.OpenAccess enhancer version 2010.3.1125.1
5 Answers, 1 is accepted
Having persistent types in one of your assemblies requires that they are enhanced during compile time by one of our tools. This tool (enhancer) is version specific and as such you can only enhance projects built against the same version as the enhancer itself. Can you please check in your project file to which version of the openaccess targets are you referring. It seems that you are referencing assemblies from our q3 2010 release but you are using the enhancer from q3 2008.
Kind regards,Petar
the Telerik team
Thanks for your reply.
Indeed the enhancer on my machine is the q3 2008. A collegue of mine did update the targets of the website to q3 2010. That's when the compilation errors started to appear.
From your answer I understand that only 1 enhancer can be used at a time. When I installed OpenAccess q3 2010 it did not check for any previous installations. I suggest the installer of q3 2010 will ask to uninstall any installed enhancers before installing the product.
I would like to add that I have this scenario where 2 websites are present, one of which uses the q3 2010 assemblies. The other one isn't updated yet and still uses the q3 2008 assemblies. In order to succesfully compile one of the websites, I should uninstall OpenAccess and install the other version. Once the time comes I need to work on the other website, I have to uninstall OpenAccess again and install the other version.
I am forced to update my assemblies to the newest version, or downgrade the other website.
Or are there any other work arounds?
In between we have changed our installers and maybe that is causing the false behavior.
You shouldn't have any problems running 2 installations of OpenAccess as long as the assemblies are not wrongly picked from the gac. If you are referencing them form local folders and you have the two targets files pointing the the two different enhancer instances you should not have any problems.
Petar
the Telerik team
From your answer I see that I can solve this problem using the right settings.
I will take it the easy way and upgrade all my projects to the newest version.
Thanks for your information and help!
Indeed upgrading will be the better choice in your case.
Please do not hesitate to contact us back should you face any further problems.
Petar
the Telerik team