My Site Emails Not Sending

In SharePoint 2010 I noticed I wasn’t receiving updates when people posted stuff on my MySite.

Turns out, my Active Directory Sync is not working, and my email account was not being populated in my User Profile.

Fix it!

Central Administration –> Manage User Profiles
Find the person having the issue.
Update the email address.
Cruise over to the mysite, post a note, look in your inbox for an email.

the language of this installation package is not supported by your system

When trying to install SharePoint Designer 2010 on my PC, I ran into an error saying Designer 2007 was installed on the box.

The problem was, I had SharePoint Designer 2007 installed, and it’s a 32-bit install. When I tried to uninstalled Designer 2007 I was getting this error:

The language of this installation package is not supported by your system

No matter what google-related-fix I tried, I couldn’t uninstall it.

What I did to fix things:
Installed Office 2007
Installed Designer 2007

Uninstalled Desinger 2007
Uninstalled Office 2007

Then I was able to install SharePoint Designer 2010.

Get Content Database Size

In SharePoint 2010 or 2007 I wasn’t able to find the size of the Content Databases.  For some reason I thought it was displayed in Central Administration, wrong.

Log into one of your SharePoint servers.
Open PowerShell and paste the below code into the PowerShell window.
Run.

[Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint") | out-null
$prop_Name = [Microsoft.SharePoint.Administration.SPContentDatabase].GetProperty("Name")
$prop_DiskSizeRequired = [Microsoft.SharePoint.Administration.SPContentDatabase].GetProperty("DiskSizeRequired")
$prop_Sites = [Microsoft.SharePoint.Administration.SPContentDatabase].GetProperty("Sites")
[Microsoft.SharePoint.Administration.SPFarm]::Local.Services |? {
$_.GetType().FullName -eq "Microsoft.SharePoint.Administration.SPWebService"
} |% {
$_.WebApplications |% {
$_.Name
$_.ContentDatabases |% {
$prop_Name.GetValue($_, $null)
$prop_DiskSizeRequired.GetValue($_, $null) / 1GB
}
}
}

The output will be:
Web App
Content Database Name
Content Database Size in Gigs.

You can change the output displayed size to MB by updating:
$prop_DiskSizeRequired.GetValue($_, $null) / 1GB
$prop_DiskSizeRequired.GetValue($_, $null) / 1MB

The parameter is incorrect

From one day to the next my Crawl Log went to all *%&%&$.

On every item that was being crawled, a message of The parameter is incorrect was being returned.

I was shocked that this fixed it, but it did!

Central Administration > Operations > Services on Server > Office SharePoint Server

Search Service Settings

I updated the Contact E-mail Address with a new email address, entered the Farm Search Service Account password, and clicked OK.

Fired off a Crawl, and everything was back to normal.

 

office sharepoint server search stopping

Recently had the Office SharePoint Server Search service get stuck in a Stopping status.

Central Administration > Operations > Services on Server

Things I tried that DID NOT work:
1. Rebooting the server.
2. taskkill.exe /F /IM mssearch.exe /T
3. Disable the Office SharePoint Server Search Service
Reboot
Start the Office SharePoint Server Search Service

What DID WORK:
Logged into the server using one of the Farm Admin accounts.
Ran this command: stsadm.exe -o osearch -action start

This stuck on Stopping issue appears to be a common problem. Some people can resolve the issue by rebooting the server, while others have to run the SharePoint config wizard. Hope my quick fix helps.

Your SharePoint site collection is about to expire

To extend the expiration date for this site collection, click the link below:
http://url.aspx

Otherwise this site collection, including all of its subsites, might be deleted.

If this site collection is no longer needed, you can delete it by going to http://url.aspx, and selecting “Delete this site”.

Please note – When a SharePoint Web site collection is deleted, all Web sites, content and information which were part of the site collection are completely erased. The site can only be restored if a backup exists.

To update the settings for this alert you will need to venture into Central Administration.
Central Administration > Application Management > Site Use Confirmation and Deletion

Select the Web Application you want to update and then click OK.

SharePoint Designer Blank Lines

How do you remove blank lines in SharePoint Designer?

1. Select / highlight 4 blank rows (select more or less depending on how many you want to delete).
2. Ctrl+H (Edit –> Replace)
3. Replace All

You might have to perform this more than once to truncate all the blank rows.

My .aspx grew from ~1,000 rows to over 300,000 rows.  Why?  I’ll assume it had something to do with the Data View web part.

SharePoint Search Thesaurus TSenu.xml

How do I update SharePoint 2010 or 2007 to search for more than term at a time?  What?

In my example, every time I search for Pizza, I also want to see Taco search results.  This is a two way street.  Search for Taco, I also see Pizza results.

Key word here is synonyms.  And we have two options to play with. Replacement and Expansion Sets.  Replacement = user searches for “top secret” and they see results for “HR company policy”, Replacement allows you to replace search strings with other search strings.  Expansion Sets = user searches for “Taco”, and they get results for Taco, Pizza, Fruit, Cookie…. Expansion allows you to add more words to your searched text.

This KB article goes into greater detail: http://support.microsoft.com/kb/289652

Another helpful link: http://www.codeproject.com/Articles/36203/How-to-Configure-SharePoint-Treasure-Synonym-In-MO.aspx

First I created a Document Library and uploaded two files, Pizza and Taco.

Search for Pizza, and the only think I see are Pizza results.

After updating the TSenu.xml file located at:

Drive:\Program Files\Microsoft Office Servers\12.0\Data\Applications\[SSP Admin Site GUID]\Config\tsneu.xml

to look like this:

<XML ID="Microsoft Search Thesaurus">
<thesaurus xmlns="x-schema:tsSchema.xml">
<diacritics_sensitive>0</diacritics_sensitive>
<expansion>
<sub>Taco</sub>
<sub>Pizza</sub>
</expansion>
</thesaurus>
</XML>

Then do a quick command update:
NET Stop oSearch
NET Start oSearch

I now see results for Pizza and Taco

No need to reboot or do an IISreset.

If you update the xml file and do the NET Stop/Start, but are not seeing expected results.  Try searching for TSenu.xml on your server to make sure you are updating the correct file.

As you can see here, there is more than one XML file on a server.

Note from the KB article:

(For example, the English (United States) version of the thesaurus is TSenu.xml.

If you working in other languages make sure you update the correct XML file.