Hi
I am trying to show an infopath in a windows form on button click of a XAML web browser application.
I could able to see form without including FormControl in the design of windows form But when I include FormControl... I am stuck with the following error.
That assembly does not allow partially trusted callers. -- I tried including the 3 PIA's --- couldnot succeed.....????
Troubleshooting tips:
1. When deploying an office solution, check to make sure you have fulfilled all necessary security requirements. ---- what kind of security requirements??
2. Use a certificate to obtain the required permission. -- I am after all including FormControl in design surface not infopath form in specific ???
3. If an assembly implementing the custom security object references other assemblies, ass the referenced assemblies to the full trust assembly list -- I am using .NET framework 3.5. Iam not sure of referencing full trust since I could neither find GAC in it nor found any ways to make it fully trusted.
Please let me know where I am missing... I am after including the form control. Not atleast attaching an infopath form to it....
Thanks in advance....