Stopped-extension-dll-exceptions in User Profile Sync

February 4 2013 150 comments

Symptons: You get stopped-extension-dll-exceptions in MIIS client while running full or incremental user profile sync.
MIIS Client

At the same time you will get following exceptions in Application log:
Application Log

Fix: This problem arises from user profiles that have URL in PictureURL field, but the picture is not accessible. You can fix this issue by running the following PS script. The script loops through every user profile and makes a HTTP request to the picture URL. If the URL cannot be accessed the script clears PictureURL field.

# Get user profile service
$UserProfileService = @(Get-SPServiceApplication | ? { $_.TypeName -eq "User Profile Service Application" })[0]

    $serviceContext = [Microsoft.SharePoint.SPServiceContext]::GetContext($UserProfileService.ServiceApplicationProxyGroup, [Microsoft.SharePoint.SPSiteSubscriptionIdentifier]::Default);
    $profileManager = New-Object Microsoft.Office.Server.UserProfiles.UserProfileManager($serviceContext)

    # Get all profiles
    $allProfiles = $profileManager.GetEnumerator();

    $counter = 0;
    $decCounter = 0;

    # Loop through every profile
    foreach($profile in $allProfiles)

        $url = $Profile['PictureURL'] -as [string];

            # Create HTTP Request
            $req = [system.Net.WebRequest]::Create($url)
            $req.UseDefaultCredentials = $true
            try {
                $res = $req.GetResponse()
            catch [System.Net.WebException] {
                $res = $_.Exception.Response

            $int = [int]$res.StatusCode
            $status = $res.StatusCode

            # If the image cannot be accessed clear the field
            if($int -gt 400)
                Write-Host -NoNewLine $Profile['PreferredName'] "profile picture broken "
                $Profile['PictureURL'].Value = $null;
                Write-Host -ForegroundColor Green "[FIXED]";

        if($deccounter -eq 10)
            Write-Host $counter" user profile checked";

After running this script the User Profile Sync started to work immediately.

Popularity: 5% [?]

150 comments to “Stopped-extension-dll-exceptions in User Profile Sync”

  1. website says:

    Thanks for sharing here an informative post.

  2. Good and helpful. Just what I needed

  3. Are you a kind of bloggers who have been experiencing negative
    results of Ad Blockers? In fact, ad blockers do not acknowledge them,
    there are nothing types of fishy. So, audiences do not react properly to advertisements and ad blockers
    are not good on your pockets. However, those days are
    gone and we are able to have few excellent running a
    blog platforms, which may fulfill the wishes of both the readers as nicely because the bloggers.
    FTC, nonetheless, guided bloggers to mention ‘native ad’
    at the top of the post to inform readers that they will learn an advert.

    Read all the time. In the event you should not have
    one, it’s the time to get it. If your audiences do not get a fantastic expertise at your
    site, they are going to transfer to the one right subsequent to you.
    Organizations that select to outsource to this country will notice
    that one can discover quite just a few corporations that offer writing outsource services and products at bills
    that are some of the lowest on the earth. In case your work
    is not intensive like video processing or graphics, you may settle for a 15″ or 17″ laptop computer
    or opt for a small 10″ netbook. If Apple is your excellent model, we might recommend MacBook Pro 13″.
    Just remember to remain inside your price range.

  4. This is my first time visit here. From the tons of comments on your articles,I guess I am not only one having all the enjoyment right here!

  5. sex rlp says:

    Spend your extratime for free chat with hot sexy girls from EU only on sex rlp

  6. I love it. This article is simply great. Thanks for sharing.

  7. Transexuelle Sex Rennes is fine web place for casual sexy chat contacts with hot ladies in France

  8. private jet says:

    I love this vlog!

  9. Your blog provided us with valuable information to work with. Each & every tips of your post are awesome. Really appreciate you sharing this article.

  10. What a great site! Thanks for sharing this blog post.

  11. Hey there!

    I thoroughly loved reading your article.

    Oh, it’s true. I came to your site to discuss my long-term struggle with ED.

    Vidalista was a life-changing discovery that
    changed my entire outlook. Vidalista is the reason I do not suffer from ED
    any more.

    If you’re suffering from ED If you are suffering from ED,
    you can purchase Vidalista pills at The USA meds. You’ll be
    thankful in the future.

  12. If you are looking for casual chat contacts in France you must to visit Transexuelles Lyon

  13. Myers fence says:

    If you are looking for fencing services visit here

  14. For deck installation and repair services visit here

  15. Website says:

    If you are looking for IT support services for your business, check out here

  16. Adams says:

    Excellent work for creating this kind of content. Thanks for sharing.

  17. I’m satisfied with the information that you provide.

  18. Transexuel Strasbourg is great platform for finding casual contact with fine ladies in France

  19. Drake says:

    Just wow! Beautiful way to organize things neatly. Thank you so much.
    Victoria Roofing

  20. George says:

    Hi! Thanks for the great information you have provided! Appliance Services Kitchener, ON

  21. Macky says:

    I am hoping for the same best effort from you in the future as well. Thanks! click here

  22. Jeleina says:

    Thanks for sharing this information
    Gutter Services

  23. Adam R says:

    I was simply making up stories in my head, and you confirmed what I had been thinking about. Thank you very much for your help!

  24. Franciss Leondel says:

    It’s an amazing and helpful source of information. I’m glad you shared this useful info with us. We’ll be sure to keep us updated with this. I am so happy to have seen your site.

  25. Sex Nürnberg ist der beste Ort, um einheimische Frauen kennenzulernen. Dank ihm können Sie zahlreiche sexy lokale Frauen entdecken und die verlorene Zeit aufholen. Vergessen Sie, Ihr Haus zu verlassen, um mit einer Vielzahl von sexy Damen zu interagieren, die auf der Suche nach zwanglosen Begegnungen sind. Stattdessen können Sie mit ein paar Klicks auf alle zukünftigen Sexualpartner zugreifen, die Sie jemals brauchen werden. Wie wäre es mit einem Chat heute Abend?

  26. George says:

    Thank you for the good insight! Much appreciated. Keep it up guy’s.
    Insulation Services Company

  27. Sex Düsseldorf hat echte Menschen auf der Suche nach aufgeschlossenen Singles. Sie müssen nicht Tage oder Monate damit verbringen, den richtigen Partner zu finden.

  28. Sex Augsburg says:

    Sex Augsburg verfügt über ein Matching-System, mit dem Sie Ihr BBW-Dating-Abenteuer einfacher gestalten können. Sie können die Profile Ihrer Matches überprüfen und sehen, ob es jemanden gibt, an dem Sie interessiert sind. Matching-Algorithmen senden Übereinstimmungen auf der Grundlage Ihrer Interessen, Vorlieben und Standort.

  29. Awesome site. This is a really great guide.

  30. Rosszlányok says:

    Rosszlányok egy bűnösen élvezetes társkereső oldal, “ahol a jó lányok rossz dolgokat csinálnak”. A fiók létrehozása ingyenes, és máris kereshetsz helyi szexi lányokat egy bizonyos korhatáron vagy mérföldes körzetben.

  31. Shaima says:

    I know this is quality based blogs along with other stuff.
    Roofing Services

  32. Profilrr says:

    Hi Dear,
    I am glad I found this and got to read we are provide websites, social posts, videos, music, market, SEO ranking profilrr — connecting is easier with the audience creating a single free profilrr bio link contact.
    Bio link

  33. Glad to found this great website content. Keep up the good work.

  34. Rain says:

    Thank you so much for the amazing information. I hope that there’s more to come. Milton Fence Installation Services

  35. Thanks for sharing such a nice content. Keep sharing. It-service-west-palm-beach

  36. Glad to found this great website. Keep up the good work. fence-installation-birmingham-al

  37. reifeladies says:

    reifeladies verwendet einen ausgeklügelten Matching-Algorithmus, der von den Vorlieben des Nutzers abhängt. Es wird Sie mit Single-Frauen bekannt machen, die Ihre Lebenseinstellung und andere Hobbys teilen.

  38. KAREN says:

    Amazing post thank you for sharing pandora games list

  39. Karter Hones says:

    It’s great content. Nice share. sunsetter in Cherry Hill New Jersey

  40. Jeneffer says:

    Great article! We always love and await for this!

  41. Alex says:

    Thank you for this post. Found it very informative.
    Roofing Contractor

  42. Aliyah says:

    Thanks for sharing! Visit here for more info.

  43. If you want to find hot girls from France for sexy contacts try to visit Sexe Bretagne

  44. Geo says:

    Thanks. I truly appreciate this post.
    business consulting firms fayetteville ar

  45. Amanda K. Joyce says:

    How much lead time do you have to move? Our classes require a 2-multi week lead time for transport, reliant upon the class. The specific selection cutoff time will be given once your date and time have been upheld. Check for more Virtual Team Activities

  46. Bailly T. says:

    Extraordinary post! Thanks for this, iron works boston

  47. Geile chat says:

    Geile chat is Nederlands meest sexy ontmoetingsplaats om openlijk met elkaar te flirten. Wie wil er nou niet stiekem flirten?

Leave a Reply