正常步骤发布网站,出现错误
错误信息如下:
Configuration Error
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 'type'.
Source Error:
Line 11:
Line 12:
分析:
一看就为Configuration Error
解决方法:配置asp.net的运行版本,使之为2.0就可正常运行了。步骤:IIS该虚拟目录属性—〉ASP.NET—ASP.NET Version设为2.0。
ASP1.1与ASP.NET2.0版本共存时需要注意此问题。