【问题标题】:IIS 7.5 / windows 7 64bit / Nwsgi 2.1 - web.config configuration errorIIS 7.5 / windows 7 64bit / Nwsgi 2.1 - web.config 配置错误
【发布时间】:2011-08-31 00:35:42
【问题描述】:

我从带有 NWSGI 2.1 的 IIS 7.5 Widows 7 64bit 收到“配置错误” - 对 NWSGI 使用默认 web.config

我认为 NWSGI 需要重新编译为 64 位,任何关于原因的建议!?!?

解析器错误消息:无法识别的属性“targetFramework”。请注意,属性名称区分大小写。

Source Error:

Line 5:      </configSections>
Line 6:      <system.web>
Line 7:          <compilation debug="true" targetFramework="4.0"/>
Line 8:          <httpHandlers>
Line 9:              <add verb="*" path="*.wsgi" type="NWSGI.WsgiHandler, NWSGI, Version=2.1.0.0, Culture=neutral, PublicKeyToken=41e64ddc1bf1fc86"/>

源文件:C:\inetpub\wwwroot\HelloWorld\web.config 行:7

【问题讨论】:

    标签: web-config ironpython iis-7.5


    【解决方案1】:

    检查运行应用程序的应用程序池的框架版本

    【讨论】:

    • 我将 DefaultAppPool 设置为使用 .Net Framework v4.0 - 工作正常,谢谢
    • 您可以尝试在 IIS 管理器中将应用程序池的“启用 32 位应用程序”属性更改为 true。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-06-03
    • 2020-04-10
    • 2014-05-23
    • 1970-01-01
    • 2018-02-14
    相关资源
    最近更新 更多