Microsoft Knowledge Base Email Alertz

Error message when you run a data connection to a Web service on a SharePoint server in an InfoPath 2010 form: 401 - Unauthorized

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 982253 - Last Review: September 22, 2011 - Revision: 5.0

Error message when you run a data connection to a Web service on a SharePoint server in an InfoPath 2010 form: "401 - Unauthorized"

SYMPTOMS

Consider the following scenario:
  • Your Web form is published to a SharePoint server.
  • You create a Microsoft InfoPath 2010 form that uses data connections to data that is located on the same SharePoint server.
  • You use the fully qualified domain name (FQDN) or a custom host header in the InfoPath form.
In this scenario, you receive the following error message:
401 - Unauthorized

WORKAROUND

To work around this issue, see the following Microsoft Knowledge Base article:
896861  (http://kbalertz.com/Feedback.aspx?kbNumber=896861/ ) You receive error 401.1 when you browse a Web site that uses Integrated Authentication and is hosted on IIS 5.1 or a later version

APPLIES TO
  • Microsoft SharePoint Server 2010
  • Microsoft Office SharePoint Server 2007
  • Microsoft Infopath 2010
Keywords: 
kbtshoot kberrmsg kbexpertiseinter kbsurveynew kbprb KB982253
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate