If you are still searching for a solution 3 years later, here is it :)
in infopath designer goto: File -> Form options -> Security and Trust -> then uncheck 'Automatically determine security level'
and check 'Full trust'
voila!