Securitytoken.svc cannot be activated due to an exception

“SharePoint 2010 Server stops working after installing KB 2756920”
“Problems with SharePoint 2010 Server after installing Windows Updates, like – Errors in the navigation panes – Complete failure to open any site – SharePoint sites will return 503 server error.When you check the Server’s Event- and/or ULS logs, you may find some errors similar to these:

Sender Information: System.ServiceModel.ServiceHostingEnvironment+HostingManager/17653682
Exception: System.ServiceModel.ServiceActivationException: The service ‘/SecurityTokenServiceApplication/securitytoken.svc’ cannot be activated due to an exception during compilation. The exception message is: Method not found: ‘System.String System.ServiceModel.Activation.Iis7Helper.ExtendedProtectionDotlessSpnNotEnabledThrowHelper(System.Object)’.. —> System.MissingMethodException: Method not found: ‘System.String System.ServiceModel.Activation.Iis7Helper.ExtendedProtectionDotlessSpnNotEnabledThrowHelper(System.Object)’.”

Support for Microsoft Windows Server 2008 R2 RTM +SP1 started on Febr. 22nd 2011!  you need to be at least on SP1.
Check out the lifetime support matrix here:  http://support.microsoft.com/lifecycle/?p1=14134

For Details:
http://blogs.technet.com/b/steve_chen/archive/2013/01/11/3545423.aspx

Next Cumulative Update (August 2012) can only be install with SP1 installed farms/server.

If you don’t install SP1 on your SharePoint 2010 farm yet ,  Please read the fallowing post
http://blogs.technet.com/b/stefan_gossner/archive/2012/07/11/is-sp1-installed-on-your-sharepoint-2010-farm.aspx

About Sorting problem on Picture Library in Sharepoint 2010 after installing Dec 2011 CU

Hello Everyone,

We have a problem for sorting on Picture Libraries in Sharepoint 2010 . I have tested the issue SPS2010 + SP1 + Dec 2011 CU and can be easly reproducable.
The problem is when you click “Column” links or click popup window Ascending or Descending links nothing happens .Thats mean you can not able to sort items in Picture Libraries.
As far as i know it was working on SP1 level . The problem has occuring after CU upgrade.

Does any fix ? Not yet .(12/03/2012) I am expecting but not sure in June CU 2012 will fix the issue.
So until then you can use fallowing workaround to fix issue.

It is very simple wsp file created as site scope that dispatching postback events on picture libraries by using Jquery.
You can download WSP or Source project form Codeplex.
http://spssampleprojects.codeplex.com/releases/view/84054

For installing solution:

1) Download “PictureLibraryFix.wsp” file to c: drive of your sharepoint server

2) Open a Sharepoint Management Shell and

3) Type fallowing for adding solution to sharepoint
Add-SPSolution -LiteralPath c:\PictureLibraryFix.wsp

4)Type fallowing for installing solution:
Install-SPSolution -identity picturelibraryfix.wsp -GACDeployment

5)Type fallowing for enable feature on specific site collection:
Enable-SPFeature -Identity 8af7cb42-0fc7-4aa6-91e8-e1d1993b34cc -url http://blog.bugrapostaci.com

 

 

 

Misunderstanding when upgrade Sharepoint Server 2010 SP1 with Language Service Packs KB2460059 vs KB2460056

As you know we have installation setup for language pack 2010 Service Pack 1

1) Service Pack 1 for Microsoft SharePoint Foundation (MSF) 2010 Language Pack (KB2460059)
http://www.microsoft.com/download/en/details.aspx?id=26629

2) Service Pack 1 for Microsoft SharePoint  Server (SPS) Language Pack 2010 (KB2460056)
http://www.microsoft.com/download/en/details.aspx?id=26621

Some of the articles in internet tell us install MSF Language service pack1 first KB2460059 and than install KB2460056 after.
THAT IS NOT CORRECT !!!
If you fallow this order  ,you can easily detect that you can not able install KB2460056  after KB2460059 .

