Sunday, September 4, 2016

Windows Container

I wanted to try Windows Container for the second time now that it is out on Windows 10 (Anniversary Update). Great thing for me, I might be able to use it on my Surface Book on the go. Again, I went back to https://msdn.microsoft.com/en-us/virtualization/windowscontainers/about/about_overview, which is a good source to get things started. This time I was able to get docker up and running in no time, without any issues! This is a fantastic improvement over my last try on a Windows Server 2016 TP5. But still, the technical preview of the containers got it's issues, we will get to those in time.
First of all: Get docker running and download an images, I choose the nanoserver image:

And here you can see the installed images:

Finally I tried to run it and got this message:

My guess is: The images is broken, I tried the same thing with other images, like the windowsservercore image. And ran into the same issue.
So I still run into many issues, which is fine, in a way i guess, because it's a technical preview. But it is in a consumer end-product now and should work better than this. I will try to work with it again after the next Windows Updates, maybe it's a problem with my system.

Friday, September 2, 2016

SharePoint 2013: Content Type "Document Collection Folder" is sealed.

I created a new library to upload videos and encountered this error:

If you want to fix this issues, just activated the feature "Video and Rich Media":

Thursday, August 25, 2016

Re-certify MCSE: SharePoint

I had to get re-certified for SharePoint until December 2016, but decided to push through it now. There are two ways to do this:
- Take exam 383
- Re-certify through MVA
MVA is the Microsoft Virtual Academy, if you've never been there: Go check it out. It has a lot of videos that might help you while studying for different topics. Of course not every video is gold, so some have a very poor quality, but still deliver basic information and hints where to find more and deeper knowledge. And it's free.
Basically you can choose between paying 165 bucks (plus tax, plus going to one of those nice test centers) or sit at home and watch some videos for free. Guess what I did.

How do the two paths work?
Take exam 383
I didn't go through that process, but it is the same as always. Study for a test, got to a test center, pass or fail. How you study is up to you, where you study is up to you, but you will have to pay the exam costs.
Re-certify through MVA
That's the path I took and it is pretty straight forward. You go to https://www.microsoft.com/en-us/learning/recertification-virtual-academy.aspx and select the MCSE you want to re-certify, so you can see a list like this:
August 2016
The links will take you to collections of videos on https://mva.microsoft.com/. You will need to have a check mark behind every video or assessment or further information to pass. If you added the collections to a learning plan you can see your current status in your dashboard. But(!) you have to create a learning plan first (got to the MVA dashboard at the end you will find a button "Add learning plan"). So after a couple of videos and assessments, your dashboard might look like this:
You can send an email to the mail address (found here), currently you have to send your MCID, Microsoft Academy User Name and a copy of your transcript. Assuming everything is correct, it took a day until my re-certification was online. The re-certifications starts on the date you are sending the e-Mail, in my case I have to get re-certified by August 2019, maybe I should have waited until December.

Are there issues with the MVA system?
Of course, but it's free, so I'm more forgiving. You can take an assessment multiple times and fail until you have to go back to watch the videos. You will also not see what you did wrong, you will only see that you made a mistake in a certain question, which is more than you have in a test center! And that is the best part about the MVA system: You can actually see where you failed and take a deeper look into that.
But on the other hand there are still a lot of strange question where I was able to find the answer in the slide presentation, but it still showed up as failed. And I don't know why, because the system doesn't tell you which of the answers would be right or which of the answers (in multiple choice) are wrong. It makes it harder to study for, when you only know that something is wrong. It reminds me of my old math teachers, because they rarely explained what I did wrong, simply stated that I'm wrong. Maybe that's why I hate math till today... Still a better system than the test procedures you have to endure in test centers.

Use MVA again?
Yes. It's free, it works and it's better than the tests I took or the test centers I've been. Also there is a ton of information that you should check out.

Wednesday, July 27, 2016

SharePoint 2016: Remove Hybrid Connection to O365

This caused me some trouble! After configuring the hybrid connection in O365 by clicking "Hybrid configuration" (SharePoint Administration Center) the farm basically stopped working. Why? Because I was sitting behind some fire walls and TMGs and wasn't able / allowed to reconfigure everything. But how do I remove a hybrid connection? It took me a while, mostly because there is a lot of documentation still missing on this topic.
Under Application Management -> manage service applications you will find two new applications, which were added by the hybrid configuration wizard. One is called "ACS" and the other one is "SPO App Management Proxy". Simply remove both of them and you automatically remove the hybrid connection.

Monday, June 20, 2016

Windows Server 2016 Containers: Dockerd can't create a network

What are Containers?
Containers are pretty cool things, basically a virtual machine, but smaller and also faster deploy-able. You can run an application in your container, f.ex. a web application. If this application is buggy, unstable or has any other issue at all, only this container would be affected, not your host system und not other system. Kinda like a virtual machine, but munch smaller. Virtual Machines are normally used to host powerful web servers with multiple applications on it. Containers on the other hand are used for only one application at a time.
You can find more information over here: About Windows Containers
Also here's a link to a way longer explanation: Containers: Docker, Windows and Trends

Get Started!
To get started I followed the QuickStart Instructions (2 - Windows Server Quick Start) and everything went well until I was trying to register dockerd as a service (dockerd --register-service). It failed and I was not able to get why, because I followed the instructions, which are really easy. So instead of running it as a service, I thought that I could simply run dockerd when ever I need it. You know, just as a work-around. Well, that didn't work either, because I ran into a new error (Docker wasn't able to create a network). After a while I decided that I don't care about the network, I only wanted to try containers, so instead of running the dockerd as a service I ran this command.
In my Azure environment I had to run this script as an admin, but to keep it shorter and because I'm lazy this script will start a new PowerShell Window as an admin and will run the command 'dockerd -b "none"'. This will start the Docker Daemon without any network shenanigans. In some versions of Docker might happen that this command creates a bridge called "none".
The Docker Daemon will start, you will have to keep the PowerShell Windows running this command open. If you close it, you will not be able to use commands such as "docker images" or "docker search".
Aside from that issue, containers looks pretty cool. Hopefully I can get it for my Windows 10 very soon. Currently it's only available as an Windows 10 Insider Build (14352 and up) and in Windows Server 2016 Technical Preview 5.