I'm trying to to add a raster file using a dynamic workspace based on this example (Local server dynamic workspace raster | ArcGIS for Developers )
and i'm getting this exception
"ArcGISWebException: Unable to find the specified 'dataSourceName' in 'dataSource' for dynamic dataLayer with 'id': 0."
any ideas on what #i'm doing wrong?