Home > SharePoint, SharePoint 2010 > SharePoint: Extracting all User Profile Property Names and Values using the User Profile Web Service
  1. December 21, 2012 at 20:18

    If a user profile is no longer used it doesn’t need to be in the system. During upgrades and migrations, it is a good time to clean out any content or modules that no longer serve a purpose.

  2. santhosh
    October 3, 2013 at 10:16

    I got this exception when I have executed the above program: “Client found response content type of ‘text/html’, but expected ‘text/xml’.

    • October 3, 2013 at 11:17

      Hi Santosh
      That sort of error saying that you received an HTML response rather than an XML response suggests that the server was unable to process your request so could not provide an XML response – typically an error condition.
      You can check the SharePoint ULS logs for any errors relating to the problem and even check the IIS logs to see what kind of HTTP response you received as it may be that the request didn’t make it through to SharePoint itself.
      If this is a developer environment then you could use a tool such as Fiddler to inspect the response as it happens to find out what error code is provided and if there are any more details.
      Best regards

  3. santhosh
    October 3, 2013 at 10:18

    Please somebody help me to solve the above issue.

  4. santhosh
    October 3, 2013 at 11:30

    Thanks Nick, For Your quick Reply
    Can you please tell me what exactly I need to do to solve above Exception?

    • October 3, 2013 at 11:40

      Hi Santosh
      The information provided is not enough to pinpoint the problem. It just says that there is an error. The information that I provided earlier gives you steps to follow to determine the actual error that occurred. Only then can a solution be worked out.
      Typically you might find it could be an authentication error. Perhaps you did not ensure that your user who is using the web service has not been given the “Manage Profiles” rights on the User Profile Service for instance. However you first need to follow those steps mentioned earlier to determine the real error message that is currently hidden.
      Best regards

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: