“Sorry, something went wrong” error message when users try to navigate to Site Collection Features page

Users receive the following error message when they try to navigate to Site Collection Features page: Sorry, something went wrong An error occurred during the compilation of the requested file, or one of its dependencies. Could not write to output file ‘C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\d9bc15df\5100559f\App_Web_managefeatures.aspx.9c9699a8.qtwjbdlb.dll’ — ‘The directory name is invalid. ‘ The error message also…


Get a list of web templates and IDs in a SharePoint site

  # Find the template name of SharePoint site using PowerShell $web = Get-SPweb http://SiteUrl Write-host “Web Template:” $web.WebTemplate ” | Web Template ID:” $web.WebTemplateId $web.Dispose() # To get a list of all web templates, use the following PowerShell code function Get-SPWebTemplateWithId {      $templates = Get-SPWebTemplate | Sort-Object "Name"      $templates | ForEach-Object {…


March 2013 Public Update (PU) for SharePoint Server 2013 is here

The March 2013 Public Update (PU) for SharePoint Server 2013 and SharePoint Foundation 2013 have been released. The Server packages for the Feb CU are contained in the March PU and is available for download here: SharePoint Server 2013 March 2013 Public Update – KB 2767999  SharePoint Foundation 2013 March Public Update – KB 2768000…


Warm up script in PowerShell for SharePoint 2010 Environment

    # Warm up script for web apps along with the site collections within them in SharePoint 2010 environmentAdd-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue # The get-webpage function is from http://kirkhofer.wordpress.com/2008/10/18/sharepoint-warm-up-script/function Get-WebPage([string]$url){ $wc = new-object net.webclient; $wc.credentials = [System.Net.CredentialCache]::DefaultCredentials; $pageContents = $wc.DownloadString($url); $wc.Dispose(); return $pageContents;} # Enumerate the web app along with the site collections within…


Farm Communication in SharePoint

  The information provided in this article is available at Plan security hardening for SharePoint 2013 (TechNet) and SharePoint 2013 Ports, Proxies and Protocols – An Overview of Farm Communications See this table for commonly used ports and protocols in farm communication. Service Application Communication By default, communication between Web servers and service applications within…


SharePoint 2013 Prerequisites fails with MSI Installer error code 1603 while installing AppFabric 1.1

When installing SharePoint 2013 prerequisites on Windows Server 2008 R2, the prerequisite installer fails with the following error Appfabric installation failed because installer MSI returned with error code:1603 This is a generic MSI error message and does not give any indication about how to get the issue fixed. Uninstall or reinstalling only makes it worse….


Retrieve timer job history for a specified time range using PowerShell

    # Retrieve timer job history for a specified time range # Initial settings $Wa = Get-SPWebApplication "http://WebAppUrl"    # Supply the web app url here $From= "2/13/2013 12:00:00 AM"  # mm/dd/yyyy hh:mm:ss $To = "2/14/2013 12:00:00 AM" # Retrieve all jobs in the time range Write-Host "Listing all timer jobs that have run between…


Create a new Search Service Application in SharePoint 2013 using PowerShell

  The search architecture in SharePoint 2013 has changed quite a bit when compared to SharePoint 2010. In fact the Search Service in SharePoint 2013 is completely overhauled. It is a combination of FAST Search and SharePoint Search components. As you can see the query and crawl topologies are merged into a single topology, simply…


Running PowerShell on MOSS 2007

  If you are running MOSS 2007 on Windows Server 2003 the you have to download and install PowerShell from http://support.microsoft.com/kb/968930. Windows Server 2008  natively supports PowerShell. Set the  Execution Policy to ‘RemoteSigned’. You can check it by running ‘Get-ExecutionPolicy’ cmdlet The default execution policy for PowerShell is “Restricted” (commands only, not scripts)      # All…


Issue found with .NET Framework 3.5.1 Security update KB2756920

After installing the update KB2756920 on a Windows Server 2008 R2/Windows 7 RTM  computer running SharePoint Server 2010 with previously installed hotfixes for .NET 3.5 SP1. on the server, the following exception is thrown when any WCF service is hosted on IIS using HTTPS Server Error in ‘/SecurtyTokenServiceApplication’ Application Method not found: ‘System.String System.ServiceModel.Activation.iis7helper.extendedprotectiondotlessspnnotenabledthrowhelper(system.object)’ An…