Monday, February 25, 2008

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

2 comments:

Keviv 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.

ASP.NET MVC - Sport Facility Booking system

  The project relies on some external service providers. Thus accessing them via their API requires authentication. An API Key need to be su...