> For the complete documentation index, see [llms.txt](https://enercalc.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://enercalc.com/docs/sel-faq/setup-and-licensing/troubleshooting/installation-and-startup-problems/fixing-the-startup-error-miss.md).

# Fixing the Startup Error (Missing DLL / SSL Crash)

How to fix the ENERCALC startup crash caused by a missing or wrong vcruntime140.dll using a custom shortcut.

If ENERCALC won’t start or gives an error about “`vcruntime140.dll`” or a similar message, follow these steps. This issue happens because Windows sometimes uses the wrong internal system file when launching ENERCALC.

Step-by-Step Instructions

1. **Close ENERCALC** if it’s running.
2. **Right-click your ENERCALC desktop icon** and choose **Properties**.
3. In the **Target** box, replace what’s there with this command:

   ```
   C:\Windows\System32\cmd.exe /c "set PATH=C:\Program Files (x86)\ENERCALC_20;C:\Windows\SysWOW64;C:\Windows\System32;%PATH%&& start "" "C:\Program Files (x86)\ENERCALC_20\ENERCALC.exe""
   ```
4. Click **Apply**, then **OK**.
5. **Launch ENERCALC** using that icon.

That’s it! The software should now start normally without crashing.

Why This Works (Simple Explanation)

Windows was accidentally trying to use a **64-bit** system file instead of the **32-bit** version ENERCALC needs. The new shortcut makes Windows look in the right places first, so ENERCALC gets the correct files.

**P.S. For IT Staff / Technical Explanation**

The SSL stack crash was caused by Windows loading the **x64** `vcruntime140.dll` from *System32* instead of the **x86** version that should reside in *SysWOW64*. Even after copying the correct DLLs into the ENERCALC installation folder, the loader’s path precedence caused the system version to override the local copy. By launching ENERCALC through `cmd.exe` and temporarily redefining the PATH environment variable, the application prioritizes the correct (x86) directories before the system ones, ensuring proper DLL resolution.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://enercalc.com/docs/sel-faq/setup-and-licensing/troubleshooting/installation-and-startup-problems/fixing-the-startup-error-miss.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
