【问题标题】:can't retrieve web.config while hosting the application on IIS在 IIS 上托管应用程序时无法检索 web.config
【发布时间】:2019-08-29 17:14:47
【问题描述】:

在 IIS 管理器中点击连接字符串时出现异常

"执行此操作时出错 细节: 文件名:\?D:\Work\kxbedbooker\web\Kxbnb\web.config 错误: "

【问题讨论】:

  • 请添加有关您的问题的更多信息。
  • 您需要出示您的web.config
  • 检查您使用的开发版本以及机器上是否安装了框架。

标签: asp.net sql-server iis


【解决方案1】:
Try This see if it work, the issue is may be the framework version.                

  1.Try to open IIs.
  2.Go to the Application pool.
  3.Open the Advanced Settings of Application Pool.
  4.Change the .Net CLR version from 'V4.0' to 'No Managed Code'.

Enable Directory Browser as well in IIS.

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-02-24
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-08-28
    相关资源
    最近更新 更多