I have create Na Routing service sample to test
but its gives error
"Routing error: Unable to complete operation unable to find atribute invalid Context"
but on arcgis info its works fine
i have attached gdb in Northkarachi.gdb.rar
for u testing
help me out what i m doing wrong
services properties
Network Layer: Route
Layer Type: esriNAServerRouteLayer
Impedance: Meters
Restrictions: Oneway, RestrictedTurn
Accumulate Attribute Names:
Attribute Parameter Values:
Use Hierarchy: false
Hierarchy Attribute Name:
Hierarchy Level Count: 0
Hierarchy Max Values:
Hierarchy Num Transitions:
Snap Tolerance: 0
Max Snap Tolerance: 5000
Snap Tolerance Units: esriMeters
Ignore Invalid Locations: true
Restrict U-Turns: esriNFSBAllowBacktrack
Output Spatial Reference: 32642
Find Best Sequence: false
Use Start Time: false
Start Time: Sat, 30 Dec 1899 08:00:00 GMT
Use Time Windows: false
Preserve First Stop: true
Preserve Last Stop: true
Output Line Type: esriNAOutputLineTrueShape
Directions Language: en-US
Direction Style Names: NA Desktop, NA Navigation
Directions Length Units: esriNAUMiles
Directions Time Attribute:
Network Analysis Classes:
Class Name: Stops
Field Name: Shape
Default Value:
Candidate Fields:
Field Name: Name
Default Value:
Candidate Fields: Name, Address, Label, Location, Stop, WayPoint, Description, Title, DepotName
Field Name: RouteName
Default Value:
Candidate Fields: RouteName, Route, RouteID
Field Name: Sequence
Default Value: 1
Candidate Fields:
Field Name: TimeWindowStart
Default Value:
Candidate Fields: TimeWindowStart1, TWStart1, FromTime1, FromTimeWindow1, FromTW1, From1, TimeWindowStart, TWStart, FromTime, FromTimeWindow, FromTW, From
Field Name: TimeWindowEnd
Default Value:
Candidate Fields: TimeWindowEnd1, TWEnd1, ToTime1, ToTimeWindow1, ToTW1, To1, TimeWindowEnd, TWEnd, ToTime, ToTimeWindow, ToTW, To
Field Name: SourceID
Default Value: -1
Candidate Fields: SourceID, SID, Source
Field Name: SourceOID
Default Value: -1
Candidate Fields: SourceOID, SOID
Field Name: PosAlong
Default Value: 0
Candidate Fields: PosAlong, PA, Pos
Field Name: SideOfEdge
Default Value: 2
Candidate Fields: SideOfEdge, SOE
Field Name: CurbApproach
Default Value: 0
Candidate Fields: CurbApproach, SideOfStreet, SideApproach, CurbSide, Curb
Field Name: Status
Default Value: 0
Candidate Fields:
Field Name: Attr_Meters
Default Value: 0
Candidate Fields: Attr_Meters, Meters
Class Name: Barriers
Field Name: Shape
Default Value:
Candidate Fields:
Field Name: Name
Default Value:
Candidate Fields: Name, Address, Label, Location, Barrier, Description, Title
Field Name: SourceID
Default Value: -1
Candidate Fields: SourceID, SID, Source
Field Name: SourceOID
Default Value: -1
Candidate Fields: SourceOID, SOID
Field Name: PosAlong
Default Value: 0
Candidate Fields: PosAlong, PA, Pos
Field Name: SideOfEdge
Default Value: 2
Candidate Fields: SideOfEdge, SOE
Field Name: CurbApproach
Default Value: 0
Candidate Fields: CurbApproach, SideOfStreet, SideApproach, CurbSide, Curb
Field Name: Status
Default Value: 0
Candidate Fields:
Field Name: FullEdge
Default Value: 0
Candidate Fields: FullEdge, IsFullEdge, BlockEntire
Field Name: BarrierType
Default Value: 0
Candidate Fields: BarrierType, BarType, BarrierTyp
Field Name: Attr_Meters
Default Value: 0
Candidate Fields: Attr_Meters, Meters
Class Name: PolylineBarriers
Field Name: Shape
Default Value:
Candidate Fields:
Field Name: Name
Default Value:
Candidate Fields: Name, Label, Locations, Barrier, Description, Title
Field Name: Locations
Default Value:
Candidate Fields: Locations, LocRanges
Field Name: BarrierType
Default Value: 0
Candidate Fields: BarrierType, BarType, BarrierTyp
Field Name: Attr_Meters
Default Value: 1
Candidate Fields: Attr_Meters, Meters
Class Name: PolygonBarriers
Field Name: Shape
Default Value:
Candidate Fields:
Field Name: Name
Default Value:
Candidate Fields: Name, Label, Locations, Barrier, Description, Title
Field Name: Locations
Default Value:
Candidate Fields: Locations, LocRanges
Field Name: BarrierType
Default Value: 0
Candidate Fields: BarrierType, BarType, BarrierTyp
Field Name: Attr_Meters
Default Value: 1
Candidate Fields: Attr_Meters, Meters
Network Dataset: RoadNetWork_ND
Network Attributes:
Meters
Usage Type: esriNAUTCost
Units: esriNAUMeters
Data Type: esriNADTDouble
Parameter Names:
Oneway
Usage Type: esriNAUTRestriction
Units: esriNAUUnknown
Data Type: esriNADTBoolean
Parameter Names:
RoadClass
Usage Type: esriNAUTDescriptor
Units: esriNAUUnknown
Data Type: esriNADTInteger
Parameter Names:
RestrictedTurn
Usage Type: esriNAUTRestriction
Units: esriNAUUnknown
Data Type: esriNADTBoolean
Parameter Names:
Network Sources:
Street
Element Type: esriNETEdge
Source Type:esriNSTEdgeFeature
ID: 1
RoadNetWork_ND_Junctions
Element Type: esriNETJunction
Source Type:esriNSTSystemJunction
ID: 3
RestrictedTurns
Element Type: esriNETTurn
Source Type:esriNSTTurnFeature
ID: 2
Supported Operations: Solve Route