I have just tested this while running under an account with Admin rights under Windows 7 (Version 6.1 Build 7601: SP1). I ran your exact code while built against the .NET 2.0 and 4.0 versions of the library. I repeatedly did not see your error.
My guess is that it then has something to do with the user permissions under which you are running while executing on Windows 7. Make sure that account has Admin rights.
My guess is that it then has something to do with the user permissions under which you are running while executing on Windows 7. Make sure that account has Admin rights.