OneDrive, SharePoint 2013, Social, Uncategorized

Suite Links bar is missing on SharePoint 2013 (Newsfeed, OneDrive links)

I had this particular case where the suite links or the Newsfeed, OneDrive link in the top nav bar where not showing except in the Central Admin.

After googling a bit I found some suggestions that were impossible to accomplish in my case. Like recreating the user profile or granting access to the profile database to the users…

I found a solution that was not that invasive and worked form me:

  1. Go to Central Administration > Manage Service Applications > User Profile Services
  2. Click on Manage User Permissionsmysite1
  3. Grant your users permissions to use the social featuresmysite2

 

Advertisements
Branding, Branding, SharePoint 2010

SharePoint Dialogs flickering on Internet Explorer (IE)

I had an strange issue in a SharePoint page were the SharePoint dialogs made the screen flickers as the mouse pointer was moving around the site. I notice that the gray background wasnt there but if i resized the browser the gray background will appear and the flickering issue went away.

It seems that SharePoint has a issue trying to calculate when to block the background if the body overflow is not set to hidden…

After a few test I overwrite the body.v4master and the dialogs worked as expected.

This is the class I added (You can also overwrite the propery in the corev4.css but i wont advise you to do that):

body.v4master
{
 overflow:hidden !important;
}

***Update***
On another similar situation but with a custom branding where I wasnt allowed to use the overflow:hidden, it also worked using position:relative

body.v4master
{
  position:relative;
}
Errors, Installation, Office web apps, OWA, SharePoint 2013

Office Web Apps 2013 patch issue – Windows Update KB2592525 must be installed

During an OWA 2013 installation on a Windows Server 2008 R2 Sp1 I got the following error,

The operation failed, The server did not meet the following prerequisites: – Windows Update KB2592525 must be installed.

owapa1

It was strange since all prerequisites and patches were intalled, anyway I looked for the KB2592525 update, downloaded it but i couldnt install it, I got a “not applicable in your computer” error…

This update is not applicable to your computer

owapa3

To resolve this Issue I tried a manual installation which was succesful for me, the steps are the following:

  1. Create a folder, I called mine “KB2592525” and  is located in C:
  2. Place the downloaded MSU file there
  3. Using CMD navigate to the folder “KB2592525”
  4. Manualy Extract the files in the MSU using the following command line:
    1. expand Windows6.1-KB2592525-x64.msu –F:* C:\KB2592525
    2. You should see something like this:
    3. owapa2
  5. Now, install the extracted cab file using the Pkgmgr command:
    1. pkgmgr /ip /m:Windows6.1-KB2592525-x64.cab
  6. After this I didn’t get any “Installation Succeeded”… just a new command line will tell you that everything is ok…

I tried to Install OWA again after running those command and this time it completed correctly

owapa4

SharePoint 2013, Tips

SharePoint 2013 – Get installed products

Here is a quick way to validate the SharePoint products installed on a server:

1.- Run regedit

2.- Navigate to: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\15.0\WSS\InstalledProducts

  • 35466B1A-B17B-4DFB-A703-F74E2A1F5F5E   “Project Server 2013”
  • BC7BAF08-4D97-462C-8411-341052402E71    “Project Server 2013 Preview”
  • C5D855EE-F32B-4A1C-97A8-F0A28CE02F9C   “SharePoint Server 2013”
  • CBF97833-C73A-4BAF-9ED3-D47B3CFF51BE   “SharePoint Server 2013 Preview”
  • B7D84C2B-0754-49E4-B7BE-7EE321DCE0A9  “SharePoint Server 2013 Enterprise”
  • 298A586A-E3C1-42F0-AFE0-4BCFDC2E7CD0  “SharePoint Server 2013 Enterprise Preview”
  • D6B57A0D-AE69-4A3E-B031-1F993EE52EDC  “Microsoft Office Web Apps Server 2013”
  • 9FF54EBC-8C12-47D7-854F-3865D4BE8118    “SharePoint Foundation 2013”

Products

