日期:2014-05-18  浏览次数:20484 次

加急,IIS 配置json 长度节 站点 出错
系统环境,IIS7.0 ,winserver2008 .net4.0
web.con中添加:
  <system.web.extensions>
  <scripting>
  <webServices>
  <jsonSerialization maxJsonLength="1024000" />
  </webServices>
  </scripting>
  </system.web.extensions>
出错提示如下:
Detailed Error Information
Module IIS Web Core
Notification Unknown
Handler Not yet determined
Error Code 0x80070032
Config Error The configuration section 'system.web.extensions' cannot be read because it is missing a section declaration
Config File \\?\C:\inetpub\tickets\web.config
请问怎么解决,是什么原因引起的?

------解决方案--------------------
试试:<jsonSerialization maxJsonLength="1024000" ></
jsonSerialization>