Hi,
I am getting the GeneralSecurityAccessDenied error when updating the timephased data of a resource other than the application's user. If I update the data of the application's user, it works fine. The application user has the StatusBrokerPermission and is the owner of the assignment that is to be changed. This is my code for your reference:
changeXml.Append("<Changes>");
changeXml.Append("<Proj ID='" + projectGUID.ToString() + "'>");
changeXml.Append("<Assn ID='" + assnID[0] + "' ResID= '" + resourceID + "'>");
changeXml.Append("<PeriodChange PID=\"" + pidActualWrk + "\" Start=\"2011-01-29T08:00:00\" End=\"2011-01-29T17:00:00\">210000</PeriodChange>");
changeXml.Append("</Assn>");
changeXml.Append("</Proj>");
changeXml.Append("</Changes>");
statusing.UpdateStatus(changeXml.ToString());
statusing.SubmitStatusForResource(resourceID, assnID, "");
Any suggestions as to what may be causing this error?
Regards, George