How to publish *.xsn file with vb code? - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

How to publish *.xsn file with vb code?

Last post 08-10-2011 11:18 PM by Patrick Halstead. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 08-04-2011 01:34 AM

    How to publish *.xsn file with vb code?

    Hi All,

    how to publish the *.xsn file with vb code? i have try to publish to the network drive, but the published file cannot be open. the error like this:

     "Form template: file:///\\bkin04\public\IT\test2.xsn
    The form template is trying to access files and settings on your computer. InfoPath cannot grant access to these files and settings because the form template is not fully trusted. For a form to run with full trust, it must be installed or digitally signed with a certificate."

    i have set "full trust", but nothing happen. and i cannot find the vb code in the network drive. do the code follow the *.xsn file?

    how to solve this?

  • 08-10-2011 12:03 AM In reply to

    Re: How to publish *.xsn file with vb code?

    Hi Johnston75,

    So, your form is accessing local files? If so, you'll need to make it full trust. Then, you'll need to sign it. After that, it should work.

    Patrick Halstead
    Project Manager at Qdabra
  • 08-10-2011 11:09 PM In reply to

    Re: How to publish *.xsn file with vb code?

    Hi Patrick,

     i already do that. it works when the template *.xsn put in other computer by copy or sent via email.

     the problem happen if i publish it. it seem lost the code/ *.dll file.

    Rgds

  • 08-10-2011 11:18 PM In reply to

    Re: How to publish *.xsn file with vb code?

    It looks like you aren't publishing to SharePoint.

    The XSN is a cab file package. Publishing to a file share is not going to magically uncab and extract the DLL and remove it. Not something that happens. Just like most conspiracy theories. Too complex.

    So, my hunch is that your site is not in your domain or your IE settings are such that it doesn't think it's local intranet or some other such manifestation.

    May the force be with you,

    Patrick Halstead
    Project Manager at Qdabra
Page 1 of 1 (4 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.