Good Good Study,Day Day Up!
明日月更明!
posts - 3,comments - 5,trackbacks - 0

正常步骤发布网站,出现错误
错误信息如下:
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:   <configSections>
            Line 12:     <section name="nhibernate" type="System.Configuration.NameValueSectionHandler, System, Version=1.0.5000.0,Culture=neutral, PublicKeyToken=b77a5c561934e089" />
            Line 13:     <sectionGroup name="microsoft.web" type="Microsoft.Web.Configuration.MicrosoftWebSectionGroup">
            Line 14:       <section name="converters" type="Microsoft.Web.Configuration.ConvertersSection" requirePermission="false"/>
            Line 15:       <section name="webServices" type="Microsoft.Web.Configuration.WebServicesSection" requirePermission="false"/>

分析:
      一看就为Configuration Error
解决方法:配置asp.net的运行版本,使之为2.0就可正常运行了。步骤:IIS该虚拟目录属性—〉ASP.NET—ASP.NET Version设为2.0。
ASP1.1与ASP.NET2.0版本共存时需要注意此问题。
posted on 2006-10-14 23:31 keytoo 阅读(...) 评论(...) 编辑 收藏