Click here to Skip to main content
15,886,919 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have a webservice which is script enable. I try to get data from server by jquery ajax method with json format. when I run it in local machine it works fine but not after host in server. I have catch the bug by fire bug "500 Internal Server Error". I am trying to solve it to search in google but no solution can solve my problem.
Posted

1 solution

HI

Sometimes this kind of error is given for any exception in service.
Please check that your service code running without any exception in hosting environment..

also can add this in your service's web.config file
C#
<servicedebug includeexceptiondetailinfaults="true" />


Hope this will help you.
 
Share this answer
 
v2

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