Solved

GetUserProfilesByName service fails when previeing in Infopath 2010

Posted on 2013-02-05
1
1,132 Views
Last Modified: 2013-02-07
I am attemtpting to get a users name and email address using the GetProfieUserByName as described here

When I publish the form and access it from SharePoint, it works fine. When I preview the form from within Infopath 2010, I get the error
"The SOAP response indicates that an error occurred on the server:
Server was unable to process request. ---> Attempted to perform an unauthorized operation.
. I have a siilar form created in InfoPath 2007 that works fine in previewl.

Thoughts?
0
Comment
Question by:CptO
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 

Accepted Solution

by:
CptO earned 0 total points
ID: 38865897
Turns this is a issue with having anonymous access turned on along with Windows basic authentication.  Anonymous has to be turned off.

I tested this in a another farm that has anonymous access turned off and Windows integrated authentication on. It works fine.
0

Featured Post

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
SharePoint 2013 6 68
Share a list (Read Only) on a different site 4 43
Is upgrading SQL from 2012 to 2014 Safe 5 31
Sharepoint question : What is a Simego cube 4 19
Summary In SharePoint 2010 it is easy to create custom color themes to jazz up a site. Theme colors can also be created in PowerPoint 2010 with a few clicks. But how do the chosen colors actually look in the SharePoint site? The attached PowerPoint…
We had a requirement to extract data from a SharePoint 2010 Customer List into a CSV file and then place the CSV file into a directory on the network so that the file could be consumed by an AS400 system. I will share in Part 1 how to Extract the Da…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question