Error while open a form - InfoPath Dev Sign in | Join | Help in SharePoint Integration InfoPath (Entire Site) InfoPath Dev InfoPath Dev is dedicated to bringing you the information and tools you need to be successful in your Microsoft Office InfoPath development projects. Home Blogs Forums Photos Downloads InfoPath Dev » InfoPath » SharePoint Integration » Error while open a form 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: Oldest to newest Newest to oldest Previous Next 03-08-2006 07:23 AM liorlankri Joined on 02-28-2005 Posts 205 Error while open a form Reply Contact 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 Patrick Halstead Joined on 08-08-2006 Posts 5,112 Re: Error while open a form Mark as Not AnswerMark as Answer... Reply Contact 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 HalsteadProject Manager at Qdabra 03-09-2006 12:43 AM In reply to liorlankri Joined on 02-28-2005 Posts 205 Re: Error while open a form Mark as Not AnswerMark as Answer... Reply Contact 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 AndersR Joined on 10-20-2005 Denmark Posts 138 Re: Error while open a form Mark as Not AnswerMark as Answer... Reply Contact 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 herehttp://msdn.microsoft.com/library/default.asp?url=/library/en-us/ipsdk/html/ipsdkUsingTheFormRegistrationTool_HV01073334.aspAlso i suggest reading the article below carefully. It explains what you need to know as a developer about fully trusted formshttp://msdn.microsoft.com/library/default.asp?url=/library/en-us/ipsdk/html/ipsdkUnderstandingFullyTrustedForms_HV01073332.asp?frame=truehthAndersR 03-11-2006 12:19 AM In reply to liorlankri Joined on 02-28-2005 Posts 205 Re: Error while open a form Mark as Not AnswerMark as Answer... Reply Contact 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 AndersR Joined on 10-20-2005 Denmark Posts 138 Re: Error while open a form Mark as Not AnswerMark as Answer... Reply Contact 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 liorlankri Joined on 02-28-2005 Posts 205 Re: Error while open a form Mark as Not AnswerMark as Answer... Reply Contact Now I undersand you!!!Thank's 03-15-2006 10:37 PM In reply to liorlankri Joined on 02-28-2005 Posts 205 Re: Error while open a form Mark as Not AnswerMark as Answer... Reply Contact 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 AndersR Joined on 10-20-2005 Denmark Posts 138 Re: Error while open a form Mark as Not AnswerMark as Answer... Reply Contact Hithat 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 because1) you want the user to have offline access to the forms2) 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=truehth Page 1 of 1 (9 items) Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.