SharePoint Experts, Information Architects, Expert Witness

We provide consulting in a broad array of business and technology from architecture to design to deployment of global systems with a focus on surfacing data in the enterprise. Specialists in Microsoft, we are a premier provider of SharePoint Expertise (including 2016 and Office 365). We also provide Expert Witness/Legal Expert in eDiscovery, source discovery, patent infringement, piracy and more! We also have established SICG DLDS s.a. - our counterpart in Costa Rica that specializes in water systems (http://www.crwatersolutions.com) - Contact me direct: david_sterling@sterling-consulting.com or call 704-873-8846 x704.

Search This Blog

Sunday, August 21, 2016

SharePoint 2013 - SharePoint 2016 - Error Creating Web Application

So, you attempt to create a web application and for some reason, it doesn't get created - you get the innocuous error screen and it appears that while the web application was created, you cannot create a site and/or the IIS site was never created.

Suddenly you notice that you cannot access Central Administration any longer - a reboot fails to fix the problem.

First you look at IIS - CA site is there, but the 'offending' application is not.

You try to run the PSCONFIG to update and it runs through successfully, but you still cannot access Central Administration.

The problem it appears is that SharePoint gets confused and can't figure out how to enumerate the applications.

The fix is to manually delete the web application via PowerShell. BEFORE you do this, you have to make sure that the SharePoint Administration service is using an account that belongs to the farm (i.e. SP Farm Account) and NOT Local System:


If it is, change it before you attempt this (change the Log On credentials and restart the service).

Open the SharePoint Management Shell (using Run as Administrator of course) and enter the command:

Remove-SPWebApplication -Identity <URL, i.e. http://somesite;<port if needed>>

The full blown command can also be used:

Remove-SPWebApplication -Identity <URL, i.e. http://somesite;<port if needed>> -DeleteIISSite -RemoveContentDatabases

When prompted, enter Y to approve of the deletion.

For more info: http://technet.microsoft.com/en-us/library/ff607891.aspx

Be aware that this may take some time to run - several minutes as a matter of fact. If it NEVER completes, there is a good possibility that the Admin Service is still running as Local System (in that case, close the PowerShell, fix the service and retry.



Service Bus Stuck on Starting

Seems Microsoft is releasing stuff without considering what it does to existing installations. I had a SharePoint farm go south because of this (and have still not recovered). After doing updates, I found that the farm was unresponsive - 'part' of the reason appears to be due to the Service Bus which was stuck on starting.

Turns out the release of .NET 4.6 is causing havoc across the board - one such issue is the Service Bus stuck in 'starting' mode.

There is a hotfix:

http://support.microsoft.com/en-us/kb/3086798


Friday, August 19, 2016

Odd error with SP 2013 Central Administration

Just thought I would add this for those that might come across this error. You have some system updates and/or have to reboot your farm (you should be doing this once a month AT LEAST anyway). You go to open up Central Administration and uh-oh - you see this:


In case you can't read the image, the  error message is:
This operation can be performed only on a computer that is joined to a server farm by users who have permissions in SQL Server to read from the configuration database. To connect the server to the server farm, use the SharePoint Products Configuration Wizard, located on the Start menu in Microsoft SharePoint 2010 Products.
(Note - it says 2010, that's not a typo)

The problem is typically that SQL Server failed to start - this unfortunately is a common problem in 2012 R2 and I have seen it in 2014 as well. If you login to the SQL Server system, open the Services console through Administrative tools (or use Start > Run  and enter services.msc). You'll likely find that the SQL Server engine and SQL Server Agent are stopped (even though they are set to start automatically!):


You do NOT have to reboot SQL Server; just start both services, wait a minute and refresh Central Administration.
--------------------
David Sterling is the Principal Consultant for Sterling International Consulting Group, SharePoint experts with more than 100 implementations and over 13 years of experience.

We provide on site and remote consulting services for SharePoint (on premise, hybrid or purely cloud), SharePoint Online/Office 365, Azure and others. We provide multiple services including infrastructure development, information architecture, governance, business continuity and disaster recovery planning.

Contact us today at (888) 847-3679 or David direct at david_sterling@sterling-consulting.com