Jun 02
InfoPath 2007 Error: Policy Settings Prevent Opening…
Tim Allison
After graduating in 1989 I worked as a consultant, then off to Herman Miller as a Network Admin, and finally landed at C/D/H. So ultimately 23 years! Wow!
I enjoy making life better: at home, at play and at work. Technology happens to be one of those areas, and helping those around me become better only results in a better place for us all.
Family is important to me. I am finding my granddaughter (yes, I have three grandchildren) is always on the top of my “love to spend time with” list.
More about Tim
Articles by Tim Allison
Working in InfoPath can be challenging, but the results are well worth the pain. Recently I ran into the following error when working on a client site:
“Policy settings prevent opening…” Arggg!
To make a long story short it’s related to the client side security. If you’re working with InfoPath forms on a workstation that’s not part of the SharePoint server Active Directory domain, InfoPath opens this form in the Internet security zone (basically untrusted). So if you’re trying to test or use an InfoPath form that has managed code included it will fail.
Searching high and low, I’ve finally hit upon a secret for testing the form: Create this registry key to stop checking security:
HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\InfoPath\Security
“RunManagedCodeFromInternet”=dword:00000001
NOTE: This is not something you want to have running all of the time. This could allow untrusted forms to execute on your system and introduce new risks. I suggest you use this for testing only.
It should go without saying, but be sure you carefully architect the security of your InfoPath environment to seamlessly logon and use forms. If you don’t, you will cause the user of the forms to get frustrated and stop using your hard work.




