Hi!
I am trying to save a xml-file (for a infopath form) to a sharepoint form library programmatically, but i get an error message for the add() method:
"The security validation for this page is invalid. Click Back in your Web browser, refresh the page, and try your operation again."
But this doesnt work at all. Does anyone know what could cause this error?
The row that generates the error is:
destFiles.Add(destURL, binFile, true);