Failed to Publish Documents: Part URI cannot contain a Fragment Component
Cause: Using the # symbol in the Display name
Resolution: Simply remove the # symbol from the Display name>Then try and publish to web again
See attached Screenshot for clarification
If my answer helped you today, please give my post a like and be sure to mark the 'Accept Solution' button to help others find the answer! Cheers Andy Gjertsen