Hi, we need some more details. What is the path to your output? Is it a file, personal, or sde geodatabase? Or a shapefile?
Some old versions of file geodatabases are not supported, you would first need to upgrade the gdb by opening the geodatabase general properties and clicking the Upgrade button.
You also need at least a Standard ArcGIS for Desktop license, Basic doesn't have geodatabase attachment functionality.