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.....



Wednesday, January 15, 2014

Test host process exited unexpectedly - Failed to queue test run: Unable to start the agent process


Today i was taking session of developer group and talking about the Visual Studio 2013 Test tools. Well it seems they did tried using it and bumped into error("Test host process exited unexpectedly - Failed to queue test run: Unable to start the agent process")  on first trial. 

Well It was a easy fix. As the user was running 64 bit processor based VM, he was geeting an error as Test project setting were set to 32 bit. Just change the test project settings. 

Test-> Test Settings->Default processor Architecture ->Select x64

Tuesday, January 07, 2014

MVC / MVP / MVVM design pattern. What's the difference?

Classic discussion very much prevalent  in architecture community. Though the concepts are quite old now and there are numerous applications build using design patterns, i hear the confusion of these patterns even today.

It's much easier to do white boarding and explain but for some of my readers, i keep getting an email to share an article. Well found one really good webcast from Joe homnick wherein a sample is converted to explain multiple patterns:

Check this out :
http://channel9.msdn.com/Events/TechEd/NorthAmerica/2011/DPR305 [ Its a old tech end presentation but am sure my readers will appreciate this one]

By the way it also explains the scenario to use such patterns and to my SharePoint geek frds, i hope you are following the MVP.

Let me know your thoughts after listening to this one.




Monday, January 06, 2014

SharePoint 2013 Apps vs SharePoint 2013 Solution

For readers looking for MS article , here is the link. Don't want to take spend your time with my thoughts:
http://msdn.microsoft.com/en-us/library/dn268593.aspx

For readers who are interested and have to time to read my thoughts and provide there 2 cent, read below.....

A lot of organizations are now looking forward to migrate their SharePoint Farm from previous version to SharePoint 2013. But as soon as they start the analysis they bump into multiple new terms, methodology and implementation practices.

One of them which is introduced in SharePoint 2013 in App Model. Well a similar a lean model was tested as "Sandbox Solution" in 2010 version but with least success. It had it's own pain points and developers ended up creating server side controls(Webparts/ User controls).

As word is moving towards cloud platform and concept of applications, SharePoint 2013 took similar route and is now offering App model. Actually it's a pretty smart move. Such framework aligns SharePoint technology in line with open technology which is very much prevalent in today's world wherein there are multiple ways of displaying data(well mobile phone are game changer in today's world) and secondly this approach also takes care of pain of maintenance by SharePoint admin team who were having hard time explaining why the infrastructure is not holding up and tends to break down frequently( Thanks to badly written code by development teams..).

So going to back to question of " do we really need to go app way or should be stick to the old way of coding and deploying in server" .


My take " Though it will take time to learn and implement apps for all the existing customization, it's still worth looking into and converting the most complex ones to SharePoint App, mainly the apps which have longer shelf life in organization"

Read and let me know your thoughts. I understand its not as straightforward and quick for make these changes.

I would like to know the apps you are working which might be a good contender. I am always open for discussion..


Enjoy ..the changing landscape of technology..