DLL's Version - Multi-threaded

1 Answer 33 Views
PivotGrid and PivotFieldList
João
Top achievements
Rank 1
Iron
Iron
Iron
João asked on 16 Jan 2025, 12:19 PM

Hi there!

Recently i encountered the following error: 'You are trying to use a multi-threaded .NET object in a way that is not supported.  The ABL cannot be called on a thread other than the main thread.'. I've known for a while that the language used in my company doesn't support multi-tread, that's why we usually used the version '20' of the dll's but sometimes the "40" were also usable even being multi-thread. Check the following link for context.

However, after updating the 2020 dll's to the 2023, we've been encountering several problems with the "RadPivotGrid" object. We get constant errors and warnings (like the one i shared). So, I've been trying unsuccessfully to find the '20' version so i can force my company's application to run with a single thread, and i can't find it anywhere.

Can anyone help me find it? Preferably DLL's from the year 2023 and forward.

 

Thank you.

JP

 

1 Answer, 1 is accepted

Sort by
0
Accepted
Dinko | Tech Support Engineer
Telerik team
answered on 17 Jan 2025, 12:59 PM

Hello João,

Thank you for reaching out to us.

By 20 I am assuming that you are referencing .NET Framework 2.0. The Telerik assemblies built against .NET Framework 2.0 were deprecated. The last supported version is R3 2022. .NET Framework 4.0 has a similar path. The last supported version is R1 2024. In general, our Distributions help articles explain in detail the current target framework and their versions.

As far as I am aware, indeed ABL OpenEdge does not support multi-threading. I would suggest submitting a technical question in Salesforce or at the Progress Community https://community.progress.com/  You can log in to these websites straight from your Progress account: https://progresslink.progress.com/supportlink. Thus, the appropriate support engineers would gladly assist you and share if there is a workaround for this.

Regards,
Dinko | Tech Support Engineer
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

João
Top achievements
Rank 1
Iron
Iron
Iron
commented on 20 Jan 2025, 10:59 AM

Hey Dinko!

I've just asked a question on the progress community to see if anyone knows an idea to fix my situation. However, is there a way to generate the dll's with the '.NET Framework 2.0' myself?

Thank you!

JP

Dinko | Tech Support Engineer
Telerik team
commented on 21 Jan 2025, 11:51 AM

After deprecating the build of the assemblies to .NET Framework 2.0, we have made some modifications to our code. Now our source code is not buildable anymore in .NET Framework 2.0 due to new code that comes from the newest frameworks. 

In general, you could get the source code of our assemblies from your account (if you have a valid license) and try to change the target framework to 2.0 build all projects. Then you will need to manually go through and fix the errors and remove any code that is available in the newest versions of .Net Framework. Keep in mind that this is not straightforward approach and will need extra work to change the code to work for .Net Framework 2.0 again.

João
Top achievements
Rank 1
Iron
Iron
Iron
commented on 22 Jan 2025, 12:57 PM

I just wanted to close this topic by saying that, to work around this situation, I had to create a DLL with the code from my original project to handle the multi-threading in a separate location.
Dinko | Tech Support Engineer
Telerik team
commented on 22 Jan 2025, 12:58 PM

I am happy to hear that you have found a solution for your scenario. If you have any other questions, feel free to contact us again.
Tags
PivotGrid and PivotFieldList
Asked by
João
Top achievements
Rank 1
Iron
Iron
Iron
Answers by
Dinko | Tech Support Engineer
Telerik team
Share this question
or