Errors, Installation, SharePoint 2013, Uncategorized

SharePoint 2013 Installation Error: The current server cannot be joined to this farm

A client ask me to add a new WFE server to his SharePoint farm, everything went well until I got this error during the Product Configuration Wizard

An exception of type System.InvalidOperationException was thrown. Additional exception information: The current server cannot be joined to the farm because the set of installed products does not match the products installed in the farm.

I looked at the logs and found this error:

The current server cannot be joined to this farm because the set of installed products does not match the products installed in the farm. The license state for the current server doesn’t match the farm’s license state

After validating the current and new servers products I found that the product key that was provided was for a SharePoint Enterprise and the current one was running Standar Edition. In order to join a server to the farm you need to have the same products installed on the new server.

Here is a quick way to validate the products installed on a server:

1.- run regedit

2.-Navigate to: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\15.0\WSS\InstalledProducts

3.- Compare the products between the servers:

Products

35466B1A-B17B-4DFB-A703-F74E2A1F5F5E – “Project Server 2013”
BC7BAF08-4D97-462C-8411-341052402E71 – “Project Server 2013 Preview”
C5D855EE-F32B-4A1C-97A8-F0A28CE02F9C – “SharePoint Server 2013”
CBF97833-C73A-4BAF-9ED3-D47B3CFF51BE – “SharePoint Server 2013 Preview”
B7D84C2B-0754-49E4-B7BE-7EE321DCE0A9 – “SharePoint Server 2013 Enterprise”
298A586A-E3C1-42F0-AFE0-4BCFDC2E7CD0 – “SharePoint Server 2013 Enterprise Preview”
D6B57A0D-AE69-4A3E-B031-1F993EE52EDC – “Microsoft Office Web Apps Server 2013”
9FF54EBC-8C12-47D7-854F-3865D4BE8118 – “SharePoint Foundation 2013”

Active Directory, Errors, PowerShell, SharePoint 2013

Access Denied for AD Group Users in SharePoint 2013

While trying control the site security using Active directory security groups I found this issue where users inside those groups were having an Access Denied Error. I realize that the next day they were able to get into the site but newly added users wont.

I assume this was some kind of synchronization problem, but it turns out is a default behavior, SharePoint will cache this group membership info for about 24 hours.

The time out can be configure to a lower value:

$sptokensvc= Get-SPSecurityTokenServiceConfig
$sptokensvc.FormsTokenLifetime = (New-TimeSpan -minutes 2)
$sptokensvc.WindowsTokenLifetime = (New-TimeSpan -minutes 2)
$sptokensvc.LogonTokenCacheExpirationWindow = (New-TimeSpan -minutes 1)
$sptokensvc.Update()
iisreset

This script will tell the token service that the claims will be valid for 1 minute and after that it will get the latest membership information from the Active Directory.

IMPORTANT: DO NOT SET THE LIFETIME VALUES LOWER THAN THE CHACHE EXPIRATION. If you do that the users will experience a ‘The context has expired and can no longer be used’ Error.

Errors, Installation, SharePoint 2013

SharePoint 2013 Pre requisites install fail, Error: The tool was unable to install Application Server Role, Web Server (IIS) Role.

SharePoint 2013 Pre requisites install fail, Error: The tool was unable to install Application Server Role, Web Server (IIS) Role.

While installing SharePoint 2013 in a Windows 2012 Server I was getting the following error right after the prerequisites installation begins:

SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\RebootRequired
Error: The tool was unable to install Application Server Role, Web Server (IIS) Role.

To solve the issue I set the following Local Policy:

1. – Windows Start

2. – run MMC

pre1

3. – Click File, Add/Remove Snap-in…

pre2

4. – Select Group Policy Object Editor and ADD it

pre3

5. – Navigate to Administrative templates / System

pre4

6. – Select and edit “Specify Settings for optional component installation and component repair”

7. – Enable and select “Contract Windows Update directly to download repair content instead of Windows Server Update Services (WSUS)”

pre5

9.- Re run the prerequisite installation