Your user name cannot be verified because the form's security settings do not permit it.Error occurred during a call to property or method 'get-UserName'. - InfoPath Dev
in

InfoPath Dev

Your user name cannot be verified because the form's security settings do not permit it.Error occurred during a call to property or method 'get-UserName'.

Last post 06-03-2014 02:04 PM by ncjks. 5 replies.
Page 1 of 1 (6 items)
Sort Posts: Previous Next
  • 05-31-2009 05:49 AM

    • firouz
    • Top 500 Contributor
      Female
    • Joined on 02-24-2009
    • Iran
    • Posts 51

    Your user name cannot be verified because the form's security settings do not permit it.Error occurred during a call to property or method 'get-UserName'.

    Hi dear friends

    I have a form that I have Published it in the SharePoint site with no error. but when I want to open a new form in the site I have got this error:

    Infopath can not create a new blank form.infopath can not open the form. to fix this problem, contact your system administration

    Advance: Form template: http://...

    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.
    the security level is set to full trust.

    I changed the security level to automatically get from Domain, but I have got another error:

    Infopath can not open the new blank form. there was an error in the calculation code.

    Advanced: InfoPath
    Your user name cannot be verified because the form's security settings do not permit it.

    Error occurred during a call to property or method 'get-UserName'.

    I dont know what is the problem... I should mention that the form is not Web browser based and it will be opened in the client system.

    any help would be appreciated

  • 05-31-2009 08:45 AM In reply to

    Re: Your user name cannot be verified because the form's security settings do not permit it.Error occurred during a call to property or method 'get-UserName'.

    What code or web service do you have in the form that is affecting the form's trust requirements?

  • 05-31-2009 09:09 PM In reply to

    • firouz
    • Top 500 Contributor
      Female
    • Joined on 02-24-2009
    • Iran
    • Posts 51

    Re: Your user name cannot be verified because the form's security settings do not permit it.Error occurred during a call to property or method 'get-UserName'.

    I have a lot of rules and calculations formulas in the fields of forms and also some data connections, but there is no workflow, code or web servise. I have a data connection that recieve data from the form library, the same form library as secondary data connection, I think after I set this connection I saw this error. do you think it can be the main problem?

  • 05-31-2009 09:27 PM In reply to

    • firouz
    • Top 500 Contributor
      Female
    • Joined on 02-24-2009
    • Iran
    • Posts 51

    Re: Your user name cannot be verified because the form's security settings do not permit it.Error occurred during a call to property or method 'get-UserName'.

    I have tested a blank form with no code, no data connection or calculations, withe full trust permision level, but I have the problem again. so it is not related to my form, maybe it would be related to the site.... can you help me in this case?

  • 06-01-2009 09:00 AM In reply to

    Re: Your user name cannot be verified because the form's security settings do not permit it.Error occurred during a call to property or method 'get-UserName'.

    Well, no, you shouldn't be testing it with Full Trust.  You should be using Domain Trust and make sure that works with a blank form.

  • 06-03-2014 02:04 PM In reply to

    • ncjks
    • Not Ranked
    • Joined on 03-08-2006
    • Posts 14

    Re: Your user name cannot be verified because the form's security settings do not permit it.Error occurred during a call to property or method 'get-UserName'.

    Same problem with blank form with just one text field with default value set to UserName(). Domain trust. Your user name cannot be verified because the form's security settings do not permit it. Error occurred during call to property or method 'get-UserName' Any help?
Page 1 of 1 (6 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.