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
Solved

GetUserProfilesByName service fails when previeing in Infopath 2010

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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

The Scenario: Let’s say you have a quote worksheet in Excel that you use to work up sales figures and such for your clients. You utilize SharePoint to manage and keep track of these documents. You would like values from your worksheet to populate Sh…
I used to be SharePoint evangelist in our company, so my Outlook always full of questions about how to do this, or where I can find that. One day I found such an email with the following question: "how to attach 3-State workflow (one of the workflow…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

809 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