Page 1 of 2
not compatible program 7.2.0 database 7.2.1

Posted:
Wed Jul 15, 2020 4:51 pm
by Riyaz
Hi There
Am using the jiwa dlls in a custom software, things were working just fine till yesterday, today it comes up with an error that "Jiwa cant login as program version is 7.2.0 and Database is 7.2.1" , have checked the jiwa dlls am using again, and it says 7.2.1
Can you pls kindly advise on what might be happening here.
Re: not compatible program 7.2.0 database 7.2.1

Posted:
Wed Jul 15, 2020 5:35 pm
by Mike.Sheen
Topic moved from V6 forum to V7 forum.
Re: not compatible program 7.2.0 database 7.2.1

Posted:
Wed Jul 15, 2020 5:40 pm
by Mike.Sheen
Riyaz wrote:have checked the jiwa dlls am using again, and it says 7.2.1
Where have you checked? I'd be looking at the Details tab of the file properties - when you right-click the file in Explorer and select Properties.

- FileVersion.png (19.41 KiB) Viewed 2730 times
Also, it is possible the assemblies being used are being loaded from different location to what you think. Use
fuslogvw.exe to log which assemblies are really being loaded and from where.
Re: not compatible program 7.2.0 database 7.2.1

Posted:
Wed Jul 15, 2020 6:02 pm
by Scott.Pearce
Please provide the exact error string rather than "Jiwa cant login as program version is 7.2.0 and Database is 7.2.1", as I cannot find any match of that string in the source-code. You should only use quotes ("") when you are literally quoting exact text.
Re: not compatible program 7.2.0 database 7.2.1

Posted:
Wed Jul 15, 2020 6:10 pm
by Riyaz
Pls find attached
Re: not compatible program 7.2.0 database 7.2.1

Posted:
Wed Jul 15, 2020 6:16 pm
by Mike.Sheen
Riyaz wrote:Pls find attached
Ok, so is that JiwaApplication.dll in the same folder as the your application?
What did fuslogvw.exe show? Does it show it resolving JiwaApplication.dll in the folder you expected it to be resolving to?
Re: not compatible program 7.2.0 database 7.2.1

Posted:
Wed Jul 15, 2020 6:28 pm
by Riyaz
Have attached two files,
1/ This is the metadata of the dll used, I got this by selecting "Go To Definition" in the code am using, the version number at the top seems correct
2/ The code that I'm using
Its fascinating that this was working fine yesterday
Re: not compatible program 7.2.0 database 7.2.1

Posted:
Wed Jul 15, 2020 6:31 pm
by Mike.Sheen
Riyaz wrote:Its fascinating that this was working fine yesterday
If I had a dollar for every time someone said that to me...
What does fuslogvw.exe show?
Re: not compatible program 7.2.0 database 7.2.1

Posted:
Thu Jul 16, 2020 5:07 pm
by Riyaz
No, its pointing to the jiwa install folder instead, have removed the dlls and added them again but still the same.
I'm just upgrading jiwa now
Re: not compatible program 7.2.0 database 7.2.1

Posted:
Thu Jul 16, 2020 5:11 pm
by Mike.Sheen
Riyaz wrote:No, its pointing to the jiwa install folder instead, have removed the dlls and added them again but still the same.
I'm just upgrading jiwa now
This raises a few questions.
I'm guessing based on what you've said that you have Jiwa 7.2.0 installed, but you have a custom application which requires / uses Jiwa 7.2.1 assemblies - is that correct?