Hi sein jo,
The exception code 0xc0000005 indicates an access violation, which often points to compatibility issues between the application and system libraries such as ntdll.dll. Since you’ve already reinstalled Visual C++ redistributables and KEPServerEX itself, the next step is to confirm whether the version of KEPServerEX you are using (v5.21.112.0) is fully supported on Windows Server 2012 R2. Kepware documentation notes that older builds may not be certified for newer patch levels of Server 2012 R2, so upgrading to the latest supported release of KEPServerEX is strongly recommended.
Additionally, ensure that all Windows Server 2012 R2 updates are applied, particularly cumulative updates that include fixes for ntdll.dll. Running DISM /Online /Cleanup-Image /RestoreHealth can also help repair underlying system components beyond what sfc /scannow covers.
If the crash persists, I suggest testing the application under a clean boot environment (disabling non-Microsoft services) to rule out conflicts with third-party software. Antivirus or endpoint protection tools are known to interfere with OPC servers and can cause access violations.
Another useful diagnostic step is to capture a crash dump using Windows Error Reporting or ProcDump, which can help confirm whether the fault lies in KEPServerEX itself or in a dependency. If the dump consistently points to ntdll.dll, this strengthens the case for a compatibility issue rather than a corrupted system file.
In summary, I recommend:
- Upgrading to the latest supported version of KEPServerEX.
- Applying all Windows Server 2012 R2 cumulative updates.
- Running DISM for deeper system repair.
- Testing under clean boot to rule out conflicts.
- Capturing a crash dump for further analysis if needed.
You can try and let me know how it goes. If you find this answer helpful, please consider clicking Accept Answer so I know your concern has been resolved.
Jason