今天遇到的,记录下来:

1:Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive

 

解决方法:将framework设置成4.0.  选中你要发布的网站-》 选择右边的“基本设置”=》在出现的编辑网站对话框中选中“选择” 按钮=》 在出现的选择应用池程序对话框中选择 ASP.NET v4.0

 

IIS 7的error解决

 

第二个问题:

Login failed for user 'IIS APPPOOL\ASP.NET v4.0'

解决方案:应用程序池-》选择网站=》高级设置=》在弹出框找到“标识”,修改成“local system”

IIS 7的error解决

 

 

相关文章:

  • 2021-04-17
  • 2021-04-20
  • 2021-12-23
  • 2021-08-19
  • 2021-10-23
  • 2021-10-22
猜你喜欢
  • 2021-06-11
  • 2021-06-02
  • 2021-11-27
  • 2022-12-23
相关资源
相似解决方案