Error while open a form - InfoPath Dev
in

InfoPath Dev

Error while open a form

Last post 03-16-2006 01:19 AM by AndersR. 8 replies.
Page 1 of 1 (9 items)
Sort Posts: Previous Next
  • 03-08-2006 07:23 AM

    Error while open a form

    I created a form as InfoPath .NET project (c#) that contain web reference to web service!!! The form was published (by me) to a SharePoint forms library.

    I success to open a new form to fiil out from my station, but when I try it from other stations I get error of "Execution permission cannot be acquired"

    What's the problem???
  • 03-08-2006 11:34 PM In reply to

    Re: Error while open a form

    Hi again Liorlankri!
    Do you have that site in your "Trusted Sites" (IE-Tools-Settings-Security...). If so, remove it and add it to Local Intranet. If not, what does the .NET code do?
    Patrick Halstead
    Project Manager at Qdabra
  • 03-09-2006 12:43 AM In reply to

    Re: Error while open a form

    It's Work!!!!

    So i dont need to set my form Full Trust security level (and than sign it with certificate!).
    I thought that I will need do this because I'm using web reference to a web service. But after I did what you told me I see that it's work as it is
  • 03-10-2006 01:53 PM In reply to

    Re: Error while open a form

    If your form contains C# code, you'll need to either sign it with a code certificate or create an MSI installer with the RegForm tool.

    See here
    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ipsdk/html/ipsdkUsingTheFormRegistrationTool_HV01073334.asp

    Also i suggest reading the article below carefully. It explains what you need to know as a developer about fully trusted forms
    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ipsdk/html/ipsdkUnderstandingFullyTrustedForms_HV01073332.asp?frame=true

    hth
    AndersR
  • 03-11-2006 12:19 AM In reply to

    Re: Error while open a form

    Thank's.

    I already know how to use the Regform. You told me that in that case I also need to set FullTrust security to my form. I want to know if I need it ceacuse Imy code in C# (I dont think that any form in c# requierd FullTrust) ?
    OR because in the code I use Web Reference to a Web Service?

    Let me know
  • 03-14-2006 06:20 AM In reply to

    Re: Error while open a form

    To call security level 3 methods you need a fully trusted form template.

    Domain security level allows call to security level 2 methods and lower in the object model.

    The security level is specified for each method in the SDK.

    Im not entirely sure, but i would guess that all framework classes are level 3 (anyone?).
  • 03-15-2006 10:31 PM In reply to

    Re: Error while open a form

    Now I undersand you!!!

    Thank's
  • 03-15-2006 10:37 PM In reply to

    Re: Error while open a form

    So let's say that I will create a MSI installer. And I want to locate the template on a SharePoint forms library; Should I install the form on each machin in the organization or only install it on the SharePoint forms library??
  • 03-16-2006 01:19 AM In reply to

    Re: Error while open a form

    Hi

    that depends on your needs really..

    the MSI have certain benefits and the forms library others.

    typically when you use MSI files for trusted forms it is because

    1) you want the user to have offline access to the forms
    2) you dont have a code signing certificate (to install in a form library you need to code sign the template)

    You *can* however publish a registered form to a SharePoint library by replacing the template file manually (read here "Deploy a Fully Trusted Form to a SharePoint Form Library"
    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ipsdk/html/ipsdkDeployURNFormToSharePoint_HV01086376.asp )

    Some highly reccomended reading:
    Deploying Signed Form Templates
    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ipsdk/html/ipsdkSignedFormTemplate_HV01120501.asp?frame=true

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