Sunday, July 14, 2013

InfoPath cannot open the selected form because of an error in the form's code. Policy settings prevent opening Internet forms with managed code. To fix this problem, contact your system administrator

In this post we will discuss how to solve an infopath error which I got while opening infopath form in SharePoint 2010. The full error message is "InfoPath cannot open the selected form because of an error in the form's code. Policy settings prevent opening Internet forms with managed code. To fix this problem, contact your system administrator".

You can check out my previous posts on:

- Disadvantages of external lists in BCS

- PowerShell cmdlets for SharePoint 2010

- Add custom send to destination in ECB menu in SharePoint 2010
Follow below steps to solve the error:

1. Go to file. Click on "Advance form Options"

2. From the form Option dialog select "Security and Trust" option

3. Uncheck "Automatically determine security level(recommended)" and select "Full Trust(the form has access to files and settings on the computer)"

4. Click ok

Now the error should go.

No comments:

Post a Comment