Apr 15, 2009

Problem with workflow association

I was getting the following error when trying to associate a custom workflow to a list:

Unable to validate data. at System.Web.Configuration.MachineKeySection.GetDecodedData(Byte[] buf, Byte[] modifier, Int32 start, Int32 length, Int32& dataLength)
at System.Web.UI.ObjectStateFormatter.Deserialize(String inputString)

After many hours of searching and reading, I came across this post: http://stevepietrek.com/2008/02/18/oops-mistake-in-custom-applicationmaster/

So it turns out any changes to the application.master can break certain _layout pages like the association pages for workflows. Microsoft recommends not touching the application.master for good reason, but our client requires complete visual consistency so we have to give it to them. Now I have a simple.master that I apply to problematic _layout pages that can't handle the changes to application.master.

No comments:

Post a Comment