InfoPath prompting for credentials on submit - InfoPath Dev
in

InfoPath Dev

InfoPath prompting for credentials on submit

Last post 04-24-2013 08:18 AM by bsembhi. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 08-20-2012 12:15 AM

    InfoPath prompting for credentials on submit

    I have an InfoPath form template that is signed with a digital certificate, so fully trusted.

    When the user submits the form, we run code that invokes the Execute method of a SharePoint library data connection - this.DataConnections["MySharePointLibrary"].Execute();

     At this point the user receives a security prompt for their username and password. If they cancel this dialog box the submission completes successfully.

    The SharePoint site is listed in the user's Trusted Sites security zone, with the setting "Automatic log on with the current username and password".

     Any idea how I can avoid the security prompt?

    Ivan

  • 08-20-2012 01:24 AM In reply to

    Re: InfoPath prompting for credentials on submit

    Try to add your sharepoint site to trusted sites and Local Intranet in IE or ControlPanel menu Tools > Internet Options > Security > Trusted sites (+2 - Local intranet) > Add your sharepoint weapps using wild cards

    The short NETBIOS names also should be enlisted

     Fig.1.1. Adding Sharepoint Sites to Trusted sites in Internet options

     Fig.1.1. Adding Sharepoint Sites to Trusted sites in Internet options

     

    Fig.1.2. Adding Sharepoint Sites to Local Intranet sites in Internet options 

     

    Fig.1.2. Adding Sharepoint Sites to Local Intranet sites in Internet options

     

    As a system administrator
    you probably want to apply this to all users

    Login to DC through account with domain admin privileges and create a package with above settings

    Control panel > Add or remove programs > Add/Remove Windows Components > Internet Explorer Enhanced Security Configuration > Uncheck the Internet Explorer Enhanced Security Configuration > Next, etc. to complete wizard

    Start > All Programs > Administrative Tools > Active Directory Users and Computers > right-click your domain name (or organizational unit to users of which you want to apply this) > Properties > "Group Policy" tab > New > enter name for the new Group Policy Object > select it > click Edit button> User Configuration > Windows Components > Internet Explorer Maintenance > Security > Security Zones and Content Ratings > Import the current security zones and privacy settings > close all opened windows

    Optional: Re-enable Internet Explorer Enhanced and Security Configuration < Add/Remove Windows Components

    These changes can take time up to 60-90 min to propagate

    Gennady Vanin (Novosibirsk) --- Геннадий Ванин (Новосибирск)
  • 04-24-2013 08:18 AM In reply to

    Re: InfoPath prompting for credentials on submit

     Hi

    I don't submit form in sharepoint, it gets submitted to SQL SERVER database. Do you have any advise on this.

    The forms were created in InfoPath 2003. It worked good on InfoPath 2007. Recently we had the server crash and we have now Active Directory on one server and we have exchange on the other server.

     

    Please let me know if some piece is missing

    Thanks

    Balwinder

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