This function could end with error 000354. It is caused by invalid characters such as space, dash, etc in layer names. Consider using underscore in place of space. Easy way to change these characters is using Replace tool (CTRL+F) in Attribute Table of original shapefile but it is possible only in editing mode (Start Editing).
Download