System.Security.Policy.PolicyException: Required permissions cannot be acquired.
Spent ages trying to work out what was causing this error, eventually found the link below. http://blkarwasara.blogspot.co.uk/2012/02/exception-details-systemsecuritypolicyp.html