Results 1 to 1 of 1

Thread: InvalidOperationException: Travel Time data is not current

  1. #1
    Join Date
    Jun 2005
    Location
    Brisbane
    Posts
    72

    Default InvalidOperationException: Travel Time data is not current

    Getting "The travel time data is not current" error while running an Xact/Xpac script?


    Name:  XactScriptError.png
Views: 170
Size:  36.1 KB


    It is a requirement for the Travel Times to have been calculated in HAULNET before running any COM methods that rely on Travel Times.
    The COM methods do not force the calculation of Travel Times nor is there currently any way to force these to be updated via COM.

    So the calculation of Travel Times need to be triggered in HAULNET before the scripts will work. To do this:

    After stepping through the Import, Interpret and Rationalise phases, in the Analyse phase:
    • Set the Objective to Quickest Path (this makes it calculate travel times)
    • Select any start and end location
    • Select any Truck Type
    • Click the "Find Route" button


    If paying close attention the "Saving travel time calculations" progress bar can be spotted.
    Last edited by zdamant; 24-Sep-2014 at 11:49 AM. Reason: Change "Haul Network" to "HaulNet"

Similar Threads

  1. Travel time
    By DPrior in forum Scripting Forum
    Replies: 0
    Last Post: 01-Jun-2009, 09:38 AM
  2. Travel time distribution
    By Claudia Alfaro in forum Talpac
    Replies: 2
    Last Post: 18-Feb-2009, 12:22 AM
  3. Travel Time COM Object Location
    By Gregory Lister in forum XPAC
    Replies: 0
    Last Post: 28-Sep-2007, 03:46 PM

Tags for this Thread

Posting Permissions

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