Error Subcode: 1015 [RDD not found]

More
5 months 1 week ago #1 by ic2
After running the part of our converted VO->WPF project where it should open a DBF file, we get this error:
Vulcan.NET Runtime Error

Error Code: 1 [Argument error]
Error Subcode: 1015 [RDD not found]
Subsystem: DBCMD
Function: INIT
Argument 3: rddName
Argument(s):
1: ""DBFCDX"" (STRING)

on this statement:

oOmschrijf := DBServer{"C:\OurWorkDir\OurDBF.dbf",true,,"DBFCDX"}

In the directory the file exists, can be opened with our VO browser dbv, and all Redist content of Vulcan is present in this directory.

What could cause this?

Dick

Please Log in or Create an account to join the conversation.

More
5 months 1 week ago #2 by wriedmann
Replied by wriedmann on topic Error Subcode: 1015 [RDD not found]
Hi Dick,

do you have all needed files in the program directory? For the DBFCDX RDD the following files should be needed:
VulcanVORDDClasses.dll
VulcanDBFCDX.dll
VulcanDBFFPT.dll
VulcanRDD.dll

In my WPF applications DBF access works, even in my sample for Cologne (where I show how to use DBF data in a WPF MVVM application).

Wolfgang

Please Log in or Create an account to join the conversation.

More
5 months 1 week ago #3 by Jello5
Replied by Jello5 on topic Error Subcode: 1015 [RDD not found]
Yes Wolfgang we double checked and it turns out we somehow moved a version back, we had version 4 before and after double checking, we had version 3. Somehow we must have taken the wrong DLL's in the process of moving from converted VO to WPF .
With the version 4 DLL's the statement works again:
oOmschrijf := DBServer{"C:\OurWorkDir\OurDBF.dbf",true,,"DBFCDX"}

Thanks for the help!

Please Log in or Create an account to join the conversation.

More
5 months 1 week ago #4 by wriedmann
Replied by wriedmann on topic Error Subcode: 1015 [RDD not found]
Hi Jelle,

why do you moved back to the V3 DLLs? Was it an ADS problem?

Wolfgang

Please Log in or Create an account to join the conversation.

More
5 months 1 week ago #5 by ic2
Replied by ic2 on topic Error Subcode: 1015 [RDD not found]
Hello Wolfgang,

Replying on Jelle's behalf: Earlier Chris mentioned that the DLL's and RDD's were not really different from version 3; work on Vulcan 4 was mostly getting it running in VS 2015.

I thought it is safer to use Vulcan 3 DLL's.

I wonder if it is somehow possible to have more information of the cause of the error. Instead of "RDD not found" it would be more informative to see that there is a version conflict. But I suspect this is one of the many limitations of Visual Studio....

Dick

Please Log in or Create an account to join the conversation.

More
5 months 1 week ago #6 by wriedmann
Replied by wriedmann on topic Error Subcode: 1015 [RDD not found]
Hi Dick,

they may not be very different, but it is always safer to use the newer ones. AFAIK there were a few changes (and bug fixes) in the compiler, but for sure nothing big.
I suspect you had a sort of DLL hell.

The error message does not come from Visual Studio, but from the Vulcan runtime - you will encounter the same if you run the application from XIDE or directly.

Maybe the X# runtime will give better error messages, but of course the message was correct: the application could not load the RDD.

Wolfgang

P.S. my hope is that the X# runtime will not be so problematic when mixing versions as the Vulcan (and VO) runtime was. An older compiled DLL should run also with a never version of the runtime as it was built for.

Please Log in or Create an account to join the conversation.

More
5 months 1 week ago #7 by ic2
Replied by ic2 on topic Error Subcode: 1015 [RDD not found]
Hello Wolfgang,

they may not be very different, but it is always safer to use the newer ones. AFAIK there were a few changes (and bug fixes) in the compiler, but for sure nothing big.


I have 3 reasons to use Vulcan 3:

