Thursday, November 20, 2008
You are here:  Forum
 
 
  Forum  Discussions  Google Map GPS ...  getLocation: 0
Disabled Previous
 
Next Disabled
New Post 5/10/2008 8:10 AM
  burdol
3 posts
No Ranking


getLocation: 0 

I am using the .NET version ......
i installed LBSMidlet7 on nokia n95 ....after asking to the send and receive data it waits for a while a then shows a message "getlocation:0" and also "getUrlResponseCode:500".
I have changed the upload url in the midlet to (as i m using the .NET version to) http://www.gpstracker.co.in/GPSTracker/UploadGpsLocations.aspx...please help as the information is not being uploaded.......I m in a real rush as this project is part of my curriculum...so if u could reply as soon as possible it would be of great help.
 
Thanks
Rishabh

 
New Post 5/10/2008 1:29 PM
  burdol
3 posts
No Ranking


Re: getLocation: 0 
Modified By burdol  on 5/10/2008 3:30:38 PM)

I got to resolving the getlocation:0 error which i found out only appears when there is no gps data......but the getUrlResponseCode:500 remains.........plz help

 
New Post 5/10/2008 1:43 PM
  nickfox
36 posts
No Ranking


Re: getLocation: 0 

Can you please try this:

1) Using your cell phone, browse to this page and download HttpTest:

http://www.websmithing.com/gpstracker/phone/

This will display 200 and the url above if things are working correctly.

 It will also create a new route on the test GPS Tracker page:

http://www.websmithing.com/gpstracker/displaymap2.aspx

2) also download the GPSTest.jad and make sure that the GPS is woking on the phone. the latitude and longitude will be displayed on the phone.

 

nick

 
New Post 5/10/2008 1:58 PM
  nickfox
36 posts
No Ranking


Re: getLocation: 0 

When I try this with my web browser:

http://www.gpstracker.co.in/GPSTracker/UploadGpsLocations.aspx?lat=1.1&lng=2.2&mph=3&dir=0&mi=0&dt=Wed%20Oct%2024%2011:19:17%20UTC%202007&lm=0

I get:

Cannot insert the value NULL into column 'LastUpdate', table 'gpstracker.dbo.gpslocations'; column does not allow nulls.

This tells me that the default value for that column has not been set, you need to set the default value to GETDATE()

nick

 

 

 
New Post 5/11/2008 6:33 PM
  burdol
3 posts
No Ranking


Re: getLocation: 0 

the application started functioning as it should.......it was the getdate() constraint......after i added it to the database it was good to go

Thanks A Ton nick u been of great help.............

Regards

Rishabh

 
Disabled Previous
 
Next Disabled
  Forum  Discussions  Google Map GPS ...  getLocation: 0
Our Sponsors
Privacy Statement | Terms Of Use