After you install SharePoint Server 2010, depending on your configuration, the Health Analyzer Report may list several errors and warnings. In my tests, the errors and warnings listed in this article show up at least in the following two scenarios.
Windows Server 2008 R2, Active Directory, DNS, SQL Server 2008 R2, and SharePoint Server 2010 all running in Hyper-V on the same computer.
Windows Server 2008 R2, SQL Server 2008 R2, and SharePoint Server 2010 all running on the same computer on VMware ESXi server. Active Directory and DNS running on a separate computer in Hyper-V.
The following common errors and warnings are displayed in the Health Analyzer Reports list after installing SharePoint Server 2010, Office Professional Plus 2010, and configuring User Profile Synchronization (UPS) service.
1. Accounts used by application pools or service identities are in the local machine Administrators group.
2. Product /patch installation or server upgrade required
3. Verify that the Activity Feed Timer Job is enabled.
4. InfoPath Forms Services forms cannot be filled out in a Web browser because no State Service connection is configured.
5. Databases running in compatibility range, upgrade recommended.
6. Drives are at risk of running out of free space.
The two highlighted items related to the SharePoint Timer Service are closely related and can be fixed by using the same solution described in #2 below.
#1. Accounts used by application pools or service identities are in the local machine Administrators group.
Because of my scenario (most services running on one computer) and in Scenario 1 test lab environment SharePoint running on a Domain Controller (which is not a recommended configuration in a production environment) some of my service accounts have administrative privileges. I can ignore this warning in a lab or test scenario.
#2. Product /patch installation or server upgrade required.
This error is related to the SharePoint Timer Service (SPTimerV4). You can fix the error by running the following PSConfig.exe command at the command prompt. This command runs SharePoint Products Configuration Wizard and upgrades and installs all the necessary features.
C:\Windows\system32>PSConfig.exe -cmd upgrade -inplace b2b -force -cmd applicationcontent -install -cmd installfeatures
At the end of this command you should see the following results.
Successfully completed the SharePoint Products configuration.
Total number of configuration settings run: 6
Total number of successful configuration settings: 6
Total number of unsuccessful configuration settings: 0
Successfully stopped the configuration of SharePoint Products.
Configuration of the SharePoint Products has succeeded.
When you go back to the Central Administration’s Health Analyzer Reports list, you can double-click the error and select the Reanalyze Now option from the ribbon menu. The result should be a success and the error should go away in the Health Analyzer Reports list. You need to refresh the screen to see the results.
#3. Verify that the Activity Feed Timer Job is enabled.
You can simply double-click this warning and select Repair Automatically. The warning notice will disappear. You need to refresh the screen to see the results.
#4. InfoPath Forms Services forms cannot be filled out in a Web browser because no State Service connection is configured.
This warning is related to the InfoPath Form Services. The State Service is a shared service that is used by some SharePoint Server 2010 components to store temporary data across related HTTP requests in a SQL Server database. In SharePoint Server 2010, the State Service is required by InfoPath Forms Services (including out of the box and custom workflow forms), the SharePoint Server 2010 Chart Web Part, and certain Microsoft Visio 2010 scenarios that do not use Microsoft Silverlight 3.
If a State Service application doesn’t exist, you can create one by using the new-SPStateServiceApplication Powershell cmdlet. Here are the steps to configure the service using PowerShell.
#5. Databases running in compatibility range, upgrade recommended.
By upgrading and installing all the necessary features required by error #2 above, it should also take care of this warning in the Health Analyzer Reports list. You need to refresh the screen to see the results.
#6. Drives are at risk of running out of free space.
This warning only applies to my computer in a virtualized environment. I have at least 10GB of free space on a 30GB hard drive plus I have a second drive that has 25GB of free space. The warning message indicates that “Available drive space is less than five times the value of physical memory. This is dangerous because it does not provide enough room for a full memory dump with continued operation.” I am not interested in the full memory dump, in fact I have turned it off and I can also adjust the size of the swapfile or RAM if necessary so I can safely ignore this warning message, at least for now. I should point out that by default, the size of the swapfile (also known as pagefile) is 1.5 times the size of the RAM. If I increase the size of my RAM in my Hyper-V image, the size of my swapfile increases and I will see this warning. Another workaround that is easy to implement is to move the swapfile to another partition. I can easily add another virtual hard drive in my guest OS and then move the swapfile to the second partition.
In this article I have addressed some of the common errors and warnings that you may encounter after installing SharePoint. Although some of these may not apply to you in your environment and the solutions may not solve your problem because of other variables involved, in my experience these are fairly common when I install SharePoint Server 2010 in a test lab or training environment (Hyper-V images) so I thought I should document them for the public.
Copyright © 2013 Zubair Alexander. All rights reserved.
29 queries. 0.776 seconds