今天遇到的,记录下来:
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
第二个问题:
Login failed for user 'IIS APPPOOL\ASP.NET v4.0'
解决方案:应用程序池-》选择网站=》高级设置=》在弹出框找到“标识”,修改成“local system”