So this was a fun error. Took most of a day to figure out, well, to find an answer. I found it on an MSDN Forum so I decided to share it here since It was on page 4 of a Google search. Very agravating. The error I was getting was
The security validation for this page is invalid. Click Back in your Web browser, refresh the page, and try your operation again.
when I was trying to SPListItem.RoleAssignments.Add(SPRoleAssignment) after a SPlistItem.BreakRoleInheritance(false). My original post in ...
[More]
cca9abc7-cb3b-459a-9713-c55fd136be75|0|.0
When running the following commandstsadm -o addsolution -filename c:\delphi\name.wspit errors and returnsObject reference not set to an instance of an object.c:\delphi\name.wsp: The Solution installation failed.This is because the windows account you're logged into the server with does not have permission to the SQL server. stsadm uses the logged in user's permissions to process everything, not the application pool identity central admin runs on.I hope this helps!
a6ed608d-640f-4784-89f4-5804dc9ff086|0|.0