First of all the KB2460056 contains all packs for KB2460059.

That’s why if you have Sharepoint Server 2010 you should install only  Service Pack 1 for Service Pack 1 for Server Language Pack 2010 (KB2460056) or
if you have Sharepoint Foundation 2010 you should install only  Service Pack 1 for Microsoft SharePoint Foundation 2010 Language Pack (KB2460059)

For prove this i have download Turkish SPS and MSF Language Service Pack1 and extract the packages and compre them.

Service Pack 1 for Microsoft SharePoint Foundation (MSF) 2010 Language Pack (KB2460059)
spflanguagepack2010sp1-kb2460059-x64-fullfile-tr-tr.exe

Service Pack 1 for Microsoft SharePoint  Server (SPS) Language Pack 2010 (KB2460056)
serverlanguagepack2010sp1-kb2460056-x64-fullfile-tr-tr.exe

 

 

 

 

Move Sharepoint 2010 server to another domain

If once you need to move your sharepoint server to another farm you have to know this is not an easy process. In this article i am telling you a way of doing migration via using domain trusts.

  1. Upgrade Current farm lastest SP (Service Pack 1) and lasted CU
    Sharepoint SP1 and June CU information
    http://blogs.msdn.com/b/joerg_sinemus/archive/2011/06/29/sharepoint-2010-sp1-and-post-sp1-june-2011-cu.aspx
    https://blog.bugrapostaci.com/2011/06/29/sharepoint-2010-service-pack-1-sp1-and-june-2011-cu-released/
  2. Estabilish two way domain trust between Domain A (old) and Domain B
    http://technet.microsoft.com/en-us/library/cc773178(WS.10).aspx
    http://technet.microsoft.com/en-us/library/cc816837(WS.10).aspx
    http://technet.microsoft.com/en-us/library/cc816590(WS.10).aspx
  3. Setup and Install new Sharepoint Server on Domain B and Upgrade this server lastest SP and Lastest CU
    Prepare to deploy software updates (SharePoint Server 2010)
    http://technet.microsoft.com/hi-in/library/ff806331(en-us).aspx
  4. Join new server to farm using configuration wizard.
  5. Migrate all roles and service applications to new server and stop the domain A server services.
    Server and Site Architecture
    http://msdn.microsoft.com/en-us/library/ms473633.aspx
    Service Applications and Topologies in SharePoint Server 2010
    http://technet.microsoft.com/en-us/sharepoint/ff686757
  6. Update all service accounts and farm admin account with new Domain users.
    Initial deployment administrative and service accounts
    http://technet.microsoft.com/en-us/library/ee662513.aspx
    http://blogs.msdn.com/b/russmax/archive/2010/01/08/changing-sharepoint-2010-service-accounts.aspx
  7. Migrate all other needed users and groups using stsadm.
    http://technet.microsoft.com/en-us/sharepoint/ee517214
    Verify that you meet the following minimum requirements: See Add-SPShellAdmin.
    On the Start menu, click All Programs.
    Click Microsoft SharePoint 2010 Products.
    Click SharePoint 2010 Management Shell.
    From the Windows PowerShell command prompt, type the following:
    $w = Get-SPWebApplication “http://<server>/&#8221;
    $w.MigrateUsers($True)
  8. Check if needed Equalize all custom solutions, and web.config files and make a complete test of your custom solutions
    http://technet.microsoft.com/en-us/library/cc262995.aspx
  9. Stop all services on Domain A sharepoint servers and test your all application for any problem .(broken links , content redirections, posible errors)
  10. If Everything is ok at step 9 .Disconnect old servers (domian A servers) from farm
  11. Stop All Sharepoint servers on Domian B
  12. Stop SQL Server and change domain of SQL Server .
  13. Start SQL server services.
  14. Start Sharepoint Servers.
  15. Remove Domain Trusts.

I hope this helps 🙂