DLL File Error

Anonymous
2025-01-22T16:18:55+00:00

Just got these brand new PCs in with Windows 11 Pro 24H2 and installed a CAD program, the program worked for a few days. Then started receiving a dll file error on all of those PCs (see image) saying the dll might be missing, corrupt, or wrong version when I run a certain task in a program. I checked the folder that it is located in and I see the file is there. I even replaced the file with the same one from a PC where the file isn't running into the error. Still does not fix the issue, I contacted support for the program and they said the've never seen this issue before. They tried all the fixes they can think of and came to a conclusion that it has to be something to do with windows.

Please let me know if you have any ideas of what could be causing this.

So far I've tired these fixes:

Reinstalled CAD Program Reinstalling NVIDIA DriversUpdated CAD ProgramReplaced .dll file with issueReplaced folder .dll file is inUninstalled AntivirusDisabled Windows Defender Ran sfc/scannow

Ran DISM /Online /Cleanup-Image /Restorehealth

Installing Windows Updates

Windows for home | Windows 11 | Files, folders, and storage

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Anonymous
    2025-01-23T09:30:31+00:00

    Hi MCJ_842

    Welcome to the Microsoft Community

    Understanding your problem, you have encountered a DLL file error

    Run the Microsoft Repair Tool:

    Use Microsoft's “Framework Repair Tool” to fix potential framework or system issues.

    Reinstall the Visual C++ Runtime Library:

    Many CAD programs rely on the Visual C++ Runtime Library. Ensure that all versions of the Visual C++ runtime libraries are installed correctly and attempt to reinstall them (all versions from 2005 to 2022).

    Trying to re-register the DLL files can solve problems caused by corrupt or missing DLL registration information.

    To re-register all DLL files in the System32 directory, run cmd as administrator and enter the following command and run it

    for %1 in (%windir%\System32*.dll) do regsvr32.exe /s %1
    

    If the above does not work try upgrading in place

    Disclaimer: Let's try to perform an in-place upgrade, which will refresh your Windows files and operating system without deleting files or applications. However, we still recommend backing up your computer in advance if it contains important data.

    Once you have completed the backup, please follow the steps detailed in this thread: **** How to run In-place upgrade in Windows 11 - Microsoft Community

    Contact me if you need anything else.

    Best wishes

    Merek.Z - MSFT | Microsoft Community Support Specialist

    0 comments No comments
  2. Anonymous
    2025-01-23T13:20:31+00:00

    Hello Merek.Z - MSFT,

    Thank you for responding, I've tried the Framework Repair tool and reinstalling Visual C++. Then I tried re registering the dll files through the command you provided. Also I tried using regsvr32 [the name of the DLL file] and I got an error (seen below).

    0 comments No comments