InfoPath cannot open the selected form because of an error in the form's

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

When i tried to run the InfoPath Solution from Visual studio 2008, i'm getting this above mentioned error. When i googled also i don't find any good solution. After that i changed the security setting of the form to fully trusted, then it worked for me. I don't know this is the right solution but it also solve the problem :)

Step: go to tools>Form options>Security and Trust> select Fully Tructed radio button


Unknown said…
For the following error also this solution works

Error Message:
"InfoPath cannot open the selected form"
Unknown said…
Good one. You saved my time. Thanks.

Popular posts from this blog

ASP.NET website "Cannot read configuration file due to insufficient permissions" in IIS 7 and Windows Server 2008


The file you are attempting to save or retrieve has been blocked from this Web site by the server administrators.