1 I have more valid licenses for Vulcan 3 than for Vulcan 4
2 I did have problems earlier with using our X# DLL from VO using Vulcan 4 files. Probably a comparable DLL hell, also because we use ADS to complicate matters further, but as using .Net DLL's from VO without the need for registering is a very tricky business - one small issue and your whole VO program stops working- setting everything back to Vulcan 3 DLL's solved it and I was very reluctant to go back to 4.0 again.
3 Finally I seem to remember that Chris once told me basically nothing was changed concerning the Vulcan DLL's (3 to 4) but I may be wrong there and he'll correct me ;). And the Version 4.0.401.0 - August, 2015 do show only VS related changes.

In general I wonder how Bring Your Own works legally. Suppose someone never bought a Vulcan compiler at all but does possess the 'Redist' DLL's (e.g. because someone else's Vulcan based program is installed). Would it be 'illegal' to use these Vulcan DLL's/RDD from X# - as the user does not use the Vulcan compiler, for example? And am I correct (reading the roadmap) that at some point in time the programs will run without?

Dick

Please Log in or Create an account to join the conversation.

More
5 months 1 week ago #8 by wriedmann
Replied by wriedmann on topic Error Subcode: 1015 [RDD not found]
Hi Dick,

there is no working ADS RDD for Vulcan 4 and .NET 4, you need to build it yourself. If you need it, you can contact me - I have one that works. The SAP people seems to have built it only for .NET 3.5, but put it in both folders (for 3.5 and 4).

BYOR is perfectly legal if you use it for your development. But you need a distribution license to distribute the DLLs to your customers. This distribution license comes with a legally buyed Vulcan copy and AFAIK also with the Vulcan demo version.

So to be completely safe for licensing issues one should buy a Vulcan license if a redistribution is needed right now.

But the team os working on a own runtime, and when this is finished, you don't need the Vulcan runtime anymore.
The X# runtime is also needed because the Vulcan runtime is limited to x86 only, and the X# runtime will be AnyCPU, and hopefully the X# runtime will be more compatible to VO than the Vulcan one (like the compiler - the X# compiler is more compatible to VO than the Vulcan compiler).

So the Vulcan runtime issue will be a non-issue in a year when the X# runtime is completely working. And thanks to the fact that the X# runtime is open source, we will have the chance to look at the details, and to propose maybe changes.

Wolfgang

Please Log in or Create an account to join the conversation.

More
5 months 1 week ago #9 by ic2
Replied by ic2 on topic Error Subcode: 1015 [RDD not found]
Hello Wolfgang,

To be honest I wasn't sure anymore. I have 2 download links:

devzone.advantagedatabase.com/forum/upfi...age_RDD_302_F2F4.zip
devzone.advantagedatabase.com/forum/upfi...age_RDD_301_F2F4.zip
and I'd say both are Vulcan 3. In the last "announcement" of Brian in his NG, he wrote that Vulcan 4 RDD's were available in

devzone.advantagedatabase.com/dz/content.aspx?key=1 . If you click that and then Advantage Database Server 11.10.0.30 Service Update it says "There are no updates to ADS SErver or to Advantage Client Engine" (including that SE in server...).

So it's all a bit confusing but given the fact that you've been working on it the announcement of Brian apparently was of no value (surprise, surprise).

On the other hand: this means that there's even more reason for me to keep using the Vulcan 3 DLL's. In a while we won't need them anymore anyhow.

Thanks also for the BYOR explanation.
I will document Jelle's + my work on this for the Wiki.

Dick

Please Log in or Create an account to join the conversation.

More
5 months 1 week ago #10 by wriedmann
Replied by wriedmann on topic Error Subcode: 1015 [RDD not found]
Hi Dick,

both of your download links are for Vulcan 3 and don't work for Vulcan 4.

The last download includes a Vulcan 4 RDD, but unfortunately both files are built for .NET 3.5.
The only solution (that works for me) is to decompile the RDD and rebuild it.

