Click here to Skip to main content
Rate this:
 
Please Sign up or sign in to vote.
See more: ASP.NET Ajax WebService
Hi,

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
Posted 1-Jun-12 0:09am
Comments
Member 11749619 8-Jun-15 9:28am
   
Hi,
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??
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

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"[^]
  Permalink  
Comments
Nilesh Patil Kolhapur 1-Jun-12 5:52am
   
Thanks for answer
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 4

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
  Permalink  
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 2

  Permalink  
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 3

Hi,

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: http://www.benhblog.com/2008/09/method-error-500-and-ajax.html
  Permalink  

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

  Print Answers RSS
Top Experts
Last 24hrsThis month


Web01 | 2.8.160204.4 | Advertise | Privacy
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100