2
votes
3answers
3k views

SPSecurity.RunWithElevatedPrivileges working on Windows Server 2003/SP2007 and not on 2008/SP2010

I have this simple code in C# using sharepoint: SPSecurity.RunWithElevatedPrivileges(delegate() { SPSite site = new SPSite("http://localhost:333"); }); When i execute it on a Windows Server ...