Error codes you may encounter as you work with PC*MILER Rail-Connect are listed below.


NUMBER
ERROR CODE
ERROR MESSAGE
0
PCRS_OK
Success
-1
PCRS_NOTOK
Generic Failure
-104
PCRS_LOADNETWORK
Could not load the network database.
-107
PCRS_BADNETDIR
Invalid 'NetDir' setting in INI file.
-108
PCRS_EXPIRED
License infraction: License has expired.
-112
PCRS_NO_LICENSE_FILE
No license file exists.
-114
PCRS_USER_LIMIT_EXCEEDED
User limit exceeded.
-201
PCRS_BADARG
Invalid argument (or pointer) passed into API function.
-202
PCRS_INVALIDPTR
Invalid pointer
-209
PCRS_INVALIDTRIP
Invalid trip ID
-211
PCRS_TRIP_NOTOK
Internal trip problem (possible creation error).
-213
PCRS_SERVER_NOTOK
Internal server problem (possible creation error).
-214
PCRS_APPDICTERR
Error getting App from AppDict.
-301
PCRS_BADRRSCAC
Bad railroad abbreviation given.
-303
PCRS_BADRRLOC
Bad location/railroad combination.
-317
PCRS_INVALID_CITY_LEN
City Length is too long.
-319
PCRS_INVALID_ERPC_LEN
ERPC Length is too long.
-320
PCRS_INVALID_SPLC_LEN
SPLC Length is too long.
-321
PCRS_INVALID_FSAC_LEN
FSAC Length is too long.
-322
PCRS_INVALID_R260_LEN
R260 Length is too long.
-318
PCRS_INVALID_STATE_ABBREV
Invalid State Abbreviation.
-323
PCRS_NOJUNCTIONS
No Junctions found
-324
PCRS_ERR_BADRRJCT
Inbound and Outbound Railroads do not junction at this location.
-304
PCRS_BADSTOPINDX
Invalid stop number given.
-305
PCRS_TOOFEWGEOCHARS
Insufficient characters given for geocode lookup.
-306
PCRS_STOPNOCLEANUPS
No cleanups found for one or more stops in this trip.
-307
PCRS_INVALIDPLACE
Invalid place name (station/state or geocode not found).
-308
PCRS_BADORIGSTOP
Invalid Origin stop information.
-311
PCRS_BADGEOINDX
Invalid geocode result index specified.
-312
PCRS_BADPREVRRLOC
Bad location/RR: Previous RR does not serve this location.
-314
PCRS_CONVFROMFSACERR
RR is required to convert from FSAC geocode to another type.
-315
PCRS_CONVTOFSACERR
RR is required to convert a geocode to FSAC code.
-316
PCRS_NOINTERMODAL
Station does not have intermodal service.
-325
PCRS_ERR_STATION_EXCLUDED
Station Excluded because option is set to exclude intermodal only stations.
-404
PCRS_TRIPNOTREADY
The trip is not ready to calculate.
-405
PCRS_ROUTINGERROR
Calculation failed: Portions of the trip are invalid.
-406
PCRS_NOTRIPLEGS
This trip contains no legs ... check for previous error.
-407
PCRS_NOTENOUGHSTOPS
Not enough stops to calculate the trip.
-409
PCRS_BADAUTORTEINDX
Invalid AutoRoute index specified.
-410
PCRS_NOAUTOROUTES
No AutoRoutes have been generated.
-501
PCRS_REPORTERR
Error getting report information.
-502
PCRS_BADRPTROW
Invalid report line number requested.
-601
PCRS_MAPCREATERR
Error creating map window.
-602
PCRS_MAPREADERR
Error reading map initialization file.
-603
PCRS_MAPRESIZEERR
Error resizing the PC*MILER Rail map (child) window.
-604
PCRS_MAXGRROUTES
Cannot add route to map. Max routes already added.
-605
PCRS_GRRTE_NOTFOUND
Cannot find given route in map.
-701
PCRS_PINERR
Error mapping pin/line.
-702
PCRS_PINGEOERR
Error geocoding pin or line location.
-608
PCRS_MAP_INVALID_IMPORTANCE
Invalid Importance
-610
PCRS_MAP_INVALID_LOCATION
Invalid Location
-609
PCRS_MAP_INVALID_STYLE
Invalid Style
-607
PCRS_MAP_INVALID_OBJID
Internal Map Error
-606
PCRS_MAPLAYER_NOTFOUND
Layer on Map Not Found