i should add that i have a machine key in the config. Just not sure what else to try. i have tried clearing the cache and Temp files on the server as well.
This error occurs when the machine key used to de-crypt the credentials is different from the one used to encrypt them. I am guessing that the machine key was not specified on the local environment or is different from the one on the server.
Please run this query on the database.
DELETE from tblBigTable WHERE StoreName = 'EPiServer.MarketingAutomationIntegration.Pardot.Contracts.DataClasses.PardotSettings'
This will remove the credentials from the database. You can then re-add the credentials on the server.
We will be releasing a fix next week where this error will not appear anymore. Instead, in a scenario where the machine keys are different between environments, the credentials will be automatically deleted from the database and will have to be re-entered.
To avoid this scenario, make sure that the machine keys specified in the web.config are same in the different servers.
We are running into an issue where locally everything works, but when deploying to servers, it results in a following error. It appears by the stack that pardot is trying to unprotect. Below is the following error. Any help would be greatly appreciated.