views:

30

answers:

2

hello,

I made a web application that I connect to it from a mobile device and I used Ajax Request Object but the status of the object returned data is 500

and after search I found that this means Internel Server Error 500

Is there any suggestions what may be the reason ??

thanks

+1  A: 

First of all, you should look your server's error log. It will give you informations about the error (depeding the verbose level given in the configuration)

Aif
Hello, I saw the error log c:\windows\log files\httperr\httperr1.log (windows 7) and I found this error 2010-06-10 10:48:48 ::1%0 49802 ::1%0 2869 - - - - - Timer_ConnectionIdle - – Do you know what this means ??
PHPgenerator
looks like iis webserver, I don't know it at all. Try google timer_connectionIlde.
Aif
I searched for it and found that it means too long to connect with server butI think this is not my error due to1- when I run my application from VS it works well2- when I run my application from localhost in browser it doesnot work (I am using MVC and pointing to action)
PHPgenerator
A: 

It could be that the data sent and the data type expected do not match.

Raju
all what I send to the server is am image
PHPgenerator