mfc140u.dll is missing

This forum can be browsed by the general public. Posting is limited to current SAPIEN license holders with active maintenance and does not offer a response time guarantee.
Forum rules
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
This topic is 5 years and 4 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Philaubur
Posts: 10
Last visit: Fri Nov 18, 2022 4:02 am

mfc140u.dll is missing

Post by Philaubur »

To help you better we need some information from you.

*** Please fill in the fields below. If you leave fields empty or specify 'latest' rather than the actual version your answer will be delayed as we will be forced to ask you for this information. ***

Product, version and build: Powershell Studio 2018 (SPS18Setup_5.5.155_100218_x64.exe)
32 or 64 bit version of product: 64 bits
Operating system: Windows 2012 R2
32 or 64 bit OS: 64 bits

*** Please add details and screenshots as needed below. ***

Hello,

After many unsuccessful searches on the forum, I tell you about my problem.
Following the installation of Powershell Studio 2018 (SPS18Setup_5.5.155_100218_x64.exe) on a development server (windows 2012 R2), I often get this error message :
" Can't start the program because mfc140u.dll is missing on your computer ".
Especially when I execute the script. The title of the window is: "ScriptDriver64.exe - System Error".

I have already reinstalled the program as requested but, the message is still displayed.

How can I fix it?

Thank you for your reply.
Regards,

DO NOT POST SUBSCRIPTIONS, KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM
Attachments
ScreenshotError.jpg
ScreenshotError.jpg (25.38 KiB) Viewed 2025 times
User avatar
Alexander Riedel
Posts: 8479
Last visit: Thu Mar 28, 2024 9:29 am
Answers: 19
Been upvoted: 37 times

Re: mfc140u.dll is missing

Post by Alexander Riedel »

The error message indicates that the Visual Studio 2017 runtime is missing.
Normally this runtime is installed by the provided setup. There are conditions where this might fail or not be executed, as follows:
- PowerShell Studio was installed with the silent MSI installer options. Prerequisites are not installed by Windows installer in that case.
- Windows installer finds registry entries entries indicating this runtime is already installed. This might happen if there
was an aborted removal of this runtime, which could leave registry entries behind.

Check under "Programs and Features" if you have "Microsoft Visual C++ 2017 Redistributable" installed. Both x86 and x64 are required on a 64 bit machine.
If you have them, they are likely corrupted and I suggest to uninstall them before proceeding.

You can install the required runtimes separately, by downloading them directly from Microsoft
https://aka.ms/vs/15/release/vc_redist.x86.exe
https://aka.ms/vs/15/release/vc_redist.x64.exe

Please let us know if this solves your problem.
Alexander Riedel
SAPIEN Technologies, Inc.
Philaubur
Posts: 10
Last visit: Fri Nov 18, 2022 4:02 am

Re: mfc140u.dll is missing

Post by Philaubur »

Hello,

The problem was resolved.

Small note, it should first install the file vc_redist.x64.exe then vc_redist.x86.exe. Otherwise, an installation failure is displayed.

Thanks for your help

Regards,
This topic is 5 years and 4 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.