It took me some time to find the solution to a problem, where a WPF application could not connect to a local SharePoint farm via SPFarm.Local. It always returned null. Windows 7 was not the problem. I copied my application to a Windows Server 2008 VM...