Thursday, October 11, 2012

Installing SharePoint 2013 (preview)

Ok, there are some fabulous blog-posts out there on how to install SharePoint 2013 (preview). One thing most of them are missing though: the fact that your (production) servers don't have internet connection. Articles from Microsoft like these Link are helpful but not complete. To reflect this situation I decided to create a VM with no internet connection and install SharePoint 2013.
This changes the game a bit; I recommend putting on some nice relaxed music like EC 'Old Love' Link which gives you about 8:45 minutes & read trough this blog post to prevent some hassles.

Step 1; download SharePoint 2013
(2.2 GB of binaries but NO PREREQUISITES !!!)

Step 2: Write down the product key:

Step 3: This is a .img file, my Oracle Virtual Box can't read these.
Solution, using Virtual Clone Drive to mount the .img & then add a virtual drive to the virtual clone drive drive in virtual box, giving the VM access to the SharePoint 2013 goodies.

Step 4: Download the prerequisites.
A nice overview can be found here:
Thanks Oliver

Step 5: Deal with the prerequisites issues.
First I thought I could just run each .msi / .exe by hand.. this does not work.
You will have to run the prerequisites installer from the (admin) command prompt to install all prerequisites step by step:

1) Microsoft .NET Framework 4.5
prerequisiteinstaller.exe /NETFX:dotNetFx45_Full_x86_x64.exe

2) Windows Management Framework 3.0 (CTP2)
prerequisiteinstaller.exe /PowerShell:Windows6.1-KB974405-x64.msu

3) Microsoft SQL Server 2008 r2 Native Client
prerequisiteinstaller.exe /SQLNCli:Sqlncli.msi

4) Windows Identity Foundation (KB974405)
prerequisiteinstaller.exe /

5) Microsoft Sync Framework Runtime v1.0 SP1 (x64)
prerequisiteinstaller.exe /

6) Windows Server AppFabric
prerequisiteinstaller.exe /AppFabric:windowsServerAppFabricSetup_x64.exe

7) CU Package 1 for Microsoft AppFabric 1.1 for Windows Server (KB2671763)
Manually installed (executed .exe)

8) Windows Identity Extensions

9) Microsoft Information Protection and Control Client
prerequisiteinstaller.exe /MSIPCClient:setup_msipc_x64.msi

10) Microsoft WCF Data Services 5.0
You have to run: the trusted root certificate update program before this step; then execute the install

Before Installing, Update for Root Certificates For Windows Server 2008 [April 2012] (KB931125)

prerequisiteinstaller.exe /WCFDataServices:WcfDataServices.exe

Step6: WcfDDataServices
The WcfDDataServices comes with it's own problem. It needs a trusted root certificate which the installer can't download from the web. So you need to do it for it.
This can be done by doing a 'search' on 'root update' at the Microsoft update center:

There you can download the Update for Root Certificates For Windows Server 2008 [April 2012] (KB931125).
Install the file (it doesn't give you any clue if it succeeded), after that you can run the prerequisiteinstaller.exe /WCFDataServices:WcfDataServices.exe command and this install will succeed.

Step 7: Download Service Pack 1 For SQL Server 2008R2
Yep, it's time to upgrade that SQL !

Step 8: Ready to install!!
Yep, now you're all ready & set to install the actual SharePoint 2013 binaries !
You can follow some setup guidance available by great other bloggers like:
Eric Harlan

Step 9: Oh, it seems there are some more prerequisites to install, to prevent problems with your Search Service Application later

Tuesday, October 02, 2012

Unable to configure Search Service Application (domain\Administrator does not exist)

For a long time I didn't use the SharePoint Search configuration on my develop VM but last week I wanted to demo the search capabilities so I decided to (quickly!) create the Search App.... or not..

Everything configured, name, application pools etc. GO !!
--> Error !! The configuration couldn't create the databases because the [domain]\administrator didn't exist / have rights.

Being a DBA for a number of years, I quickly opened the SQL Management Studio, checked the user accounts and 'Administrator' was there (no domain prefix).
I tried to rename this account to [domain]\administrator but no luck, SQL didn't allow me to do this.


Couple of minutes later I saw there was another administrator account ! This one was called [machine name]\administrator. I renamed this account to [domain]\administrator and voila, problem solved.

Content Organizer + Document Sets = error

When you enable both the content organizer and the awesome SharePoint 2010 Document Sets features, you run into trouble when trying to create a new document set in a document library.

The descriptive error you will get is:
Unable to create a Document Set in this location because of the Content Organizer settings. Please contact your administrator.

SharePoint tries to route the document set which it shouldn't even try. You can disable this functionality by going to Site Settings -> Content Organizer Settings -> Clear the check-box for 'Require users to use the organizer when submitting new content to libraries with one or more organizer rules pointing to them'.

Now you will be able to create document sets again !

[Bulb on the fuel guage is flashing] 
Kowalski: Skipper, look. 
Skipper: Analysis 
Kowalski: It looks like a small incandescent bulb, designed to indicate something out of the ordinary, like a malfunction. 
Skipper: I find it pretty and somewhat hypnotic. 
Kowalski: That too, sir. 
Skipper: Right. Rico, maunal! 
[Catches the manual and smashes the bulb with it] 
Skipper: Problemo solved.