We have created .Net Console application wrapping 3rd party dll compatible with 32 bit and it works while running the executable locally and on other Windows machine as well.
As part of POC, we are trying to deploy this application via docker image on AWS ECS, but getting System.InvalidOperationException: The ‘Microsoft.Jet.OLEDB.4.0’ provider is not registered on the local machine.
Could you please suggest/provide us, if there are any solutions for this issue. The commands we are using for building docker image is as below:
FROM mcr.microsoft.com/dotnet/framework/sdk:4.8-windowsservercore-ltsc2019
WORKDIR /app
COPY . .
RUN nuget restore
RUN msbuild /t:restore
RUN msbuild /t:build /p:Configuration=Release /p:Platform=x86
ENTRYPOINT [“bin/Release/ x86/app.exe”]