problem with form integration with code - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

problem with form integration with code

Last post 09-27-2010 11:31 PM by Qazi Anis. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 09-23-2010 05:13 AM

    problem with form integration with code

     Hi i ve a form which submits data to sharepoint lists and i ve written a code for the same which will work only if i give full control in Securty and trust category of Form options or else it will give an error"A first chance exception of type 'System.Security.SecurityException' occurred in Microsoft.Office.InfoPath.Client.Internal.Host.dll". It works if i use infopath only but if i make it browser compatible and try to publish it gives error"an administrator must approve this form template before it can be filled out by using a browser".I tried resolving it by the method

    1. Open the Microsoft Office InfoPath 2007 form template by using Visual Studio 2005.
    2. On the Tools menu, click Form Options.
    3. In the Form Options dialog box, click Programming.
    4. Click Remove Code, and then click Yes in the following message:
      This will delete all script files and Visual Basic and C# assemblies associated with this form template.

      Do you want to continue?
    5. Click OK, and then publish the form template to the Microsoft Office Forms Server 2007 Web site. 
    after following the above steps also it is showing me the same error,but if i clear the Full control option  and do the above steps it works but my form doesn action in that case.

    Can anyone give me a soln for this,it would be a great help to me

    Thankyou in advance

  • 09-27-2010 11:31 PM In reply to

    Re: problem with form integration with code

    check http://geekswithblogs.net/jgmeyer/archive/2006/06/26/83087.aspx. and follow the steps mentioned there to publish the form template.

    Qazi Anis
    Technical Architect
    Bitwise Inc
Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.