Posts

Showing posts from 2014

configuration of web.config fo IIS Application to show special character in mobile device

Following codes need to be added in web.config file to to enable the IIS for showing special character in mobile devices. <system.webServer> <staticContent> <remove fileExtension = ".woff" /> <!-- In case IIS already has this mime type --> <mimeMap fileExtension = ".woff" mimeType = "application/x-font-woff" /> </staticContent> </system.webServer> source: http://stackoverflow.com/questions/23007250/fontawesome-does-not-work-when-served-by-iis

Enable versioning on all lists and libraries

Copied from: https://social.technet.microsoft.com/Forums/office/en-US/2d82272d-9aea-453a-b2ae-bf7df55a0304/automatically-enable-versioning-on-all-document-libraries?forum=sharepointadminprevious There is no OOTB feature to do this but below mentioned powershell script will enable it on all existing sites: Add - PSSnapin Microsoft.SharePoint.PowerShell - erroraction SilentlyContinue $siteURL = $args [ 0 ] $site = Get - SPSite( $siteURL ) foreach ( $web in $site .AllWebs) { Write - Host "Inspecting " $web .Title foreach ( $list in $web .Lists) { if ( $list .BaseType -eq "DocumentLibrary" ) { Write - Host "Versioning enabled: " $list .EnableVersioning $host .UI.WriteLine() Write - Host "MinorVersioning Enabled: " $list .EnableMinorVersions $host .UI.WriteLine() Write - Host "EnableModeration: " $list .EnableModeration $host .UI.WriteLine() Write - Host "Major Versions: " $list .MajorVersionLimit ...

Configure Basic authentication for a classic-mode Web application (SharePoint Server 2010)

Copy-paste from: http://technet.microsoft.com/en-us/library/gg558567%28v=office.14%29.aspx To configure IIS to enable Basic authentication Verify that you have one of the following administrative credentials: You must be a member of the Administrators group on the server on which you are configuring IIS. On the Start menu, point to All Programs , click Administrative Tools , and then click Internet Information Services (IIS) Manager to start the IIS Management Console. Expand Sites on the console tree, right-click the IIS Web site that corresponds to the Web application zone on which you want to configure Basic authentication. In Features View, double-click Authentication . On the Authentication page, select Basic Authentication. In the Actions pane, click Enable to use Basic authentication with the default settings. In the Actions pane, click Edit to enter a realm name. In the Edit Basic Authentication Settings ...

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

In/UnInstall and Add/Remove SPSolution in SP2010

Start Sharepoint 2010 Management Shell (as administrative). then follow the bellow step(s): Add Solutions: Add-SPSolution E:\WSPs\BetaFeatures.wsp detail on: http://technet.microsoft.com/en-us/library/ff607552%28v=office.15%29.aspx Install/Deploy Solutions: Install-SPSolution BetaFeatures.wsp -AllWebApplications -GACDeployment [-Force] detail on: http://technet.microsoft.com/en-us/library/ff607534%28v=office.15%29.aspx Uninstall/Deploy Solutions: Uninstall-SPSolution BetaFeatures.wsp detail on: http://technet.microsoft.com/en-us/library/ff607873%28v=office.15%29.aspx Remove Solutions: Remove-SPSolution BetaFeatures.wsp detail on: http://technet.microsoft.com/en-us/library/ff607748%28v=office.15%29.aspx

SP Log file's location

Image
Go to Central Administration Click on Monitoring Under “Reporting” > Click on Configure Diagnostic Logging In the Trace Logs section of the page > Path The address here will tell you where on the server the logs are being kept but there is additional information available from the settings such as days of log storage, maximum storage space, etc. Changing the disk the logs are stored on assures your SharePoint application does not lose space to the logs and freeze up due to lack of space. To view logs, you can now go to the SharePoint server and travel to the location specified in Path – once here, ordering by date will help you find the most recent log If you have just received an error guid, search for it in the log – additional information about the error should be available here. copied from: http://chayadigital.wordpress.com/2011/11/16/how-to-find-your-sharepoint-error-logs/

Important URLs for working with Sharepoint

Important URLs for working with Sharepoint: preparation for exam: http://technet.microsoft.com/en-us/virtuallabs/bb512933   Developing KPIs and Scorecards with SharePoint 2010 PerformancePoint Services https://cmg.vlabcenter.com/default.aspx?moduleid=0038f9e1-dc60-4e08-987e-65bc74ee5e6c important icons: http://www.graphicsfuel.com/2011/11/waving-flag-icon-psd/#data http://pixlr.com/ PDF generating tool: http://pdfsharp.net/Downloads.ashx http://www.sharepointboost.com/calendar-rollup.html http://blogs.microsoft.co.il/blogs/itaysk/archive/2009/02/28/sharepoint-calendar-hard-limit.aspx 1. show more than 3 events per day in MonthViewSPCalendar: http://blogs.msdn.com/b/syedi/archive/2008/11/13/how-to-customize-a-calendar-to-show-more-events-in-a-monthly-chrome-view-in-wss-3-0-moss-sharepoint-2007.aspx 2. Merge two calendar in 1: http://social.msdn.microsoft.com/Forums/en-US/sharepointdevelopment/thread/a58bae82-ef69-4047-bfec-d79a5baa...

SharePoint Crawl "paused by system"

SharePoint Crawl "paused by system": $ ( Get - SPServiceApplication |? { $_ . Service - like "SearchQueryAndSiteSettingsService" }). ForceResume ( $ ( Get - SPServiceApplication |? { $_ . Service - like "SearchQueryAndSiteSettingsService" }). IsPaused ()) detail on : http://social.technet.microsoft.com/Forums/sharepoint/en-US/b668e5bf-499d-4658-86f2-3834dbd85e87/sharepoint-crawl-paused-by-system-cant-resume-via-powershell?forum=sharepointadminprevious

Restore a Site collection (SPSite)

Restore a Site collection (SPSite): Restore-SPSite http://server_name:12345/ -Path C:\Backup\siteBackup.bak -Force detail on: http://technet.microsoft.com/en-us/library/ff607788%28v=office.14%29.aspx and also http://technet.microsoft.com/en-us/library/ee748630%28v=office.14%29.aspx

Giving a User Site Collection Administrator Rights

Giving a User Site Collection Administrator Rights: detail on: http://technet.microsoft.com/en-us/library/cc750415.aspx

Steps (in brief) to install SP 2013 and deploy the default/parent site of the site collection:

Steps (in brief) to install SP 2013 and deploy the default/parent site of the site collection: 1. Prepare the server (Installation of Hardware and OS (i.e.: Windows Server 2012 R2) 2. Install service packs and other required updates for the OS 3. Setup and configure Active Directory and create user & user groups 4. Install Visual Studio & related service packs 5. Install SQL Server 2012 & related service packsadm 6. Install SharePoint 2013 & related service packs /  hot-fixes [Trial Product key for sp2010: VK7BD-VBKWR-6FHD9-Q3HM9-6PKMX ] 7. Create and configure SPFirm 8. Create New Web Application (i.e. NewWebApp) from "Application Management" section from "Central Administration" 9. Create the default/parent site (i.e. NewSite ) from "Create Site Collections" section from "Central Administration" under "NewWebApp" by choosing the URL as "/" more detail on: http://msdn.microsoft.com/en-us/library/...