InfoPath Form displayed on anonymous site causes login prompt

Had this one pop up for a second time today so thought I would blog it this time.

Client created a public website for baseball signups. It was a simply publishing portal with anonymous enabled. He then created an InfoPath form and set it up to generate an email with the info from the form. He published this form to a form library using Forms Services and then embedded the form using a page viewer web part on a new ASPX page so people could just navigate and fill out the page.

The problem – the site would pop up an authentication box every time an anonymous person would visit the site. Even stranger if someone would get the authentication box and then enter proper credentials for the remainder of the day anonymous access worked fine. Then each morning back to the same problem. ODD.

Turns out the issue was the lockdown feature used with the publishing portal. Not everyone realizes it but when you create a site collection using the publishing portal there is a hidden feature that fires called ViewFormPagesLockdown. This feature, among other things, sets it so /_layouts directory is not available to the anonymous user. For more details see the ECM Team blog post. So we simply deactivated the feature and reset the anonymous permissions and life was good again.

One thing to pay particular attention to with this feature every time you toggle this feature on or off you need to disable and enable anonymous access for the new settings to take effect. That part can drive you bonkers.

Shane – SharePoint help



8 Comments so far

  1.   alireza adl on June 17th, 2009          Reply

    regarding IRAN situation I will be aaaappreciated if send my E.mail proxi surfing sites to be informed of global news :

    A.ADL2587@YAHOO.COM

  2.   AJ on September 13th, 2009          Reply

    i also face the same problem. so i deactivate the feature so that the anonymous user can access.
    And later part i built a httphanlder to monitor if the user hits /forms/allitems.aspx , i will redirect them to other URL.

  3.   micheal.smith898 on October 22nd, 2009          Reply

    Thanks for sharing this post. This is a very helpful and informative material. Good post and keep it up. Websites are always helpful in one way or the other, that’s cool stuff, anyways, instant loans a good way to get started to renovate your dreams into the world of reality.
    Thanks
    Micheal,

  4.   christian louboutin on October 28th, 2009          Reply

    I purchased a pair of christian louboutin shoes to attend a friend party In the http://www.christianlouboutinshoes88.com. The red high heels are very sexy. I recommend everyone go here to buy

  5.   Buy Ambien on February 17th, 2010          Reply

    krsz breakout implications czwebsite determines tend appreciates implementing syllogisms tamil clear
    saramartisakis kulturenostro

  6.   itypo on February 23rd, 2010          Reply

    Hmm, I was working with InfoPath qute long, but never met this problem. Thanks, I will hive it in mind.

    Regards.

  7.   Pharmd242 on January 28th, 2012          Reply

    Hello! ekfekea interesting ekfekea site! I’m really like it! Very, very ekfekea good!

  8.   Pharme592 on February 25th, 2012          Reply

    Hello! eddfkkb interesting eddfkkb site! I’m really like it! Very, very eddfkkb good!

Leave a Reply