Click here to Skip to main content
15,115,667 members
Please Sign up or sign in to vote.
1.20/5 (2 votes)

I have been using the AjaxToolKit's DynamicPopulateExtender with
success but just ran into an issue. I begin to receive a "Web Service
call failed: 500"

how to solved this problem

Thank u
Updated 4-May-20 6:37am
Member 11749619 8-Jun-15 9:28am
I'm using wordpress in my site. now i had a problem to open my site."500 internal server error" is appeared.
how to solve this??

When the error is 500, that means it's an internal error, meaning internal to the service - the service threw an exception that was not caught.
Look in the Windows event logs on the server to see what went wrong.

Also, try:
- Go to menu Tools/Internet Options in your IE.
- Click on the Advanced tab, uncheck "Show friendly HTTP error messages" option and click Ok.
- Try accessing your web page again. Now you will see much more meaningful error message which will help you to troubleshoot the problem.

Other few possibilities:
There might be an issue in the way you have hosted your service. May be multiple config files?
Further, since you have not shared the type of webservice or what framework application it is, it can also be a cross domain policy issue after hosting on other server.

See details here: Microsoft Support: Error message when you visit a Web site that is hosted on IIS 7.0: "HTTP Error 500.0 – Internal Server Error"[^]
Nilesh Patil Kolhapur 1-Jun-12 5:52am
Thanks for answer

There are three reasons can cause error 500.

1. In WebService add attribute [System.Web.Script.Services.ScriptService()] to class.
2. If you use another asp controls in the same aspx page add in

3. If yet you get error - try ValidateRequest="false" in the tag

Please check the following link about this error:
Hi All,

Thanks For Reply. I solved this error by just increasing jsonSerialization size in web config.
i posted a Tips[^] on this forum take a look.

Thank You

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