So the new SharePoint has arrived! Or has it? When I tried to install the standalone version of the new SharePoint Server 2013, I encountered a few issues. Let me show you the errors:
Before talking about the issues, let me first detail the setup.
As I didn’t have a domain setup and didn’t want to install a full SQL server and , I choose for a standalone installation. This will install a SQL express instance for SharePoint to use.
Everything went pretty fine (the server vhd was a big time saver), until the configuration wizard. After 2 steps, the installation of the config db gave this error:
Service running under Network Service account in workgroup environment is not supported.
After reviewing the default SharePoint services, I found a reference to the AppFabric component. This service was indeed running under the NETWORK SERVICE account. After fiddling around with write permissions on the config file of the service, I managed to pass that step, only to hit another road block:
TCP port 22234 is already in use.
This error also related to the AppFabric component. However, when reviewing MSDN it mentioned installing the component on another machine… which I didn’t have.. and which I didn’t want. This actually gave me an idea. Instead of making each error pass, maybe instead I should just deactivate AppFabric. Distributed cache in a single environment is not really that useful.
After decompiling, I found that SharePoint, when joining the local machine to the farm, has a conditional cache host registration. This lead to further decompiling into psconfig.exe which lead me to the psconfig command variable “SkipRegisterAsDistributedCacheHost”. This means: not running the configuration wizard by clicking on it, but running it through the command prompt. Easy peasy:
PS C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\BIN>
.\PSCONFIG.EXE -cmd Configdb create SkipRegisterAsDistributedCacheHost
And just like magic, psconfig created my new config db in three wonderful steps. After this, I just needed to rerun the configuration wizard through the UI to finish off the complete configuration. (if you have an issue when creating the sample data, don’t worry too much: the central admin is up and running. You are good to go!)
And there you have it! The madness can begin, once again! Have fun discovering SharePoint 2013!
UPDATE: This little trick will deactivate AppFabric. Microsoft acknowledged the issue and are updating the info. In the meantime, be aware that some features might be disabled by applying this. (Thx Pieter) Now that the RTM bits are out, I hope the issue is solved.