Deployment error: failed to load due to invalid xml: Name cannot begin with ‘%’

The situation when I come across this error is during the deployment and activation of a master page. The problem is that I added the .masterpage file as an element manifest rather than an element file in the Feature.xml definition that deploys the master page to a site collection.

The solution:

Add the .masterpage file as an element file not as a element manifest in the Feature.xml definition!

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: