Page 9 of 32 FirstFirst 12345678910111213141516171819 ... LastLast
Results 81 to 90 of 320

Thread: GPSTracker on home server

  1. #81
    Newbie Cerberus's Avatar
    Join Date
    Nov 2003
    Posts
    54
    Ah ha! Mine constantly says connected!

    I had wrongly thought it referred to the
    Gps.

    Do i need to turn the ping option on?
    Will that make it realise it isnt really
    Connected?

    Cheers!
    C

  2. #82
    Maximum Bitrate
    Auto Apps:loading...
    lambosprit's Avatar
    Join Date
    Sep 2006
    Location
    UK
    Posts
    809
    Quote Originally Posted by Cerberus View Post
    Ah ha! Mine constantly says connected!

    I had wrongly thought it referred to the
    Gps.

    Do i need to turn the ping option on?
    Will that make it realise it isnt really
    Connected?

    Cheers!
    C
    Good, we've found the issue. The problem is how to fix it. Ping doesn't do what you suggest. Its just there to see if the server is on. So you might have a network connection but have switched off your server. This problem is that your windows thinks you have a network connection but its not one that connects to the internet.

    Can you try the following. Look at what connections you have and disable them and only leave the one you need enabled. If you say "but I only have 1" then we need to find out why its allways connected. Can you post what it is and what it does.

    [Edit] had a play and i've added a check now for internet. It looks for www.microsoft.com and if finds it assumes there is a network otherwise fails network check.
    Attached Files Attached Files

  3. #83
    Newbie Cerberus's Avatar
    Join Date
    Nov 2003
    Posts
    54
    Quote Originally Posted by lambosprit View Post
    Good, we've found the issue. The problem is how to fix it. Ping doesn't do what you suggest. Its just there to see if the server is on. So you might have a network connection but have switched off your server. This problem is that your windows thinks you have a network connection but its not one that connects to the internet.

    Can you try the following. Look at what connections you have and disable them and only leave the one you need enabled. If you say "but I only have 1" then we need to find out why its allways connected. Can you post what it is and what it does.

    [Edit] had a play and i've added a check now for internet. It looks for www.microsoft.com and if finds it assumes there is a network otherwise fails network check.
    I only have the wireless and the wired. Neither of which have an IP when i'm off the driveway...

    I might be confused... but...

    If the client believes it has network then it sends the xml data and marks
    it as 'true' ?

    Does the server reply back to acknowledge receipt?

    Shouldn't your check for internet check the tracking server rather than
    microsoft? Because if the client has internet but the server is offline
    then the xml data is just going into a black hole. Unless there is an ack
    from the tracking server?

    Cerbie is confused...

    C

  4. #84
    Maximum Bitrate
    Auto Apps:loading...
    lambosprit's Avatar
    Join Date
    Sep 2006
    Location
    UK
    Posts
    809
    Quote Originally Posted by Cerberus View Post
    I only have the wireless and the wired. Neither of which have an IP when i'm off the driveway...

    I might be confused... but...

    If the client believes it has network then it sends the xml data and marks
    it as 'true' ?

    Does the server reply back to acknowledge receipt?

    Shouldn't your check for internet check the tracking server rather than
    microsoft? Because if the client has internet but the server is offline
    then the xml data is just going into a black hole. Unless there is an ack
    from the tracking server?

    Cerbie is confused...

    C
    I dont know how microsoft decides whether it has a network connection or not so I dont know if its ipaddress dependant. Anyway i think with the changes I've made it shouldn't matter.

    The client tries to sync with the server and if it doesn't connect then it gets marked as false. This has a hole in that it assumes the server not only recieves the data but has stored it successfully.

    The problem here is that the false ones are only resent when a network becomes available again and because it never goes away, it never comes back, so it never resends...if that makes sense. The new exe allways tries to resend in the period set so regardless of whether a network appears or not it will resend any false. So in short it should work alot better. Try it and report back please.

  5. #85
    Newbie Cerberus's Avatar
    Join Date
    Nov 2003
    Posts
    54
    Quote Originally Posted by lambosprit View Post
    I dont know how microsoft decides whether it has a network connection or not so I dont know if its ipaddress dependant. Anyway i think with the changes I've made it shouldn't matter.

    The client tries to sync with the server and if it doesn't connect then it gets marked as false. This has a hole in that it assumes the server not only recieves the data but has stored it successfully.

    The problem here is that the false ones are only resent when a network becomes available again and because it never goes away, it never comes back, so it never resends...if that makes sense. The new exe allways tries to resend in the period set so regardless of whether a network appears or not it will resend any false. So in short it should work alot better. Try it and report back please.
    Ahhhhh. Yes, makes sense now

    I will put it on the PC before I drive home from work and see what happens.

    Do you think I will suddenly get 3 days of data sent across? I haven't
    seen any data set to false in the xml on the client. Maybe you aren't
    holding data in the xml until it is sent tho?

    I'm thinking too much. I'll try it tonight on way home and let you know

    C

  6. #86
    Newbie Cerberus's Avatar
    Join Date
    Nov 2003
    Posts
    54


    This new version errors. Didn't see exactly what the error was as I
    was driving and I forgot to restart the app when I got home.

    I do recall I had an option to continue and an option to quit. If
    I chose continue it just errored again. Quit, closed the app. The
    error said soemthing about 'root' *shrug*

    I'll get a better look at it later

    C

  7. #87
    Maximum Bitrate
    Auto Apps:loading...
    lambosprit's Avatar
    Join Date
    Sep 2006
    Location
    UK
    Posts
    809
    Any news cerberus. I've tried it myself now and it works flawlessly for me. If you can post the message you get I can help fix it.

  8. #88
    Newbie Cerberus's Avatar
    Join Date
    Nov 2003
    Posts
    54
    Ooops! sorry I forgot all about it!

    Error is "Root element is missing"

    Hope that makes more sense to you than me!



    C

  9. #89
    Maximum Bitrate
    Auto Apps:loading...
    lambosprit's Avatar
    Join Date
    Sep 2006
    Location
    UK
    Posts
    809
    Quote Originally Posted by Cerberus View Post
    Ooops! sorry I forgot all about it!

    Error is "Root element is missing"

    Hope that makes more sense to you than me!



    C

    it does. I dont know why it does it because I haven't been able to replicate it in debug but when it tidies up the xml (ie deletes older than 30 day data) sometimes it corrupts it.

    To fix (and I know its bad) either delete or rename your tracking.xml. Can you send me the xml file so I can see what's corrupted. As I say I cant reproduce so any info is good.

  10. #90
    Newbie Cerberus's Avatar
    Join Date
    Nov 2003
    Posts
    54
    Quote Originally Posted by lambosprit View Post
    it does. I dont know why it does it because I haven't been able to replicate it in debug but when it tidies up the xml (ie deletes older than 30 day data) sometimes it corrupts it.

    To fix (and I know its bad) either delete or rename your tracking.xml. Can you send me the xml file so I can see what's corrupted. As I say I cant reproduce so any info is good.
    Yep, Dumped the XML file and it created a new one and ran fine.

    It doesn't say 'connected' when I'm away from home anymore. But it
    doesn't seem to when I'm home and connected to the wireless either.

    Didn't get any pins from the journey I just took. But I was only out
    for 5 minutes (corner shop, should have walked really but I had a
    good excuse to drive!). Except the now customary driveway pin
    of course!

    Dodgy xml attached

    C
    Attached Files Attached Files

Similar Threads

  1. it works.. auto syncing when you arrive home
    By collegeboyslive in forum General MP3Car Discussion
    Replies: 4
    Last Post: 11-29-2007, 06:36 PM
  2. Home
    By stasik-a4 in forum Map Monkey
    Replies: 1
    Last Post: 06-01-2007, 12:55 AM
  3. Image server
    By qwertylol in forum Software & Software Development
    Replies: 1
    Last Post: 01-10-2007, 03:02 AM
  4. MS Server 2003 help
    By nappyjim in forum Off Topic
    Replies: 3
    Last Post: 05-25-2006, 04:22 PM
  5. Replies: 2
    Last Post: 10-08-2005, 03:01 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •