Solved! Go to Solution.
I don't think it's the use or non-use of fields that matters here, although I see you are getting a Medium-level warning because the SHAPE field isn't detectable due to it being turned off in the layer properties. The error preventing you from publishing the service is the High-level one at the top of the Analyze list. You said that you converted the DWG data to File Geodatabase format; so you're saying that the underlying data sources for the polyline, polygon, and all of the annotation layers shown in your screenshot all exist within that same File Geodatabase? Where is that File Geodatabase stored? I think the causes in the documentation could actually apply. Check the length of your source paths for the polyline and polygon data layers (Source tab under layer properties) since those seem to be the culprits. If your path is too long for either of those layers, your service won't publish. You can register data sources with the ArcGIS Server to help reduce the length of the path so that publishing can occur. Otherwise, you may need to move your data up a few directories.
I have a SDE database and versions on it. I am trying to publish featureservice using arcpy but unable to publish since I am getting error 001270:Consolidating data failed while running the script.
The same mxd I am able to publish from arcmap. don't know the reason why I can't do it from arcpy.
I welcome if anybody has a solution ASAP.
@WilliamCraft @venkatprasadrao Was there a resolution found to this issue? I am experiencing the same error code after updating from 10.7.1 to 10.9.1 Enterprise running 10.8.2 ArcMap. Thanks