Archive for January 4, 2012

Publishing Anonymous InfoPath form for SharePoint 2010 Internet Sites

We were working on our new SharePoint 2010 Internet site today here at G&T and had some issues without contact form not allowing anonymous users to submit contact us forms.
We had done everything right, or so we thought. After getting the below errors and a lot of head scratching and googling we managed to get everything resolved.

Unknown SPRequest error occurred. More information: 0x80070005
The XSN is null and its not a cross server issue. Most likely a permission issue
  1. Allow Anonymous Access via Central Administration
    Application Management > Manage Web Applications > Authentication Providers > Enable anonymous access
  2. Disable Viewformpageslockdown
    Open SharePoint 2010 Management Shell

    get-spfeature -site URL
    $viewformlockdown = get-spfeature viewformpageslockdown
    disable-spfeature $viewformlockdown -URL
  3. Enable Anonymous access via the Site Collection
    Goto http://URL/_layouts/user.aspx
    Anonymous Access > Entire Web site
  4. Enable Add Items to List for Anonymous users

Big thanks to Russ Maxwell for his post on the above PowerShell ViewFormLockDown solution
http://blogs.msdn.com/b/russmax/archive/2010/01/22/lockdown-mode-in-sharepoint-2010.aspx

Post to Twitter