I am sending a startPlanSequence-Request to the xServer where I am receiving the following error message:
Code: Select all
An exception of type 'System.Web.Services.Protocols.SoapException' occurred in System.Web.Services.dll but was not handled in user code
Additional information: Could not plan sequence (Reason: Could not calculate distance table for dima with ID 1). Engine error: Locations not linked (code: -1023).
- 7 TransportOrderSteps (Ids: 1-7)
- 1 Vehicle
Code: Select all
seqVehicle.depotIdEnd = 10;
seqVehicle.depotIdStart = 10;
seqVehicle.dimaId = 1;
seqVehicle.dimaIdSpecified = true;
Code: Select all
basisDepot.id = 10;
Here some futher lines of code:
Code: Select all
SequencingParams sParams = new SequencingParams()
{
wrappedDistanceMatrixCalculation = new[] {new DistanceMatrixByRoad
{
dimaId = 1,
deleteBeforeUsage = true,
deleteAfterUsage = true,
profileName = "dimaTruck",
}},
availableMachineTime = 15,
availableMachineTimeSpecified = true
};