Posts

Showing posts from October, 2014

Resolve KN server slowness

1. Hosting / Production server OS investigation: using monitoring tools, need for Hot-fixes, missing certificate => http://kb4sp.wordpress.com/2011/07/28/got-a-slow-sharepoint-farm-maybe-theres-some-smoke-in-your-chimney/ 2. IIS investigation: Worker processes, IIS Application pooling, IIS log 3. Network level investigation: 4. SQL Server investigation: db logs, recovery model,  => http://www.networkworld.com/article/2210265/tech-primers/10-steps-to-optimize-sharepoint-performance.html 5. SQL code level using SQL profiles => http://www.slideshare.net/rishumehra/sql-server-profiler-performance-monitor-sarabpreet-singh 6. SharePoint server level investigation http://technet.microsoft.com/en-us/library/ff872146%28v=office.14%29.aspx http://apmblog.compuware.com/2013/03/12/net-and-sharepoint-performance-dont-let-default-settings-ruin-your-end-user-experience/ 7. SP server interaction with DB server 8. SP se...

Import User Profile Photos from Active Directory

Import User Profile Photos from Active Directory into SharePoint 2010 1. First of all, make sure the User Profile Service Application service is started and running: Central Administration >> Application Management >> Manage service applications 2. Then, make sure that Forefront Identity Management Service is also running: Windows Start Menu >> Administrator Tools >> Services 3. Create a new AD Connection: User Profile Service Application >> Synchronization >> Configure Synchronization Settings http://spwindow.blogspot.fi/2014/10/sync-user-profile-information.html 4. Before synchronising user profile, user properties need to be mapped properly: User Profile Service Application >> People >> Manage User Properties 5. Sync user profiles after mapping the properties: User Profile Service Application >> Synchronization >> Start Profile Synchronization http://spwindow.blogspot.fi/2014/10/sync-user-profile-info...

Set NetBiosDomainNamesEnabled to TRUE

http://blog.bugrapostaci.com/tag/netbiosdomainnamesenabled/

Sync User Profile Information

How to Sync User Profile Information using the Profile Synchronization Feature in User Profile Sync for SharePoint 2010: http://community.bamboosolutions.com/blogs/sharepoint-2010/archive/2014/01/14/how-to-sync-user-profile-information-from-ad-to-sharepoint-with-user-profile-sync-for-sharepoint-2010.aspx

How to Start the User Profile Synchronization Service in SharePoint 2010

follow the steps bellow if the user account do not have sufficient permission: http://community.bamboosolutions.com/blogs/sharepoint-2010/archive/2014/01/13/how-to-start-user-profile-synchronization-service-in-sharepoint-2010.aspx

register a dll using visual studio command prompt tool

To use gacutil on a development machine go to: Start -> programs -> Microsoft Visual studio 2010 -> Visual Studio Tools -> Visual Studio Command Prompt (2010) Then use these commands to uninstall and Reinstall respectively. Note I did NOT include .dll in the uninstall command. gacutil /u myDLL gacutil /i "C:\Program Files\Custom\myDLL.dll" collected from: http://stackoverflow.com/questions/7787607/drag-and-drop-a-dll-to-the-gac-assembly-in-windows-server-2008-net-4-0

Turn on / off Developer Dashboard in SharePoint server

copy-paste the bellow chunk of code in PowerShell or SharePoint Management Shell: $DevDashboardSettings = [Microsoft.SharePoint.Administration.SPWebService]::ContentService.DeveloperDashboardSettings; $DevDashboardSettings.DisplayLevel = 'On'; $DevDashboardSettings.RequiredPermissions = 'EmptyMask'; $DevDashboardSettings.TraceEnabled = $true; $DevDashboardsettings.Update() $DevDashboardSettings = [Microsoft.SharePoint.Administration.SPWebService]::ContentService.DeveloperDashboardSettings; $DevDashboardSettings.DisplayLevel = 'OnDemand'; $DevDashboardSettings.RequiredPermissions = 'EmptyMask'; $DevDashboardSettings.TraceEnabled = $true; $DevDashboardsettings.Update() $DevDashboardSettings = [Microsoft.SharePoint.Administration.SPWebService]::ContentService.DeveloperDashboardSettings; $DevDashboardSettings.DisplayLevel = 'Off'; $DevDashboardSettings.RequiredPermissions = 'EmptyMask'; $DevDashboardSettings.TraceEnabled ...

UserProfileManager

http://msdn.microsoft.com/en-us/library/microsoft.office.server.userprofiles.userprofilemanager.aspx http://www.sbrickey.com/Tech/Blog/Post/UserProfileManager_via_PowerShell

Set permissions to User Profile Service Application in SharePoint 2013

Delegate administration of User Profile service application features in SharePoint Server 2013 http://technet.microsoft.com/en-us/library/ee721065%28v=office.15%29.aspx http://www.mavention.com/blog/granting-permissions-user-profile-service-application-powershell

Restore-SPSite error, No content databases in the web ...

Restore-SPSite error, No content databases in the web application were available to store your site collection. After Sharepoint 2010 Services Pack1 Get-SPDeletedSite – this command gets a list of all deleted Site Collections in your farm. Restore-SPDeletedSite – this command is used to restore a deleted Site Collection within your farm Remove-SPDeletedSite - this command will remove the site collection completely. Please wait adventure is not over yet. It needs to manually run the " Gradual Site Delete " timer job from Central Admin > Monitoring > Job Definitions and select the Web Application where you are trying to restore. Wait for couple of min and now run the restore command and its worked as per expectation. Awesome! collected from: http://wscheema.com/blog/Lists/Posts/Post.aspx?ID=19