formcontrol error in XAML web browser application - InfoPath Dev
in

InfoPath Dev

formcontrol error in XAML web browser application

Last post 07-30-2009 03:03 PM by ravikanth. 7 replies.
Page 1 of 1 (8 items)
Sort Posts: Previous Next
  • 07-23-2007 05:35 AM

    formcontrol error in XAML web browser application

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

  • 07-23-2007 09:42 PM In reply to

    Re: formcontrol error in XAML web browser application

    any updates please!!!

     

  • 07-23-2007 11:04 PM In reply to

    Re: formcontrol error in XAML web browser application

    not sure but may be it helps if you set your infopath from to security level 3 (full) trust and sign it with a digital certificate. the only other idea i have is that you can try to set all code groups to full trust as well with the configuration wizard of the .net framework (you can find it under administrative tools - microsoft .net framework configuration)
    Listen to Motörhead cos they play Rock'n Roll :)
  • 07-24-2007 12:22 AM In reply to

    Re: formcontrol error in XAML web browser application

    Thanks for your reply.

    I tried to configure the policy of assembly (Microsoft.Office.Infopath.FormControl) in C:/ProgramFiles/Microsoft Office/office12/ using .NET 2.0 configuration wizard in Administrative tools.

    .Net 2.0 configuration -> My computer->runtime security policy-> Increase assembly trust-> make changes in this computer->microsoft.office.infopath.form control-> full trust

    Rechecked the policy level from same wizard.. it was unrestricted.

    I am still stuck with same issue... Please let me know any way to troubleshoot it..

     

  • 07-24-2007 05:38 AM In reply to

    Re: formcontrol error in XAML web browser application

    Issue Solved!!!

    I have give full trust for assembly by selecting "Full Trust Application" in Project->Properties->Security tab

    Thanks Infopath dev

     

  • 09-07-2007 01:49 AM In reply to

    Re: formcontrol error in XAML web browser application

    Thanks for telling the solution! Just what I needed :)

  • 03-10-2009 04:06 AM In reply to

    • Udaya
    • Not Ranked
    • Joined on 03-10-2009
    • Posts 2

    Re: formcontrol error in XAML web browser application

    Iam not able to see Infopath design properties in Project instead of properties.

    There i don't have security tab.

    Thanks in advance...

  • 07-30-2009 03:03 PM In reply to

    Re: formcontrol error in XAML web browser application

    Hi..nseresha could you help me out solving the same problem..the solution you gave there is confusing can you elaborate it..i have the same problem..

Page 1 of 1 (8 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.