When I publish an MSD to ArcGIS Server 10.0 manually in ArcCatalog (through right-click context menu) or through the web interface, the service is created properly.
When I use arcpy.mapping.PublishMSDToServer, the service is published, but it lists no layers or tables when using the REST API. I've tried creating MSD files manually and with arcpy.mapping.ConvertToMSD, but the results are the same.
The map document used to create the MSD has a single layer with a single join to a table.
Does anyone have an idea why layers are missing only in the map service created from PublishMSDToServer or suggestions for a work-around?