Solved

GetUserProfilesByName service fails when previeing in Infopath 2010

Posted on 2013-02-05
1
1,068 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
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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

Work Over Net is a new and very powerful collaboration product. With its new easy interface it is becoming very competitive to other similar products like webex and office interactive. WON 2010 have the standard business tools needed for multi-offic…
When installing SharePoint 2010 RTM I came across a strange error, I was getting timeouts during the installation. I searched the web and found the best solution to be found here (http://social.msdn.microsoft.com/Forums/en-US/sharepoint2010genera…
A short film showing how OnPage and Connectwise integration works.
Need to grow your business through quality cloud solutions? With everything required to build a cloud platform and solution, you may feel like the distance between you and the cloud is quite long. Help is here. Spend some time learning about the Con…

914 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now