I got that message when I previewed an InfoPath form (SharePoint Server 2010, InfoPath 2010):
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 knew that new User Profile Service Application had been created and it used to work with old one without issues. The UserProfileService web service was healthy and calls for GetUserProfileByName were proceeded well. It just stuck with GetCommonManager call.
After some investigation I found My Site host was not defined in that brand new User Profile Service Application. When I defined it My Site Settings for the application GetCommonManager started working again.
Hope that helps save time someone.
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 knew that new User Profile Service Application had been created and it used to work with old one without issues. The UserProfileService web service was healthy and calls for GetUserProfileByName were proceeded well. It just stuck with GetCommonManager call.
After some investigation I found My Site host was not defined in that brand new User Profile Service Application. When I defined it My Site Settings for the application GetCommonManager started working again.
Hope that helps save time someone.
No comments:
Post a Comment