Form cannot be opened because (permission) - InfoPath Dev
in

InfoPath Dev

Form cannot be opened because (permission)

Last post 01-24-2007 02:11 PM by Patrick Halstead. 5 replies.
Page 1 of 1 (6 items)
Sort Posts: Previous Next
  • 01-23-2007 11:40 PM

    Form cannot be opened because (permission)

    Hi guys!

    After my successful attempt at generating all the files that make up the XSN I've found myself struggling to open the file :). I can open the XSF file directly and it works OK, however, when I open the XSN file, I recieve the above error stating I need domain permission and all I have are restricted. In 2003 I think I could have fixed this with runnin FormReg.exe. However in 2007 I don't know how to approach this. Any idea perhaps? Maybe I should try a different attribute value for permission instead of automatic?

    Thanks guys, for the help!

    Regards,
    Anže
  • 01-24-2007 12:15 AM In reply to

    Re: Form cannot be opened because (permission)

    Hi,

    You need to change the security leve for your form.
    1.Open the form in Design mode.
    2.Go to Tools menu and select Form options
    3.Select "security and Trust" option.
    4.Uncheck the "Automatically determine security level(recommended)" and Select "Domain(...)" radio button , click on "OK" button.

    I hope this will help for you.

    Thanks.
    K.Ramana Reddy / http://www.ggktech.com
    India.
  • 01-24-2007 05:02 AM In reply to

    Re: Form cannot be opened because (permission)

    Hi!

    Sorry, but I cannot open the form in Design mode. I get an error saying that a schema cannot be used. Nothing more specific. However, I can open the document in fill-out mode. Do you know of any other way?

    Regards,
    Anže
  • 01-24-2007 05:39 AM In reply to

    Re: Form cannot be opened because (permission)

    Hi,
    You have to open manifest.xsn in design mode and change the security level. What you are trying to open in design mode and when you are getting that error?
    Shilpa
    INFOPATHDEV India
  • 01-24-2007 05:49 AM In reply to

    Re: Form cannot be opened because (permission)

    When I generate my form programatically (from C#) I can specify the security level to be manual or automatic. None of them work.

    The exact error I get when I open the manifest in design mode is that the schema specified cannot be used.
  • 01-24-2007 02:11 PM In reply to

    Re: Form cannot be opened because (permission)

    Sounds like your schema is busted. You'll have to debug that. As for the security level, as Shilpa states, there is a setting in the manifest.xsf that you need to make sure you generate. Automatic will be domain for WinXP and that will work if you open the form from a website, but not from your local computer. Manual, will require specifying Domain. You don't want Restricted nor do you want Full Trust. Domain requires that you run from a website and not from a local machine. If you have to run locally, you'll want to create an MSI using regform.exe tool that ships with InfoPath SDK or sign the XSN with a digital certificate that is trusted by the clients. Good luck!
    Patrick Halstead
    Project Manager at Qdabra
Page 1 of 1 (6 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.