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

use old vanatec dll under .net framework 4.0

4 Answers 116 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.
Bernhard
Top achievements
Rank 1
Bernhard asked on 17 Feb 2010, 11:22 AM
Hi Telerik support team!

I am an old customer from the vanatec-times.
Until ~1,5 years ago I wrote an Application where I used the Vanatec ORM (4.3.21866) as the the main tool for Data-access. The program is still in use today and my company wants me to go on with some further development.

The Problem is that they want me to use VS 2010 and the features it offers. From my point of view I do not need VS2010 integration of the ORM mapper or something like that (I know that this would require an update to the newest telerik version), I "only" need the old OpenAccess dlls to work properly unter .NET Framework4 conditions.

I have already managed to convert my old VS2005-Project into a VS2008 Project and use .NET Framework 3.5 as the target platform. I have not tested so much but on the first look everything seems to be fine.

But when I try the same with VS2010 and .NET Framework4 I get an Exception when the ORMapper tries to open the DB. It says: "Der Typeninitialisierer für "com.versant.core.metadata.parser.JdoExtension" hat eine Ausnahme verursacht."
And the Inner Exception goes on with:
{"Unable to load DLL 'vjsnativ': Das angegebene Modul wurde nicht gefunden. (Exception from HRESULT: 0x8007007E)"}.

Is there a chance for me to get my project running under VS 2010?

Greets,
Berni
Christian Klein Software

4 Answers, 1 is accepted

Sort by
0
Jan Blessenohl
Telerik team
answered on 17 Feb 2010, 06:17 PM
Hello Bernhard,
It looks like your are still using an OpenAccess version that requieres the J# runtime system. We did not test this with VS2010. Did you install the second version of the J# runtime? Maybe you need the 64 and 32 bit version installed.

If that does not help you have to use the newer version.

All the best,
Jan Blessenohl
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Bernhard
Top achievements
Rank 1
answered on 18 Feb 2010, 08:34 AM
The j# 2.0 runtime was already installed on my system. I reinstalled it (2nd edition x64) and tried again but the exception is stil thrown. The vjslib references in my project point to "C:\Windows\Microsoft.NET\Framework\v2.0.50727\vjslib.dll". The file exists in this folder together with the "...unable to load..." vjsnative.dll and all the other vjs... dlls. Ok, probably I will not be able to get this running.

Thank you anyway Jan!

Greets,
Berni
Christian Klein Software

0
Jan Blessenohl
Telerik team
answered on 19 Feb 2010, 05:56 PM
Hi Bernhard,
sounds for me nevertheless like a 32/64 bit problem The VS runs everything in 32 bit and maybe your j# is only 64 bit. I am not sure but is it working if you start it from the command prompt?

That  is my last idea.

Regards,
Jan Blessenohl
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Bernhard
Top achievements
Rank 1
answered on 22 Feb 2010, 12:37 PM
Hi Jan,

Unfortunately starting from the command line did not work.

I installed VS 2010 RC on a 32Bit machine (Windows XP SP3) now and tried to run the project from there but it results in the same exception. Hm....., this dos not look good.

Greets,
Berni
Tags
General Discussions
Asked by
Bernhard
Top achievements
Rank 1
Answers by
Jan Blessenohl
Telerik team
Bernhard
Top achievements
Rank 1
Share this question
or