Hello, I have published a map service on to the GIS server. I can see the service in the ArcGIS Server Manager. I have imported layers from the service in to my custom web app. Now I am trying to change the Maximum Number of Records Returned by server from 2000 to 4000. It got reflected on to my web app, I can see 4000 records in the table. But when I saved and restarted the service after changing the limit, it gave an error:
Service Started with errors.
<MapServerName>:
Instance of service <MapServerName> started with errors. The Layer:'Class 1' in Map: 'Map' is invalid.
There is no Class 1 named layer in my map. I don't understand what is the problem. When I changed back the limit to 2000 and pressed Save and Restart button, it gave the same error. But my Web app is working fine. All layers are loaded.