Click here to Skip to main content
15,887,676 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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
Posted

Try this link.... It is in VB, but there is a converter here[^] .

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

Good Luck :)
 
Share this answer
 
Comments
dhakshan dev 1-Jun-11 9:09am    
Thanks for ur reply but it's not working
Ahsan Mirza 4-Jul-11 8:45am    
Its not working brother!
Rob Branaghan 4-Jul-11 9:59am    
When you are testing in development environment, what is your virtual path compared to when it is deployed?
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
HTML
<system.web.extensions>
  <scripting>
    <webservices>
       <jsonserialization maxjsonlength="5000000" />
    </webservices>
  </scripting> 
</system.web.extensions> 


Hope this will help you
Best Luck
Happy Coding:)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900