Is there a maximum number of layers in MXD to publish to map service?

Discussion created by bpatterson on Oct 12, 2010
Latest reply on Mar 31, 2019 by erizk
I have an mxd that contains hundreds of layers that are all OFF and all point to the same feature class. (I have added a layer for each field in the feature class.) I am able to create an msd file and publish the map service but unfortunately the map service fails to start. Since the map service will only ever display one layer at a time, I was hoping that the number of layers would not matter. A couple of questions: is there a maximum number of layers I can have in the mxd? Is there a way to increase the startup timeout interval for starting the map service?

Any suggestions would be appreciated!


Barb Patterson