Recently a guy from our 3rd line team thought it would be funny to delete my account from AD. This has now been re-added. Everything is back to normal apart from my Access to Sharepoint sites.
I am getting The file exists. (Exception from HRESULT: 0x80070050)
Error on all sites.
After some googleing I came across a guy with the same issue and it was an issue with the SID being different from my old account. Since this I deleted my account from Site Administrators and re-added. This would refresh the SID with the new one. I also check on the Content database that the site ID matched using the following transactions and the SIDs match.
select s.Id, w.FullUrl from Sites s inner join Webs w on
s.RootWebId = w.Id
select * from UserInfo where tp_Login='domain\username' and
tp_SiteID='<ID Code>'
I am now a bit clueless.
I have now deleted the user account from Site Colection from Central Admin and also deleted from Site Collection from all the seperate sites. Performed a IISreset and then re-added the user account to Site Colection in Cental Admin and onto all sites. I have now got all my access rights back.
You could have used the command:
stsadm -o migrateuser ...
To copy your old rights into your new account.
User contributions licensed under CC BY-SA 3.0