CBBing
V2EX  ›  .NET

ASP.NET 网站发布到 IIS 出错?

  •  
  •   CBBing · May 20, 2016 · 3394 views
    This topic created in 3821 days ago, the information mentioned may be changed or developed.

    环境是 Windows server 2012 R2

    11 replies  •  2016-05-20 20:05:10 +08:00
    CBBing
    CBBing
    OP
    May 20, 2016
    1
    错误内容
    CBBing
    CBBing
    OP
    May 20, 2016
    2
    我以为是没有下.NET Framework 4.5,结果又出现了
    manhere
    manhere
    May 20, 2016 via iPhone❤️1
    3
    去掉红字 targetframework 那个配置
    CBBing
    CBBing
    OP
    May 20, 2016
    4
    @manhere 去掉?删掉吗?
    CBBing
    CBBing
    OP
    May 20, 2016
    5
    @manhere 删掉了,还是不行
    dong3580
    dong3580
    May 20, 2016 via Android❤️1
    6
    看看配置的程序池,是经典模式还是传统模式,改一下试试。
    CBBing
    CBBing
    OP
    May 20, 2016
    7
    @dong3580
    应该是集成模式吧
    jsq2627
    jsq2627
    PRO
    May 20, 2016❤️1
    8
    安装 .NET 4.5.2 不是 4.5
    CBBing
    CBBing
    OP
    May 20, 2016
    9
    @jsq2627 好我试试
    CBBing
    CBBing
    OP
    May 20, 2016
    11
    @manhere
    @dong3580
    @jsq2627
    @huobazi 多谢各位,已经解决了,我之前在自己电脑没有报错是因为 VS 里已经装了,而 Windows server 2012 并没有自带 4.5.2,所以报错了。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   3756 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 10:04 · PVG 18:04 · LAX 02:04 · JFK 05:04
    ♥ Do have faith in what you're doing.