# windows 10 - The application was unable to start correctly (0xc0000022). Click OK to close the application

**URL:** https://discourse.paraview.org/t/windows-10-the-application-was-unable-to-start-correctly-0xc0000022-click-ok-to-close-the-application/5199
**Category:** ParaView Support
**Created:** [August 27, 2020, 3:52pm UTC](https://discourse.paraview.org/t/windows-10-the-application-was-unable-to-start-correctly-0xc0000022-click-ok-to-close-the-application/5199 "2020-08-27T15:52:45Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![danlipsa](https://discourse.paraview.org/user_avatar/discourse.paraview.org/danlipsa/32/1563_2.png) [@danlipsa](https://discourse.paraview.org/u/danlipsa)
#### Post date: [August 27, 2020, 3:52pm UTC](https://discourse.paraview.org/t/windows-10-the-application-was-unable-to-start-correctly-0xc0000022-click-ok-to-close-the-application/5199/1 "2020-08-27T15:52:45Z")

</div>

I built ParaView using the instructions in build.md, but I am getting the error in the title when I try to run it.  
Any suggestions on how to debug this?

Thanks,  
Dan

---

<div class="post-metadata">

### Author: ![cory.quammen](https://discourse.paraview.org/user_avatar/discourse.paraview.org/cory.quammen/32/11193_2.png) [@cory.quammen](https://discourse.paraview.org/u/cory.quammen)
#### Post date: [August 27, 2020, 5:41pm UTC](https://discourse.paraview.org/t/windows-10-the-application-was-unable-to-start-correctly-0xc0000022-click-ok-to-close-the-application/5199/2 "2020-08-27T17:41:11Z")

</div>

First thing to check. Make sure the Qt DLLs on your PATH match the ones you’ve built against. Same for Python if you have it enabled.

---

<div class="post-metadata">

### Author: ![danlipsa](https://discourse.paraview.org/user_avatar/discourse.paraview.org/danlipsa/32/1563_2.png) [@danlipsa](https://discourse.paraview.org/u/danlipsa)
#### Post date: [August 28, 2020, 12:59pm UTC](https://discourse.paraview.org/t/windows-10-the-application-was-unable-to-start-correctly-0xc0000022-click-ok-to-close-the-application/5199/3 "2020-08-28T12:59:31Z")

</div>

I repaired Visual Studio Redistributable (all of them), removed Python support from Visual Studio 2015, uninstall Visual Studio 2019 and rebooted. After that I could build without Python and ParaView started correctly. Not sure which one of these did it.

---

<div class="post-metadata">

### Author: ![danlipsa](https://discourse.paraview.org/user_avatar/discourse.paraview.org/danlipsa/32/1563_2.png) [@danlipsa](https://discourse.paraview.org/u/danlipsa)
#### Post date: [September 1, 2020, 2:44pm UTC](https://discourse.paraview.org/t/windows-10-the-application-was-unable-to-start-correctly-0xc0000022-click-ok-to-close-the-application/5199/4 "2020-09-01T14:44:41Z")

</div>

Seems that building with Python causes this. Looking with the Process Monitor I get:

```
1:43:44.1558093 PM	paraview.exe	10280	CreateFile	C:\Users\dan.lipsa\projects\paraview\build\bin\python38.dll	NAME NOT FOUND	Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a
1:43:44.1562130 PM	paraview.exe	10280	CreateFile	C:\Users\dan.lipsa\projects\paraview\build\python38.dll	NAME NOT FOUND	Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a
```

I have python 3.8.5 (installed through the microsoft store) on my machine. This library is at  
` c:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.8_3.8.1520.0_x64__qbz5n2kfra8p0`  
@ben.boeckel Any ideas? Thanks!
