question

67883078 avatar image
0 Votes"
67883078 asked 67883078 commented

C++ Application failed to run in the Server Core Docker image- due to missing dependent OleDlg.dll

Hi,

We have a C++ application built in Visual Studio 2015, this application is failing to execute in the Windows Server 2019 core image due to the missing dependent DLL - Microsoft OleDlg.dll.

We have found one related query in the forum, and solution suggested to go ahead by copying the DLL from the Server full installation (GUI version) to the Server Core image.
https://social.technet.microsoft.com/Forums/en-US/7055c7a6-8f84-4b2d-83d3-49bc9d9273e8/oledlgdll-missing-in-server-core-vs-2012-dependency?forum=winservercore

So we would like to confirm, is it Ok to distribute OleDlg.dll from the full installation with the Server Core image or from our own web portal.

Thanks,
Banna

c++windows-server-2019
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Are you able to compile this code using the newer version of the Visual Studio?
Windows Server 2019 is using the newer version of the Microsoft .NET and that might cause this behavior.

0 Votes 0 ·

1 Answer

YuhanDeng-MSFT avatar image
0 Votes"
YuhanDeng-MSFT answered 67883078 commented

Hi,
We don’t suggest that you distribute OleDlg.dll from the full installation with the Server Core image or from your web portal, that might result in a system crash.
Please do remember to make copies if you really want to give a try.

Thanks for your time.
Best regards,
Danny


If the Answer is helpful, please click "Accept Answer" and upvote it.

Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Ok, thank you.
I would like to know, is there any licensing restriction to redistribute this DLL.

0 Votes 0 ·

Hi,
I did some research but I didn’t find direct information about this topic.
Maybe this would help:
https://docs.microsoft.com/en-us/previous-versions/visualstudio/visual-studio-2013/8kche8ah(v=vs.120)

Thanks for your time.
Best regards,
Danny


If the Answer is helpful, please click "Accept Answer" and upvote it.

Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


1 Vote 1 ·

Ok.. thank you Danny.

0 Votes 0 ·