Firstly accepting that you would not normally be running IIS on Windows 10 other than for dev work… today I was unable to get past errors where I could not browse even to the iisstart.htm page:
That manifested itself as Event Ids 1500 and 1511 in the Event logs:
Windows cannot log you on because your profile cannot be loaded. Check that you are connected to the network, and that your network is functioning correctly.
DETAIL – Access is denied.
Windows cannot find the local profile and is logging you on with a temporary profile. Changes you make to this profile will be lost when you log off.
Googling that turned up some suggestions, but nothing that worked for me… if I did not want to mess with regedit. Here and here.
My final attempt was to browse through the app pool defaults and in desperation switch off the “Load User Profile” setting.
And that worked:
The initial error (which does not involve aspnet_regiis – that was an attempt at a solution) , seen when browsing to a Windows Service:
HTTP Error 404.3 – Not Found The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map.
On the path to fixing this, I came across mention of aspnet_regiis.exe. However attempts to execute that returned this:
This option is not supported on this version of the operating system. Administrators should instead install / uninstall ASP.NET 4.5 with IIS8 using the “Turn Windows Features On/Off” dialog, the Server Manager management tool, or the dism.exe command line tool.
Attempts to firstly use DISM.exe as I prefer the command line approach failed with this:
You cannot service a running 64-bit operating system with a 32-bit version of DISM.
Please use the version of DISM that corresponds to your computer’s architecture.
Googling the above shows that this is a complete red herring (64 vs 32 bit). So I abandoned that and went for the GUI option:
After an iisreset (not clear if I needed to do that), I got the result I wanted, this:
Coming back to aspnet_regiis, I don’t know if this had been removed earlier than Windows 10/WS 2012 R2.
A bit like Creative’s Zt3A synth. Right now just dabbling, as there are a massive number of sounds, as ever. Sample here.
There is obviously nothing special about Pester that encourages you down the TDD route. But assuming you start out with a test structure pattern that works for you, then with some trivial cosmetics, I find it is pretty good fun to do.
An example of some failing tests:
And following a fix to the code under test…
This is my overarching test runner:
For contriving a TDD approach out of this, you could:
clone my repository from GitHub here
From this location, delete the section below, so that you have a test but no SUT for it
When you execute RunAllTests.ps1, you see this:
You can then create nothing but the function name…
and execute RunAllTests.ps1 again…
, and eventually you get to a point when you have fully working code…
… and all tests passing:
This is quite interesting – no pretence that there is any musical skill on my part here… this is a set of mostly percussive instruments, with some token melodic ones being forced into the western musical scales.
From the drums, I have randomly picked the Gidamba library to save as a midi and an audio file. My only contribution was to press the highlighted pink keys below – that’s what you here.
This is part of my long trawl through Komplete 10. I was going to tackle the drum parts in 1 go… but they are quite different, one from the other, so that won’t work.
This is more drum machine than er drum kits, with loads of samples. Here I’ve posted a trivial mp3 of a pattern using the Alias kit. The midi is also in that folder.