首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > asp.net >

加急IIS 配置json 长度节 站点 出错,该怎么解决

2012-04-23 
加急,IIS 配置json 长度节 站点 出错系统环境,IIS7.0 ,winserver2008 .net4.0web.con中添加:system.web.e

加急,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>

热点排行