Stopped-extension-dll-exceptions in User Profile Sync

February 4 2013 142 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% [?]

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

  1. Howard S. Loose says:

    One of the fundamental focuses of Site improvement is to develop traffic to your website page. There are various ways to deal with doing this, for example, driving your site for unequivocal articulations, and making top notch fulfilled. By stretching out traffic to your site, you can guarantee that more potential clients will see your things and associations. This can incite more plans and more business progression. Check for more Wpgio It Solutions

  2. Domeng says:

    Just in time! This resources is what I am needing right now. Thank you for sharing. Coquitlam Window Cleaners

  3. Mary Z. Samaniego says:

    Adding certifications to your LinkedIn profile is a great way to show potential employers that you have the skills and knowledge they are looking for. In this step-by-step guide, we will walk you through how to add certifications on LinkedIn. Check for more Wpgio It Solutions

  4. Aeron says:

    Thanks, You’ve got one of a kind creative ability and have come up with a few of the foremost inventive thoughts. Insulation Pros of Coquitlam

  5. Ellen S. Holland says:

    Envision what’s going on where someone needs to pick after the deadline. When in doubt, we can oblige late choices with an additional rush charge. Expecting no one really minds, talk with your serious event facilitator with any late people. see here

  6. Raizen says:

    Glad I came here! Thanks for updating this article. Thanks! Concrete Services

  7. Piiper says:

    Your site is so good and informative thanks for sharing this post! Piiper Digital Solutions Sherwood Park AB

  8. Venice says:

    Thanks, You’ve got one of a kind creative ability and have come up with a few of the foremost inventive thoughts. click here

  9. Ellen S. Holland says:

    We have a 10-15 man least, contingent upon the class. go to website

  10. Yusuf Suhaib says:

    You have presented a compelling case. The information was really useful in clarifying the procedure for me. I found it quite moving. This is a great deal of helpful data, so please accept my gratitude. Here’s a link to a website
    Islami lecture

  11. says:

    It’s in fact very difficult in this busy life to listen news on TV,
    thus I simply use web for that reason, and obtain the most recent information.

  12. Perfect timing! This is exactly what I’m looking for right now. Thank you for your contribution.

  13. Transladies says:

    Transladies ist eine Dating-Seite mit dem Schwerpunkt Erotik, auf der Männer, Frauen und Paare nach Gleichgesinnten suchen können. Jeder ab 18 Jahren, der auf der Suche nach einem aufregenden Abenteuer ist, kann auf der Website Mitglied werden. Obwohl die Website nicht speziell auf gebundene Menschen ausgerichtet ist, ist sie bei dieser Kategorie von Männern und Frauen sehr beliebt.

  14. shemal bordeaux is the best web place for finding casual contacts in France

  15. Vince says:

    Awesome post. Looking forward to more content! chimney sweep lexington ma

  16. Amdaj Kahas says:

    Thank you so much for this kind of information. I hope that there’s more to come. I love it! By the way, please visit our website to know more

  17. Trans Sesso Milano web place created for your own sexy contacts in Italy

  18. Angel17 says:

    Thanks for sharing this information. Keep sharing! Fence Installation Spring Hill, FL

  19. builder16 says:

    Thanks for sharing the information it’s really helpful and informative.
    Concrete Calgary Ab

  20. builder16 says:

    Great work. Very helpful and informative.
    Tree Services Owenboro

  21. pf45 says:

    I’m impressed, I have to admit. Rarely do I encounter a blog that’s both
    educative and interesting, and let me tell you, you’ve hit
    the nail on the head. The problem is an issue that too few men and
    women are speaking intelligently about. I’m very happy I
    came across this in my search for something regarding this.

  22. This is a fantastic resource for discovering information on a wide range of subjects. The articles are well-written and provide valuable information. This website is something I would suggest to others. International People news

  23. เรื่องราวของหนังออนไลน์เริ่มต้นในช่วงปี
    1990 โดยมีการใช้เทคโนโลยีอินเทอร์เน็ตเพื่อแลกเปลี่ยนข้อมูลและไฟล์วิดีโอต่างๆระหว่างผู้ใช้งานโดยเฉพาะในกรุ๊ปของชาวเทคโนโลยีสารสนเทศ

    ในปี 1994 มีการทำเว็บไซต์ที่แรกที่เป็นเว็บสำหรับมองภาพยนตร์ออนไลน์ แต่ระบบการเชื่อมต่ออินเทอร์เน็ตในสมัยนั้นยังไม่เสถียรพอที่จะรองรับการสตรีมมิ่งวิดีโอออนไลน์ได้อย่างสมบูรณ์ ด้วยเหตุผลดังกล่าวการดูหนังออนไลน์ในสมัยนั้นก็เลยยังไม่ได้รับความนิยมมากแค่ไหน

    ในปี 1997 มีการปรับปรุง RealPlayer ซึ่งเป็นโปรแกรมสำหรับเล่นไฟล์เสียงรวมทั้งวิดีโอผ่านอินเทอร์เน็ต ทำให้ผู้ใช้งานสามารถมองวิดีโอออนไลน์ได้ง่ายขึ้น รวมทั้งในตอนปีถัดมา มีการพัฒนาเว็บไซต์ที่เป็นเว็บสำหรับดูภาพยนตร์ออนไลน์เพิ่มมากขึ้น โดยเฉพาะอย่างยิ่งในตอนปี 2000-2010 มีการเขียนเว็บไซต์ดัง Netflix, Hulu, Amazon Prime ซึ่งเป็นบริการสตรีมมิ่งหนังออนไลน์ที่มีความนิยมชมชอบมากที่

    นับจากปี 2010 เป็นต้นมา การดูหนังออนไลน์เริ่มเป็นที่ชื่นชอบเยอะขึ้นเรื่อยๆ โดยยิ่งไปกว่านั้นในช่วงสมัยที่มีการพัฒนาเทคโนโลยีการสตรีมมิ่งวิดีโอออนไลน์เยอะขึ้นเรื่อยๆ ซึ่งทำให้ผู้ใช้งานสามารถดูหนังผ่านเน็ตได้ง่ายและสบายเยอะขึ้น ไม่ต้องออกมาจากบ้านหรือเดินทางไปยังโรงภาพยนตร์เพื่อดูหนัง

    ในตอนนี้ หนังออนไลน์ได้รับความนิยมเป็นอย่างมาก โดยมีการให้บริการสตรีมมิ่งหนังออนไลน์จากบริษัทมากหมายอาทิเช่น
    Netflix, Amazon Prime, Disney+, HBO Max และก็อื่นๆที่มีการผลิตและก็เผยแพร่หนังออนไลน์ที่นานาประการ โดยสามารถมองได้ทั้งบนโทรศัพท์มือถือ
    แท็บเล็ต และก็คอมพิวเตอร์ ทำให้ผู้คนสามารถดูหนังออนไลน์ได้ทุกหนทุกแห่งตามความสะดวกของตนเอง

  24. builder16 says:

    very informative article!!! thank you so much

    Accountants St Albert

  25. Allisa says:

    There are various ways in Midland to deal with doing this, for example, driving your site for unequivocal articulations, and making top-notch fulfilled.

  26. builder16 says:

    “Awesome read you’ve got there, I’ll have to pass it on!

  27. ground up says:

    The provided text appears to be a script written in PowerShell that addresses a specific issue related to user profile synchronization in Microsoft Identity Integration Server (MIIS) or SharePoint environment. The script aims to resolve a problem where the MIIS client encounters exceptions while running a full or incremental user profile synchronization.

  28. builder16 says:

    “The topic is highly informative. Well done on sharing it.
    Concrete In Red Deer

  29. If you are still having trouble resolving the “Stopped-extension-dll-exception” error, you can contact Microsoft support for assistance.

  30. Our website says:

    This happens when Our website and the URL cannot be accessed the script clears the PictureURL field.

  31. Kenzo Madrigal says:

    Your post has really impressed me because it is helpful to me and teaches me new things.

  32. Xandra says:

    It seems like there is an issue with some user profiles with a URL in the PictureURL field, but the picture cannot be accessed. To solve the issue, My friend Marko suggests you can run a PowerShell script to go through each user profile and send an HTTP request to the picture URL. If the URL is not accessible, the hand will clear the PictureURL field.

  33. Ayosh says:

    I’m delighted to come across your post, which is sure to take a prominent place in my ever-growing collection of favorite blogs to frequent. Beaumont Furnace Cleaning Services

  34. boL16 says:

    Thanks for making this content so informative!
    Plastic Surgery Shreveport

  35. Laundry Bangkok offers a wide range of professional cleaning services for both residential and commercial customers. Trust us to handle all your laundry needs.

    Laundry Bangkok

  36. Kath says:

    You can fix this issue by running the following PS script. As a drywall contractor, this is very useful. Big thanks!

  37. I’ve bookmarked this for future reference. Awesome post! Professional Fencing Installers in Penrith

  38. Horea Kaii says:

    Your blog’s design is not just pleasing to the eyes but also intuitive. The easy navigation makes it a breeze to find and enjoy your diverse content.

  39. builder16 says:

    Thank you for sharing this with us.
    Landscaping Hillsboro

  40. Maria says:

    Amazing! The script loops through every user profile and makes a HTTP request to the picture URL.

    drywall expert

  41. Thank you for sharing such valuable insights! has been my go-to for DLL-related issues.

    I appreciate the depth of information provided
    here! continues to impress me with its
    DLL resources.
    I’ve struggled with DLL errors for so long. has been a lifesaver!

    This post came at the perfect time! always has the answers I need.

    This post is a must-read for anyone dealing
    with DLL issues! is my trusted source for DLL solutions.

    I’ve gained so much knowledge from this post! never disappoints when it comes to DLL management.

    Thanks for shedding light on this topic! is my go-to resource
    for DLL-related information.
    The author did an excellent job with this post!
    is a valuable resource for both beginners and experts alike.

    I appreciate the clarity provided in this post! is my first choice for DLL solutions.
    I’ve shared this post with my colleagues!
    deserves recognition for its contribution to DLL management.

    Thank you for covering this topic in such detail!
    is my go-to resource for all things DLL-related.

    I’ve bookmarked this post for future reference! continues to impress me with its wealth of DLL resources.

    This post has answered all my questions about DLL files! is a valuable asset for anyone dealing with DLL issues.

    Thank you for making complex DLL topics easy to understand! is my trusted companion for DLL troubleshooting.

    Thank you for the valuable insights shared in this post! is my go-to destination for DLL-related solutions.

    Dealing with DLL problems has been challenging. has been my saving grace!
    Thank you for addressing such an important topic!
    is my preferred resource for DLL management.

    The author did a fantastic job with this post! is my trusted source for DLL solutions.

    This post has been incredibly helpful in understanding DLL
    files! has been instrumental in resolving
    my DLL problems.
    Thank you for sharing your expertise with us! is my go-to
    destination for DLL-related solutions.

Leave a Reply