Login Required on Anonymous Site

If you have a public web site you might have the ViewFormPagesLockDown feature turned on. This restricts access for anonymous users so they can’t access the pages in your libraries “Forms” folders. There’s a good description of the feature here http://technet.microsoft.com/en-us/library/cc263468.aspx.

If you’re accessing a libraries “Forms” pages, for example by using InfoPath Forms Services, you might need anonymous users to have access to the library.

With the following configuration the user could be prompted for credentials on an anonymous site when trying to access an InfoPath Forms Services form.

  • Browser-based InfoPath Form published to a Forms Library
  • Site has anonymous access set to “Entire Web Site”
  • ViewFormPagesLockDown feature is activated


You can fix this by deactivating the ViewFormPagesLockDown feature
stsadm -o deactivatefeature -url “<site URL>” -filename ViewFormPagesLockDown\feature.xml


Now toggle the anonymous access setting on the site from “Entire Web Site” to “None” and back to “Entire Web Site”.


Then activate the ViewFormPagesLockDown feature again

stsadm -o activatefeature -url “<site URL>” -filename ViewFormPagesLockDown\feature.xml



One Response to “Login Required on Anonymous Site”

  1. Amaro Says:

    Hello Kerry,

    We have one issue that looks exactly the same to your issue “Login Required on Anonymous Site”. We tryind to do what you said in your comment but this requires the login.

    This only happens when the application pool is recycled, and after thar even if i’m not logg in into my sharepoint site the form will not require authentication.

    When the authentication prompt is shown the event id that I can see in event viewr is this one:

    Event Type: Error
    Event Source: Office SharePoint Server
    Event Category: Forms Services Runtime
    Event ID: 5367
    Date: 5/11/2008
    Time: 11:02:52 AM
    User: N/A
    Exception occurred during request processing. (User: , Form Name: , IP: , Request: request for “”, Form ID: , Type: ThreadAbortException, Exception Message: Thread was being aborted.)



Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: