Unable to preview Infopath form once coding GUI is opened - InfoPath Dev
in

InfoPath Dev

Unable to preview Infopath form once coding GUI is opened

Last post 05-26-2009 01:13 PM by samirissa. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 05-26-2009 01:35 AM

    Unable to preview Infopath form once coding GUI is opened

    I am having this problem every time that I try to access the VSTA or through VS; after seeing the new project for the form in question, the designer is unable to render a preview and I get the follwoing message:

    "Form template: file:///C:\Users\Samir\Documents\formv2.xsn
    InfoPath cannot open the selected form because of an error in the form's code.
    Policy settings prevent opening Internet forms with managed code. To fix this problem, contact your system administrator".

    Any ideas how to overcome this?

     Thanks

  • 05-26-2009 05:42 AM In reply to

    Re: Unable to preview Infopath form once coding GUI is opened

    Hi,

    May be there are errors in the code like there is a on click event for button which is not specified in the form. Check the code once.

     

    Swathip
    www.ggktech.com
  • 05-26-2009 01:13 PM In reply to

    Re: Unable to preview Infopath form once coding GUI is opened

    I do not think so because this happens even without me writing any code, or making any change, in a form that was opening correctly before.

    Thanks

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