Tekla Structures does not start: error System.DllNotFoundException

Tekla Structures
Not version-specific
Tekla Structures
System.DllNotFoundException error
Visual C++ Redistributables
crash
error
KERNELBASE.dll
Environment
Not environment-specific

Symptoms: 

When you start Tekla Structures it crashes and System.DllNotFoundException is shown in the error details:

 

Image
2015_10_09_08_10_281.png

 


Additionally, the following error registered in Windows Event Viewer in the Application log:

 

 

Image
2015_10_09_08_33_262.png

 


Cause: 

Tekla Structures is unable to start because it requires a .dll file which is corrupted or missing in your Windows operating system.

Solution:

Follow the instruction to solve the issue:

 

  1. Open the Tekla Structures Hardware Recommendations article that relates to your Tekla Structures version. In the Additional necessary software components section, check for Microsoft Visual C++ Redistributables versions. For example, Tekla Structures 2021 requires Microsoft Visual C++ 2010, 2013 and 2015 Redistributables.
  2. Check Control Panel > Programs and Features for installed Microsoft Visual C++ Redistributables. For 64-bit Windows each of the required redistributable should be listed twice in the list - the one with x64 in the name is 64-bit and the other with x86 in the name is 32-bit. For example, the list can look like this: 
    Image
    2015_10_09_09_56_064.png
  3. If any of the required redistributables is missing, download it from the Microsoft site and install it. Below are the download links for different redistributable versions:
    Microsoft Visual C++ 2005 Redistributable - http://www.microsoft.com/en-us/download/details.aspx?id=26347
    Microsoft Visual C++ 2010 Redistributable - http://www.microsoft.com/en-us/download/details.aspx?id=26999
    Microsoft Visual C++ 2013 Redistributable - http://www.microsoft.com/en-us/download/details.aspx?id=40784
    Microsoft Visual C++ 2015 Redistributable - http://www.microsoft.com/en-us/download/details.aspx?id=53840
  4. Start Tekla Structures. If the problem still exists, then proceed to the next step of the instruction.
  5. Download all of the required  Microsoft Visual C++ redistributables to your computer. For that, for each of the redistributables do the following:
    • Open the corresponding redistributable page (use one of the links given in step 3).
    • Click the Download button.
    • Select vcredist_x64.exe and vcredist_x86.exe in the download list, then click Next. If you have 32-bit Windows select just vcredist_x86.exe.
    • Save the files on your computer. While saving, make sure the files will not overwrite each other. For example, for Tekla Structures 21.1 (64-bit) you need to download and save four files.
  6. For each of the downloaded redistributables, do the following:
    • Run the file to start the installation process.
    • Choose Repair or Install option whichever is available.
    • Complete the repair/installation.
  7. Start Tekla Structures. If the problem still exists, then proceed to the next step of the instruction.
  8. Check which version of .Net Framework is required for running Tekla Structures. It is listed in the Additional necessary software components section of the Tekla Structures Hardware Recommendations article that relates to your Tekla Structures version.
  9. Check Control Panel > Programs and Features for .Net Framework version installed on your computer. The installed version should be the same as listed in the article or newer.

    In Windows 8 (or newer Windows versions) .Net Framework 4.5 (or newer version) is preinstalled with the operating system. In that case .Net Framework might not be listed at all in the installed software list in Programs and Features. You can check the this article for more information about the preinstalled .Net Framework.

    Note: The Microsoft .NET Framework 4.5, 4.5.1, 4.5.2, and the Microsoft .NET Framework 4.6 replace the Microsoft .NET Framework 4. That means that having Microsoft .NET Framework 4.6 installed on your computer allows you to run any applications that require Microsoft .NET Framework 4, 4.5, 4.5.1, 4.5.2, and 4.6.

    If you have Windows 10, then you cannot do anything as the Microsoft .Net Framework 4.6 is preinstalled there. If you have Windows 7/8/8.1, then you can install/reinstall Microsoft .Net Framework 4.6 which should work fine with Tekla Structures 19.0-21.1.
  10. Open the Microsoft .Net Framework download page (use the link given in the previous step). Use offline installer link if available.
  11. Click Download.
  12. Save the Microsoft .NET Framework installation package on your computer.
  13. Run the Microsoft .NET Framework installation package by double-clicking the .exe file.
  14. Follow the on-screen instructions.
    Note: As it was mentioned above, Microsoft .NET Framework 4.6 is included in Windows 10, therefore you cannot install it there.
Was this helpful?