Provide a valid string to the CommandParameters property for the script command or the SQL Server script command object. ...

Provide a valid string to the CommandParameters property for the script command or the SQL Server script command object. It should contain matching service setting delimiters '@.' Use '@@' (double @) to escape the literal character '@'. Then try again.