on 2022 Mar 08 4:24 PM
Hi dear team.
I have a problem and I don't know if is available to do it actually.
I'm trying to create a .NET application and connect it with SAP Hana Live db in my company.
I followed this tutorial Connect Using the SAP HANA .NET Interface | Tutorials for SAP Developers and the conection works correct.
The problem comes when I want to deploy the application using docker instead IIS.
I'm using the next dockerfile
When I deploy the app, the result image i'll see the Sap Hana dll needed for work, but when I run the methods in .NET api the next error appear.
If I put the library you mention inside the container, the following appears:
I don't know what todo for solve it.
Anyone knows how to do it?
Thanks.
Hello,
Are you deploying the Windows version of the HANA .NET Core provider to a Linux docker? On Linux machine, you have to use the Linux version of the HANA .NET Core provider (Sap.Data.Hana.Core.v2.1.dll and libadonetHDB.so).
Kind regards,
Minghai
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I did same thing with windows containers it works but I can't make it work on linux container.
I sure did copied linux version of hdbclient but problem is that when running on debug it works but after publishing docker image it does not.
When creating hana connection it just hangs there no exception or error messages not event timeout.
I am out of ideas.
Regards
Can you get the SQLDBC trace?
Kind regards,
Minghai
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
72 | |
10 | |
8 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.