Access Network path with credential on Dotnet Core 2.0 in Docker hosted in Linux

1

I want to access Network path with credential on Dotnet Core 2.0. I am able to access network locally in windows machine. I am following the solution in How to provide user name and password when connecting to a network share

But when i hosted application in docker in linux container, it throws error Application startup exception:

System.DllNotFoundException: Unable to load DLL 'mpr.dll': The specified module or one of its dependencies could not be found. (Exception from HRESULT: 0x8007007E)

The error is because 'mpr.dll' is not in linux. mpr.dll is found at C:\Windows\System32\mpr.dll. I tried to refer dll but it is not supported in dotnet core.

Is there any alternative solution?

linux
docker
.net-core
asked on Stack Overflow Apr 17, 2018 by Renjith • edited Apr 19, 2018 by mohan08p

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0