Marc Molenaar on May 3rd, 2013

Let me first state that the situation I write about in this article I have experienced in a SharePoint 2013 test farm. I have done some search queries on the internet but I do not have read about it so far.

The test farm is updated with the SharePoint Public Update March. After this update there were several issues. In this post I will talk about the issue I experienced when I wanted to change Site Collection Administrator settings.

When you select site collection you normally see an overview with URL, Title, Description, Primary administrator, E-mail address and Database name. Like below:

sitecollinfo

The behavior I saw is that no information is shown about the site collection. Strange. See below:

nositecolladmin

I thought that maybe after clicking OK I would be able to set the administrators but the screen showed “no selection”.

noselection

At this moment I have no solution for this, only a workaround. With Powershell I have set the Primary and Secondary Owner Alias (Administrator). Use this cmdlet to do so:

Set-SPSite -Identity http://<url of site collection> -OwnerAlias <domain\user>
-SecondaryOwnerAlias <domain\user>

If you have any solution for this behavior I would appreciate it when you share it with me and the readers of this blog. Thanks!

Tags: ,

Marc Molenaar on March 7th, 2013

Something I always wondered but never researched until today is why my host header is greyed out of not available when i add a SSL certificate to my website. This is presumably a bug in IIS7.0 (I only work with IIS7.0, don’t know if other versions also have this problem).

When your certificate has a friendly name of “yourdomain.com” then the described behavior occurs. To change the friendly name you have to do this:

  1. Load MMC;
  2. Add Certificates snap-in;
  3. Select Computer Account;
  4. Select Local Computer;
  5. Browse to Personal > Certificates;
  6. Right click to select Properties on your cert;
  7. Change the Friendly name field to *.yourdomain.com;
  8. Reload the IIS manager snap-in.

I read about it in this discussion thread at serverfault.com

Tags: , ,

Marc Molenaar on December 18th, 2012

Today I have connected a SP2010 database to my SP2013 farm to test the upgrade of a client’s website. Some errors appeared in the log which I tried to solve. The first error I tried to solve because it appeared in the application log every half minute was:

Log Name:      Application
Source:        Microsoft-SharePoint Products-SharePoint Foundation
Date:          12/18/2012 5:35:14 PM
Event ID:      6398
Task Category: Timer
Level:         Critical
Keywords:     
User:          Domain\spfarm
Computer:      Server.domain.local
Description:
The Execute method of job definition Microsoft.Office.Server.Search.Monitoring.HealthStatUpdateJobDefinition
(ID 9fd01a1d-6f2d-438e-813b-b7cbebe34e9b) threw an exception. More information
is included below. Microsoft SharePoint Foundation Usage service application
not found.

I solved this by configuring the Usage and Health Data Collection Service Application (by running the wizard). The error disappeared but now the following errors appeared in the application log every minute:

Log Name:      Application
Source:        Microsoft-SharePoint Products-SharePoint Foundation
Date:          12/18/2012 5:36:14 PM
Event ID:      5586
Task Category: Database
Level:         Error
Keywords:     
User:         Domain\spfarm
Computer:      Server.domain.local
Description:
Unknown SQL Exception 2812 occurred. Additional error information from SQL Server
is included below. Could not find stored procedure 'dbo.Search_GetRecentStats'.
Log Name:      Application
Source:        Microsoft-SharePoint Products-SharePoint Foundation
Date:          12/18/2012 5:36:14 PM
Event ID:      6398
Task Category: Timer
Level:         Critical
Keywords:     
User:         Domain\spfarm
Computer:      Server.domain.local
Description:
The Execute method of job definition Microsoft.Office.Server.Search.Monitoring.HealthStatUpdateJobDefinition
(ID 9fd01a1d-6f2d-438e-813b-b7cbebe34e9b) threw an exception. More information
is included below. Could not find stored procedure 'dbo.Search_GetRecentStats'.

These two error and critical events were solved by following this blogpost by Joel Roos http://spjoel.wordpress.com/2012/08/06/could-not-find-stored-procedure-dbo-search_getrecentstats/

Tags: , ,

Marc Molenaar on December 11th, 2012

This part is about some things I ran into while installing a new search topology. In my previous blogpost (lessons learned part 1) I gave a solution when the search topology does not work. The solution was to start the WSS Usage Analytics Application Proxy.

Well, some time later I ran into another search topology that did not start either. This time is was a topology I wanted to install with PowerShell on multiple servers in a SharePoint 2013 farm. Somewhere on the technet forum I found links to 3 hotfixes that (according to the writer) have to be installed on all SharePoint servers to make it work.

The three hotfixes are (only for Windows Server 2008 R2 SP1):

http://hotfixv4.microsoft.com/Windows%207/Windows%20Server2008%20R2%20SP1/sp2/Fix402568/7600/free/447698_intl_x64_zip.exe

http://hotfixv4.microsoft.com/Windows%207/Windows%20Server2008%20R2%20SP1/sp2/Fix368051/7600/free/433385_intl_x64_zip.exe

http://hotfixv4.microsoft.com/Windows%207/Windows%20Server2008%20R2%20SP1/sp2/Fix354400/7600/free/427087_intl_x64_zip.exe

After installing these hotfixes on the two SharePoint servers (Web front End and Application) and installing the initial topology, I have configured search with the PowerShell scripts in this technet article: http://technet.microsoft.com/en-us/library/jj862356.aspx

The topology I was configuring:

Virtual machine A  (…208t)

Virtual machine B  (..206t)

Admin component

Crawl component

Content processing component

Analytics processing component

Query processing component

Index component 1 (that belongs to index partition 0)

After following the technet article this was the output:

searchcomponents

And this the final search topology:

searchadmin

Tags: , ,

Marc Molenaar on December 5th, 2012

Here at Mavention we already do a lot of SharePoint 2013 installations at customers. I hope  to produce a series of lessons learned posts about these installations. This one is about SQL and the search topology.

SQL
When you start the Config Wizard it is going to connect to your SQL server. If you receive an error that the SQL version 10.50.1600 is not supported it means that SQL Server 2008 R2 without SP1 is installed. After installing SQL Server 2008 R2 Service Pack 1 the SQL version number is 10.50.2531. This is the minimum required SQL installation for SharePoint 2013. By the way, SQL Server 2012 has version number 11.0.2100.60.

Be sure that Microsoft .NET Framework 4.5 is installed at the SQL server.

The setting “Max Degree of Parallelism” has to be set to 1 in SQL Server 2008 R2 SP1. To configure this you have to:

  • login to SQL Management Studio;
  • Click right at “(local) SQL Server”;
  • In the window “Server Properties” go to “Advanced”;
  • In the right pane you see in the section “Parallelism” the setting “Max Degree of Parallelism”. Change this to 1. (see below)

maxdegree1

Search Topology
After deploying the Search Service Application for the first time, the Search Application Topology might show an error like “Unable to retrieve topology component health states. This may be because the admin component is not up and running.
I found a post at the Technet forum about this error. Paul Stork indicated that this is caused by a WSS Usage Application Proxy that is in a Stopped state. Using the powershell script in the post solved it for me. But in other farms I did not have this issue. Might be a matter of timing.

Tags: ,