0
votes
3answers
577 views

Unauthorized on XDocument.Load on Sharepoint

I'm trying to open an XML file from my document library. I'm running some code as "Elevated Privilege" on a file I know exists. The code I wrote down is this: ...