Errors, Hashtag, Migration, SharePoint 2013

Click on Hash tag Issue – Sorry, something went wrong

After a SharePoint 2010 to SharePoint 2013 migration, whenever a user clicked on a hash tag the detail page had the following error.



After looking around for a while I realize that one of the scripts, Control_TagFeed.js was not been loaded, I went to the folder /_catalogs/masterpages/display templates/system and realize that the file was on check out status for some reason.



I was unable to find the reason for this check out status but after publish the file hash tags were working again.




Migration, PowerShell, SharePoint 2010, Workflows

SharePoint Designer Workflow fired twice in a migrated list

Recenlty i migrate a SharePoint 2007 list and imported that list into a SharePoint 2010 site using some stsadm extensions.

The list used to have an SPD Workflow, since SPD 2007 cant be migrared i recreate the workflow using SPD 2010. But I realize that every time the workflow was trigger it was fired twice.

After some test i review the list schema and found out that the list had reference to the Workflow event receivers  for both SharePoint 2007 and SharePoint 2010.

To get rid of those extra refence i created an small powershell script:

$spWeb = Get-SPWeb -Identity http://mySP2010site/mySP2010SubSite/
$spList = $spWeb.Lists[“MyList”]
$eventsCount = $spList.EventReceivers.Count
$assembly = “Microsoft.SharePoint, Version=, Culture=neutral, PublicKeyToken=71e9bce111e9429c”
for ($i = 0; $i -lt $eventsCount; $i+=1)
      write-host $spList.EventReceivers[$i].Assembly
   if ($spList.EventReceivers[$i].Assembly -eq $assembly)
      write-host  “About to delete the reference”

 That solves my issue.