Setting @upload_first to 'true' requires the publication to be at publication_compatibility_level of '80RTM' or higher. Use ...