We are trying to migrate a console program (C#) from Moss 2007 to SP 2010.
One of the functions in the program has to loop thru several web apps/site colls/sites/lists to trim permissions and uses this sentence
to get a reference to the web app:
- SPWebApplication webApplication = SPWebApplication.Lookup(serverUri);
In MOSS 2007 it works but in SP 2010 we see this error message:
"This operation can be performed only on a computer that is joined to a server farm by users who have permissions in SQL Server to read
View Complete Post