Tagged Questions
1
vote
2answers
623 views
GetFile('URL to layout') returns: The system cannot find the file specified. (Exception from HRESULT: 0x80070002)
I have made a few HTML files which I intend to use as either email templates or schemas.
When I run this code:
var t = "Not found!";
SPSecurity.RunWithElevatedPrivileges(() =>
{
...