You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Windows10 IIS部署Flask应用遇500错误(代码0x00000067)求助

Flask应用通过wfastcgi部署到Windows 10 IIS时的500错误排查请求

初始错误信息

  • 错误类型:HTTP Error 500.0 - Internal Server Error
  • 错误代码:0x00000067

已严格按照指定文档步骤操作,当前web.config配置如下:

<?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>

更新情况

重启电脑后出现新的内部服务器错误,错误提示为FastCGI process exited unexpectedly,对应错误代码0x8007010B。


内容的提问来源于stack exchange,提问作者Marwan Ashraf

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.06.30 01:10:27