publishing form to a shared network folder - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

publishing form to a shared network folder

Last post 07-19-2006 12:11 AM by Patrick Halstead. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 07-12-2006 01:59 PM

    • .mond
    • Not Ranked
    • Joined on 06-06-2006
    • Posts 16

    publishing form to a shared network folder

    Hi,

    I am havin some difficulties with publishing some infopath forms to a shared folder on a network. Since i execute the XDocument.PrintOut() command from in the code, the form needs to be fully trusted, so I used the regform tool to do this and create a .js script (don't have visual studio .net to do a .msi). Now after registering the template i then publish the form to the shared folder. Then i try to access the folder from another PC and open the form then it tells me that the form is trying to access resources on the machine and it cannot create a new blank form - Why does this happen if i have registered the form?
  • 07-12-2006 10:25 PM In reply to

    Re: publishing form to a shared network folder

    Hi,

    Is it working in you machine?
    when you are giving full trust to the your form using MSI, you have to register in each machine to access the form.

    I hope this will work for you.

    Thanks.
    K.Ramana Reddy / http://www.ggktech.com
    India.
  • 07-13-2006 06:58 AM In reply to

    • .mond
    • Not Ranked
    • Joined on 06-06-2006
    • Posts 16

    Re: publishing form to a shared network folder

    Hi, thanks for the reply.

    I'm not using MSI though, i'm using a jscript generated by regform.

    The form templates are stored on a server in a shared folder called C:\forms. Then i publish to C:\forms\published and then register the forms using regform to generate a jscript file and make the forms fully trusted. I could not use MSI because Visual Studio .NET is not installed on the server.

    Now i set up the access path to this folder as J:\ which just maps to the location "\\<servername>\forms\published". When I access this folder from a remote computer and try to open a form it tells me that the form is trying to access resources on the computer and that it is not fully trusted (even though i registered it on the server).

    Now to try to get around this i tried to register it on the user's computer but then i get an errror when i run the script saying it can't be registered because the URL is not local.

    I am at a complete loss as to what to do :(.
  • 07-19-2006 12:11 AM In reply to

    Re: publishing form to a shared network folder

    Hi .mond and welcome,
    The users need to execute the .js script to "register" the solution on their local machines first. Once they do that, then the should not see the error.
    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.