UserProfileService Returning Farm Account. - InfoPath Dev
in

InfoPath Dev

UserProfileService Returning Farm Account.

Last post 07-07-2014 02:31 PM by fnoman. 4 replies.
Page 1 of 1 (5 items)
Sort Posts: Previous Next
  • 05-13-2013 06:48 AM

    • ehaze
    • Top 500 Contributor
    • Joined on 12-11-2007
    • Posts 49

    UserProfileService Returning Farm Account.

    This one is real weird.

    Trying to get the current user name.
    One form is returning the farm account.
    Created a new form using the same call, and it returns the correct user name.

    I've tried removing all the data sources from the form.
    Tried promoting the data connection to a data connection library.
    Tried calling UserProfileService from the the site collection level Vs. the sub site.

    Anything else I should try?
  • 05-13-2013 12:13 PM In reply to

    Re: UserProfileService Returning Farm Account.

    Are the forms different?

    Perhaps one if published directly to a form library and another is admin deployed?
    Perhaps one is in the client and another one is in the browser?
    Or perhaps one form has code and another one does not?

    Ernesto Machado
    Qdabra® Software/ InfoPathDev.com
    The InfoPath Experts – Streamline data gathering to turn process into knowledge.™


  • 05-20-2013 04:06 PM In reply to

    • ehaze
    • Top 500 Contributor
    • Joined on 12-11-2007
    • Posts 49

    Re: UserProfileService Returning Farm Account.

    Here is what I found.
    When I moved the form from one web app to another, I needed to remove all my Data Connections that were calling a web service.
    Also, working directly from the manifest file didn't work. I should have been working in the FormName.xsn file.

    I'll update this tread after I move the form one more time.
  • 07-03-2014 02:43 PM In reply to

    Re: UserProfileService Returning Farm Account.

    Hello,

     I am facing a similar issue, On PROD the form works fine.

    I republished the form on DEV Server and here userprofileservice web service returns farm account.

    Any help is appreciated.

    Server: SP2010
    InfoPath: 2010
    Browser Enable Form

    Thanks,

    Noman

  • 07-07-2014 02:31 PM In reply to

    Re: UserProfileService Returning Farm Account.

    Hello,

    I am facing a similar issue, On PROD the form works fine.

    I republished the form on DEV Server and here userprofileservice web service returns farm account.

    Any help is appreciated.

    Server: SP2010
    InfoPath: 2010
    Browser Enable Form

    Thanks,

    Noman

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