Hello Community,
We have problems with the different runtime environments of the WBCON Workflow Service (under .NET Framework) and the WEBCON BPS Portal (under .NET Core) and System.Data.ODBC.
I have developed an SDK plugin that integrates the NuGet package System.Data.ODBC to access ODBC data sources.
The target runtime environment of the plugin package is .NET Standard 2.0, so that the plugins can be executed both in the service and portal. Without the integration of System.Data.ODBC this works without any problems.
As soon as the NuGet package System.Data.ODBC is integrated and used, the plugin only works in the portal (.NET), but no longer in the service (.NET Framework).
I have tested different System.Data.ODBC versions (6.0.0.0, 7.0.0.0, 8.0.0.0), but I always get the following error message (the version number in the error message is always identical to the System.Data.ODBC version used):
System.IO.FileNotFoundException: the file or assembly "System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" or a dependency of it was not found. The system cannot find the specified file.
File name: "System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
Only exception: on my local Windows 11 machine, on which I develop the plugin, the plugin also works in service when I use System.Data.ODBC version 6.0.0.0.
I've already spent hours trying to find the unresolved dependency and looking for differences between my local Windows 11 development environment. Unfortunately without success so far.
I think it might be a similar problem to the following forum post, but I'm not 100% sure.
https://community.webcon.com/forum/thread/2707?messageid=2707
Is there anyone here who can help me with any tips? The case is quite urgent, as the plugin has not worked for a customer since the WEBCON update last Friday and it is used intensively in applications for this customer.
Thank you!
Marco Bienlein, VSB