Thursday, January 29, 2015

Deploying SSL in multiple web application in same Server



I keep getting question on how to deploy SSL to multiple web application in same server. Found this great article to achieve the same

https://www.digicert.com/ssl-support/ssl-host-headers-iis-7.htm


Wednesday, January 28, 2015

Error while crawling MySite users wherein MySite Web application is set up with SSL

Error Message:

sps3s://www.domain.com/site$$$people/bucketid=1/itemid=539

An unrecognized HTTP response was received when attempting to crawl this item. Verify whether the item can be accessed using your browser. ( WebExceptionStatus: TrustFailure The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.; SearchID = 22908598-2E57-4053-96F5-FBB55B029959 )


Solution:

Ensure the SSL cert is registered under "Manage trust" in SharePoint central Admin


Step 1: Export the SSL Certificate
  •  Open the cert from browser. Click on the lock  in address bar 
  • Go to the tab called “Certification Path”, select the root CA certificate and click “View Certificate”
  • Select the “Details” tab and click on “Copy to file”
  • Save the file in your machine

Step 1: Import it in SP Central Admin


  • Go to SP Central Administration  / Security / Manage Trust. Click on “New”, add the root CA certificate from the local machine 



This should do the trick



Monday, January 05, 2015

User Profile not showing up with proper domain name: User profile sync issues

User are showing up with  different domain name after full profile sync.

For e.g . I have all the users defined in ABC domain but after sync some users are showing up as different domain.

expected users in User Profile : ABC\user1
but showing up as : DEF\user1

Note: There is no domain with name DEF but it still shows up that way.

One of the possible reason is Domain netbios name is different than the FQDN of the domain

Check out article below , section Permission requirements: Domain netbios name is different than the FQDN of the domain

http://blogs.msdn.com/b/russmax/archive/2010/03/20/sharepoint-2010-provisioning-user-profile-synchronization.aspx


Monday, September 08, 2014

New-SPTrustedIdentityTokenIssuer Exception of type 'System.ArgumentException' was thrown

Error Message 

New-SPTrustedIdentityTokenIssuer: Exception of type 'System.ArgumentException' was thrown.

Solutions

Ensure:


  • The name of the SPTrustedLoginProvider is not been using
  • The length of the name is less than 50
  • The certificate is not been using

Wednesday, September 03, 2014

Missing on {ServerName} Error even after patch is Installed

Are you getting an error "Missing on  {Servername}" even after installing the patch?

Something like this ?

Try running the powershell command  Get-SPProduct –local  in the server where the patch is showing up as missing  and if are having good day, it will take care of the issue and on refresh the message will go away


If running the command gives you Goose bumps, than dont worry its just a get operation. More here :
http://technet.microsoft.com/en-us/library/ff607885(v=office.15).aspx




Monday, June 09, 2014

User Profile Service Synchronization Service Stuck in "Stopping" State

1.  stsadm -o enumservices > c:\services.txt - This will provide list of services

2.  stsadm -o provisionservice  -action stop -servicetype "Microsoft.Office.Server.Administration.ProfileSynchronizationService, Microsoft.Office.Server.UserProfiles, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" -servicename FIMSynchronizationService

Thursday, June 05, 2014

User Profile Synchronization Service not Starting - SharePoint 2010

Started my task with lot of excitement to try out cross farm service publishing. Plan was to try  publishing the User profile service, so started configuration for user profile. 

---Tried to add new connection 

Boom...Errorr...User Profile Synchronization Service is not started. Ok. So that's not a big pain right. 

---browsed to services page and clicked on "Start" for user profile synchronization service....

Boom...service stopped. 

---Scratching my head for next hour , google google google ...bing bing bing....

At last one suggestion found , try restarting SharePoint Timer Services

--- Restarted timer services 

Boom ...service started :-)


 

Thursday, March 20, 2014

SharePoint 2010 Site Inventory

If you keep on hearing the question

How can we get inventory of all the site collection/ subsites in a web application including the created and last modified date of these sites.

well you don't have to look for third party tool. Simple old fashioned powershell is  a saviour

Get-SPWebApplication  http://.contoso.com | Get-SPSite -Limit All | Get-SPWeb -Limit All | Select Title, URL, lastitemmodifieddate , created | Export-CSV C:\Inventory.csv -NoTypeInformation


Enjoy!!!

 

Thursday, March 06, 2014

Object Expected JavaScript error in Start Page (start.aspx) - SharePoint 2013


Issue:

After creating new site collection when the user tries to browse main page, following error throws up and screen is stuck in "Working on it ....."  for eternity.....................



Resolution :
Browse to "Site feature" - > Look for "Minimal Download Strategy" - > [Deactivate the feature]


Browse to home page and the scripting error should have gone.....