Hi Peoples,
Summary:
If you are unfortunate enough to create a feature class where the aliases for two fields are the same, or there is an alias that is the same as another field name [thus the table appears to have two fields of the same name] the service will publish to ArcGIS Server – unless you have WFS capability enabled – in which case it will fail with no real error message.
Description:
First off:
If there is a field alias equal to another field, when the layer is added to a document and is published to ArcGIS Server it will publish – but if the WFS capability is added, the publishing will fail [ without any decent error messages – very difficult to track down].
There have been a number of enhancements logged to improve the error messages, and not allow this sort of thing to occur.