Skip to main content

Posts

Showing posts from May, 2019

Get list of solutions and features installed on farm using Powershell

Get list of all solutions installed on the farm: [void][System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint") $farm=[Microsoft.SharePoint.Administration.SPFarm]::Local foreach ($solution in $farm.Solutions)         {             if ($solution.Deployed){                Write-Host($solution.DisplayName)                $solution.DisplayName >> c:\temp\test.txt             }                  } Get list of all features installed on the farm: [void][System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint") $farm=[Microsoft.SharePoint.Administration.SPFarm]::Local foreach ($feature in $farm.FeatureDefinitions)          {             if ($feature.Scope -eq "Farm" -and...

SharePoint site keeps asking for credentials and shows blank page- Able to access by site collection admin alone

Thought of sharing my experience on an issue which took an entire day to resolve! Here it goes, Users unable to access the SharePoint site! Page keeps prompting for credentials thrice and returns a blank page. BUT site collection admin as well as farm account were able to access without any issue. Troubleshooting steps: 1. Checked for the event logs - Found nothing related 2. Restarted the security token service app pool. 3. Restarted IIS. 4. Cleared space in the drives. Nothing worked! 5. Performed Server reboot!  (1.App Server, 2.WFE, 3. DB Server) 6. Checked for the logs in all the servers. Error log in WFE server: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specif...