Of course I can give it to you (but I have to admit that the credit to this solution does NOT go to me, I have received the hint from someone else that helped me).

Wolfgang

Please Log in or Create an account to join the conversation.

More
5 months 1 week ago #11 by Chris
Replied by Chris on topic Error Subcode: 1015 [RDD not found]
Just to explain further, there were 3 builds of Vulcan 3 IIRC, they were 301,302 and 303. Then for Vulcan 4 there was only one (surprise! :)), 401. When you use dlls from a certain build (301) for example, then all dlls mus be the same build, you cannot use 301 dlls and 302 dlls together.

In builds 302 and 303 there were a few small improvements over 301, but I think we did not touch at all the runtime for Vulcan 4 (401). So it is better if you use 303 or 401, but also 301 and 302 are fine, too (actually even most 2?? builds are fine regarding the runtime).

And as Wolfgang said, that's only until the X# runtime is finished, at which point vulcan will be completely history at last.

Chris

XSharp Development Team
chris(at)xsharp.eu

Please Log in or Create an account to join the conversation.

More
5 months 1 week ago #12 by wriedmann
Replied by wriedmann on topic Error Subcode: 1015 [RDD not found]
Hi Chris,

about the X# runtime: AFAIK the Vulcan RDDs need the Vulcan runtime, and both runtimes cannot be used together. Therefore who uses DBFCDX can only jump to the X# runtime when the X# DBFCDX is ready. ( the ADS RDD is no solution because ADS is not compatible at 100% with the DBFCDX RDD, for example you cannot use own functions in the index expressions).

Wolfgang

Please Log in or Create an account to join the conversation.

More
5 months 1 week ago #13 by ic2
Replied by ic2 on topic Error Subcode: 1015 [RDD not found]
I do use the Vulcan DLL's version 3.0.303.0. The 2 ADS packages (Advantage_RDD_301_F2F4.zip and Advantage_RDD_302_F2F4.zip) contain 4 different AdvantageRDD.dll; 1 per file for ADS 10 and 1 for ADS 11. Remarkably both versions seem to be 11.10.0.10 but with different dates 11-10-2014 and 12-8-2013. As I have a 11.10.0.20 I think there's some other issue because that clearly seems newer.

This works provided the ADS.INI, ace32.dll, adsloc32.dll, axcws32.dll, AXDBFCDX.RDD and AXSQLCDX.RDD are of the same date 27-11-2012 and copied in project directory and bin\release + bin\Debug directories. And referred to in VS of course. This seems to have been the issue today for a large part. Now it looks that it works on the Azure server with local server and tomorrow we test at the clients server with ADS remote installed, on which I'd say it should work too.

Thank for all the explanation.

Dick

Please Log in or Create an account to join the conversation.

More
5 months 1 week ago #14 by ic2
Replied by ic2 on topic Error Subcode: 1015 [RDD not found]
Hello Wolfgang,

You wrote:

"the ADS RDD is no solution because ADS is not compatible at 100% with the DBFCDX RDD, for example you cannot use own functions in the index expressions)."

I wasn't aware of that. This is also in VO I suppose? I don't think I use user defined functions in indexes so in that case the ADS RDD is the solution.

Dick

Please Log in or Create an account to join the conversation.

More
5 months 1 week ago #15 by wriedmann
Replied by wriedmann on topic Error Subcode: 1015 [RDD not found]
Hi Dick,

it tooks me about a day of work to make some of my applications compatible to ADS.
There are several things I'm using that don't work with ADS: like an index expression on a substring of a memo field, using own functions in index expressions, and some limits in the filters. And try to save an Euro sign in a character field: you will not be able to retrieve it after - you will see another character. That has to do with the ANSI conversion that ADS requires.

ADS is really a good choice: it is stable and works very well, but unfortunately SAP seems to abbandon it. It has saved me one of my largest projects (without ADS I had to rewrite several VO applications to SQL in no time and for no money).

But again: it is not compatible at 100%.

Wolfgang

Please Log in or Create an account to join the conversation.