Tuesday, July 17, 2012

SharePoint 2013 Preview deployment issues

Today during SharePoint 2013 Preview deployment I got the following error:

ErrorCode<NonDomainNWService>:SubStatus<ES0001>:Service running under Network Service account in workgroup environment is not supported.

The first thing I tried was to install domain controller on my Windows Server 2008 R2 virtual machine. But it didn't help because Standalone option is missing then and it's possible to deploy SharePoint in advanced mode only without SQL Server Express:


The I found this link and the solution proposed here did the trick:


If you experienced the same issue during SharePoint 2013 Preview deployment in Standalone mode on a machine that is not connected to any domain (for example virtual machine) just run psconfig using this command from command line:

PSCONFIG.EXE -cmd Configdb create SkipRegisterAsDistributedCacheHost

And restart psconfig in normal mode to finish configuration.

Most likely you'll have some issues with default content population, but SharePoint configuration step will be already completed. So just create new site collection and enjoy.

Thursday, April 5, 2012

SharePoint 2010 version

It's very common task to find out the version of current SharePoint farm.

I typically use two approaches.

1. Simple PowerShell script:


This command will return the following screen:

2. Go to Central Administration -> Manage servers in this farm and you'll see something like that:

Hope this helps.