I ran into this error when I tried to run this blog (BlogEngine.NET | Open Source Blogging Platform) for the first time. I thought I had installed everything on my IIS Server but still the error.
When I searched for the error HTTP Error 500.19 and error code : 0x80070021 I stumbled upon this StackOverflow article. It was then easy to solve by following the steps below.
Valid for Windows Server 2012 with IIS 8.5 but it should work for later versions too.
- Go to Server Manager, click Add roles and features
- In the roles section choose: Web Server
- Under Security sub-section choose everything (I excluded digest, IP restrictions and URL authorization as I don't use them)
- Under Application Development choose .NET Extensibility 4.5, ASP.NET 4.5 and both ISAPI entries
- In the features section choose: NET 3.5, .NET 4.5, ASP.NET 4.5
- In the web server section choose: Web Server (all), Management Tools (IIS Management Console and Management Service), Windows Authentication - if you are using any of it
Ingrediënten (in 3 delen toevoegen, zie video)
- 150 ml water
- 25 gram suiker
- 50 gram ongezouten roomboter
- Snufje zout
- 125 gram amandelmeel of bloem
- 2 eieren
- Theelepel kaneel
- Suiker
- Kaneel
Bereiding
Smelt de ingrediënten langzaam of laag vuur. Voeg dan de bloem erbij en roer tot je een mooie deegbal krijgt en het goed gemengd is. Voeg de helft van de 2 eieren (geklopt) toe en roer er doorheen, dan het overige ei en het kaneel toe en roer verder. Laat afkoelen to je het met de hand kan vasthouden
Neem een spuitzak en vul met het deeg. Doe olie in een pan en verwarm tot 180 graden. Spuit streepjes deeg in de olie en knip af met een schaar en laat 4-5 minuten bakken. Draai om als nodig. Haal ze met een schuimspaan uit de olie en laat ze uitdruppen op een schaal met keukenpapier.
Meng wat kaneel door de suiker en wentel de Churros daar doorheen.
Sometimes you need a self-signed certificate for your website that is valid for a longer time. This is pretty easy to do in PowerShell. Use the command below and replace the -Subject parameter (<site_name)> with the name of your site.
New-SelfSignedCertificate -Subject <site_name> -CertStoreLocation Cert:\LocalMachine\My -DnsName "localhost" -NotAfter (Get-Date).AddYears(10) -KeyUsage DigitalSignature
In this example the certificate is valid for 10 years. See the AddYears(10)
part. Modify this to your liking.
Bonuskaart vergeten? Scan de kaart in de afbeelding hieronder en profiteer van de bonus korting. Klik om te vergroten.

Ga naar de bonus pagina