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

关于httpWebRequest请求失败异常:The specified call count is not a number

2012-10-30 
关于httpWebRequest请求失败错误:The specified call count is not a number我在做一个163的回复功能,所有

关于httpWebRequest请求失败错误:The specified call count is not a number
我在做一个163的回复功能,所有Cookie和Post的数据都和网页上发送的一样,就是发送不成功,获取影响的字符串:
//#DWR-REPLY
if (window.dwr) dwr.engine._remoteHandleBatchException({ name:'org.directwebremoting.extend.ServerException', message:'The specified call count is not a number' });
else if (window.parent.dwr) window.parent.dwr.engine._remoteHandleBatchException({ name:'org.directwebremoting.extend.ServerException', message:'The specified call count is not a number' });

总是出现在面的错误。我在网上找了半天说什么把Content-Type的值改为 text/plain ,没用,还有说是因为callCount=1后面要加&符号,以区别这是一个变量=值的格式,我也在每个参数后面加了,还是不行,实在想不到有什么问题了
请求内容格式:
callCount=1&
scriptSessionId=${scriptSessionId}630&
c0-scriptName=BlogBean

参数没写完,反正格式就是这样,不管我怎么改都是这个错误,最后我直接只要了callCount=1这个参数,结果还是一样的,我都不知道是不是格式原因造成的这个错误

[解决办法]
既然有能力做发贴机的人,那我没能力帮你.

热点排行