GetCommonManager error - InfoPath Dev
in

InfoPath Dev

GetCommonManager error

Last post 07-27-2009 03:50 PM by lanijade. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 07-26-2009 11:02 PM

    GetCommonManager error

    Hi,

    I'm calling the 'GetCommonManager' method but when I preview the form I get the following error:

    The query cannot be run for the following DataObject: GetCommonManager
    InfoPath cannot run the specified query.
    The SOAP response indicates that an error occurred on the server:

    Server was unable to process request. ---> Object reference not set to an instance of an object.

     I've done a bit of searching around and there are people with similar errors but not exactly like this one. Does anyone have any idea what it could be or where I should be looking to try to figure it out?

    I have also done some testing after reading other forums. I tested to make sure that the 'getuserprofilebyname' method is working. Which it is. I also tested to make sure I could call the user's manager using the 'getuserprofilebyname' method and I could.

    Thanks.

  • 07-26-2009 11:45 PM In reply to

    I use this method in addition to the GetUserProfileByName, and I find that it works exactly the same way.  It accepts the same parameter - userName() - and returns a subset of the same type of data, but it returns that data for the user's manager, which is cool.  Are you passing the correct parameter?

  • 07-27-2009 03:50 PM In reply to

    I am passing the user name parameter correctly. I have tested this in my VM and it works as it should so I'm guessing there is something in the environment that is stopping this from working?

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