401 Unathorized error when opening InfoPath form - InfoPath Dev
in

InfoPath Dev

401 Unathorized error when opening InfoPath form

Last post 02-24-2008 08:40 PM by bartere. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 03-06-2007 06:51 PM

    • andyw
    • Not Ranked
    • Joined on 03-07-2007
    • New Zealand
    • Posts 1

    401 Unathorized error when opening InfoPath form

    Hi,

    I'm a newbie for InfoPath and MOSS. Recently I've created an InfoPath form and had it set up to allow the form open in web broswe. My form is Fully Trusted and I have installed my InfoPath form template in the Central Administration server (also configured it to allow my form template to open in browser within MOSS).

    Problem now is that my form currently ONLY allows user who had installed InfoPath to open it through InfoPath but not in a browser...it'll throw a 401 Unauthorised error :-(

    Anyone got any idea why and what I should do?

    ~Please help ~ please

    -andy
  • 04-16-2007 01:06 AM In reply to

    Re: 401 Unathorized error when opening InfoPath form

    Well, security is pretty tricky to get in Sharepoint...

    I have several questions for you:

    1. You usually open an InfoPath form via a document library. When you configure the doclib, you can specify that it opens in the browser. Try that? In that case, what happens to the users who have InfoPath installed? Does the form open in the browser or in InfoPath? It should never open in InfoPath.

    2. Can you yourself navigate to the doclib?

    3. Can you yourself open the form in the browser?

    4. Do your users have sufficient permissions on sharepoint? Can they access the doclib? This could be your problem! See if they can access other document libraries (non-InfoPath ones).

    5. It seems like you are doing Admin deployment. Try a simpler deployment where you deploy a simple from from InfoPath directly into a SharePoint document library. Does that work? Can you access the form? Can your users?

    Hope you can get around your problems!

    Dave.

    David Airapetyan / Software Services Architect
    Qdabra® Software / Streamline data gathering to turn process into knowledge
  • 02-24-2008 08:40 PM In reply to

    Re: 401 Unathorized error when opening InfoPath form

    Hi, I also have the same error but it only appears intermittently.

    I am not using any code behind the form, I am just calling the SharePoint user profiles web service -Get UserProfileByName. This works a treat in my test environment without needing full trust or a udc file. The strange thing is that when I publish the form to production it sometimes works and other times it produces an unauthorised error. The only difference I can think of between the two environments in the number of servers in the farm. Can you tell me whether there are server specific configurations required for forms services? I thought it was all done on a farm level but this intermittent error makes me think that one of the servers is missing something.

Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.