Oh SharePoint...
I've built a custom event receiver that just checks for some fields from the list, and changes some of them as needed.
Still, it's throwing this exception:
Unknown SPRequest error occurred. More information: 0x80070005 ERROR: Failed invoking job id {C67EFFCB-607A-4B6A-8C90-60F615FD1878}
Seen that it might be a security issue, and, in another stackoverflow topic I've seen that it may even be because im using the following code:
SPSecurity.RunWithElevatedPrivileges(delegate()
{
using (SPSite site = new SPSite(siteId))
{
this.DisableEventFiring();
// Logic code.
// ...
}
});
But removing it will need a recompile, and redeploy. Thought it would be better asking to have sure first.
In the production environment, we have two servers, one for the sites, and one for the database. Active directory is also implemented and fully functional. And for what I've checked, all accounts have the "create subsite" permission on Central Administration, as seen in another topic.
So any ideas?
Thanks in advance.