a collection of technical fixes and other randon stuff

Spodworld

  • Join Us on Facebook!
  • Follow Us on Twitter!
  • LinkedIn
  • Subcribe to Our RSS Feed

Error message: SetParameters.xml was unexpected at this time

When deploying an MVC website to Windows Server, via the publish /MSDeploy technique, you may come across the error:

SetParameters.xml was unexpected at this time

 

Solution:

This is down to invalid characters in the folder name that you are deploying from. eg: spaces or parentheses.
In my case, i had saved two copies of the deploy and was installing from folder "Deploy (2)"

To fix, this simply rename the folder so there are no spaces of parentheses in the path and retry the deployment script.