In ArcGIS Pro, if I share as a web layer a smaller file like US States, everything works perfectly.
However, if I share as a web layer a larger file like US Counties, it gives the following error: "Publishing tool execution failed" and in Portal Admin Log I see: "Unable to evaluate xpath expression: ServerType"
If I just upload it directly from Portal > Content > New Item. Larger files like US Counties works just fine.
Any thoughts?