I'm trying to deploy a flask app on IIS using wfastcgi the IIS is on my personal Windows 10 PC. I followed all the steps in this documentation it showed me this Error with Code 0x00000067
here is my web config file
<?xml version="1.0"?>
<configuration>
<system.webServer>
<handlers>
<add name="Flask CGI"
path="*"
verb="*"
modules="FastCgiModule"
scriptProcessor="c:\users\marwa\desktop\recommendationsystem2\env\scripts\python.exe|c:\users\marwa\desktop\recommendationsystem2\env\lib\site-packages\wfastcgi.py"
resourceType="Unspecified"
requireAccess="Script"/>
</handlers>
</system.webServer>
<appSettings>
<add key="WSGI_HANDLER" value="app.app" />
<add key="PYTHONPATH" value="C:\Users\marwa\Desktop\RecommendationSystem2" />
</appSettings>
</configuration>
update It suddenly gave a different error after restarting my computer which you can find in this image
You can clearly find the cause of the error based on its error message, and you can find the error code in the official documentation, and you can try the solutions, please refer to the Scenario 7 in this document.
Another way is checking your windows features.