I'm trying to publish a GP result and the analyser gives the following error:
| SEVERITY | STATUS | CODE | DESCRIPTION | NAME | TYPE |
| High | Unresolved | 24032 | Data source used by Script LFP Setup Basic is not registered with the server and will be copied to the server: C:\Users\jpm\AppData\Local\ESRI\Desktop10.2\Staging\arcgis on ls8-xyz_6080 (admin)\0\v101\ls8-xyz.sde | LFPSetupBasic | Tool |
The data source is hard coded into the script:
INWorkspace = r"Database Connections\ls8-xyz.sde"
The question is, why does Arcmap think this data source is different? I have registered this GDB on the server and have published a few scripts over the past few days without problems. Is it matching on just the sde file path? I've had problems in the past where a connection file name had different case, so was flagged as a different datasource, even though the connection details were the same. Why can't Arcmap open up the file and compare the connection details instead?