PopupControlExtender Web服务调用失败500 [英] PopupControlExtender web service call failed 500

查看:97
本文介绍了PopupControlExtender Web服务调用失败500的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我对PopupControlExtender有问题.我在aspx页面中使用该PopupControlExtender调用了Web服务.在开发服务器上工作正常.但是它不能在优质服务器中工作.服务器配置和ajaxtoolkit是更新的.但是我找不到解决办法.

由于webservice调用失败500,它给出错误消息.aspx页面无法引用该质量服务器中存在问题的asmx文件.我需要以哪种方式专注于这个问题.如果我直接运行asmx页面,它也可以在优质服务器中运行,但是aspx页面无法引用.

我也想这样给
DynamicServicePath =〜/Hello.asmx"

请调查一下并为我提供解决方案

Hi,

I have an problem with PopupControlExtender. I call an web service using that PopupControlExtender in aspx page. It''s working fine in development server. But it''s not working in quality server. The server configurations and ajaxtoolkit is an updated one. But i Can''t able to find an solution.

It give the error message as webservice call failed 500.The aspx page cant able to refer the asmx file thats the problem in that quality server. In which way i need to concentrate on this problem. If i run the asmx page directly it runs in quality server also but the aspx page can''t able to refer.

I am also trying to give like this way
DynamicServicePath="~/Hello.asmx"

Kindly look into this and provide me an solution

推荐答案

尝试此链接....它在VB中,但是有一个 http://forums.asp.net/p/1355715/2780265.aspx#2780265 [ ^ ]

祝你好运:)
Try this link.... It is in VB, but there is a converter here[^] .

http://forums.asp.net/p/1355715/2780265.aspx#2780265[^]

Good Luck :)



这是由于Web服务调用后面的SQL查询中返回的数据过多,所以Web服务返回错误.对web.config文件的简单更改可能会增加返回数据的大小限制.
在您的web.config文件中添加以下代码
Hi,
this is caused because too much data return in the SQL Query behind the web service call, so the web service returns an error. A simple change to the web.config file can increase the size limit of data returned.
Add following code in your web.config file
<system.web.extensions>
  <scripting>
    <webservices>
       <jsonserialization maxjsonlength="5000000" />
    </webservices>
  </scripting> 
</system.web.extensions> 



希望对您有帮助
祝你好运
快乐编码:)



Hope this will help you
Best Luck
Happy Coding:)


这篇关于PopupControlExtender Web服务调用失败500的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