Thanks for the reply.
The "lyr.name" does not work on any machines as we are using 10.0. But the "replaceDataSource" does not work consistently between different builds of 10.0.
When we execute the script on a machine with the following credentials, the "replaceDataSource" function renames the Standalone Table to the dataSet name that we passed.
ESRI ArcCatalog 10.0 (Build 2414)
License: ArcInfo
However, when we execute the same script on machines the following credentials, the "replaceDataSource" function does NOT rename the Standalone Table to the dataSet name that we passed. The name remains the same as the original Standalone Table name from the MXD.
ESRI ArcCatalog 10.0 (Build 3200)
ArcGIS Desktop 10 Service Pack 2
License: ArcInfo
-or-
ESRI ArcCatalog 10.0 (Build 4000)
ArcGIS Desktop 10 Service Pack 4
License: ArcInfo
Do you have link to that bug report?
Thanks.