Stopped-extension-dll-exceptions in User Profile Sync
Symptons: You get stopped-extension-dll-exceptions in MIIS client while running full or incremental user profile sync.
At the same time you will get following exceptions in 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.
$UserProfileService = @(Get-SPServiceApplication | ? { $_.TypeName -eq "User Profile Service Application" })[0]
if($UserProfileService)
{
$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)
{
$counter++;
$decCounter++;
$url = $Profile['PictureURL'] -as [string];
if($url)
{
# 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;
$Profile.Commit();
Write-Host -ForegroundColor Green "[FIXED]";
}
}
if($deccounter -eq 10)
{
Write-Host $counter" user profile checked";
$decCounter=0;
}
}
}
After running this script the User Profile Sync started to work immediately.
Popularity: 4% [?]
Nice post!
Thanks for sharing here an informative post.
Good and helpful. Just what I needed
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.
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!
Spend your extratime for free chat with hot sexy girls from EU only on sex rlp
I love it. This article is simply great. Thanks for sharing.
Transexuelle Sex Rennes is fine web place for casual sexy chat contacts with hot ladies in France
I love this vlog!
Your blog provided us with valuable information to work with. Each & every tips of your post are awesome. Really appreciate you sharing this article.
What a great site! Thanks for sharing this blog post.
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.
If you are looking for casual chat contacts in France you must to visit Transexuelles Lyon
If you are looking for fencing services visit here fencecompanyfortmyers.com
For deck installation and repair services visit here pittsburghdeckbuilderspros.com
If you are looking for IT support services for your business, check out here
Excellent work for creating this kind of content. Thanks for sharing.
http://www.drywallservicesvictoria.com
I’m satisfied with the information that you provide.
Transexuel Strasbourg is great platform for finding casual contact with fine ladies in France
Just wow! Beautiful way to organize things neatly. Thank you so much.
Victoria Roofing
Hi! Thanks for the great information you have provided! Appliance Services Kitchener, ON
I am hoping for the same best effort from you in the future as well. Thanks! click here
Thanks for sharing this information
Gutter Services
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!
TravelrNews
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. https://www.sidingrichmondbc.com