Windows 8.1 Search Indexing

Recently my Windows Search started to misbehave. It consumed large amounts of memory and CPU time. In addition, the index (in C:\ProgramData\Microsoft\Search\Data) grew to several gigabytes.

To workaround that, I tried to reduce the indexed locations (Win + W, “change how windows searches”) and rebuild the index. So I changed the locations to only index Documents and hit “Rebuild”:


While this fixed the issues mentioned before, something new occurred. Suddenly, every time I tried to search for something in the search charm the computer began to freeze, keystrokes were not accepted at all or with a severe delay. The troubleshooter


did not produce any meaningful results and rebuilding the index did not help either.

It turned out, the solution is that you have to have your AppData folder in the indexed locations. So if you have the same problem just add


back the the indexed locations, rebuild your index, and you are good to go again.

DELETE Verb not working with WebApi and IIS

Recently I’ve had a problem where a deployed WebApi service did not accept the DELETE verb (locally, using IISExpress it worked). The solution was to remove the WebDAV module and handler for the specific site. So extend the web.config of the WebApi project with:

            <remove name="WebDAVModule" />
            <remove name="WebDAV" />

Then it worked just fine.

Books #1

Without much description here are two books I’ve recently read and which I can recommend:


REMOTE Front Cover

Tip: Don’t read it while standing in a fully crowed train commuting to a customer.

2) The Dip

A bit older but nevertheless a worthwhile read:

VS2013 build fails without errors

I just had a case where my Visual Studio 2013 solution failed to build even though no errors were displayed in the output pane or the log. The same happened for all the other targets (Clean Solution etc.). Building from the command line using msbuild directly, on the other hand, worked fine. The solution (as in previous VS versions) was to delete the user-specific settings. So a quick:

del /s /q *.user

fixed the problem for me.

Windows 8 apps event logs

While porting a rather large native application to Window 8 (Windows Store application) I encountered some startup problems. Errors like the following appeared:

Microsoft Visual Studio
Unable to activate Windows Store app ‘bf60ce1b-2569-4c4c-b319-0b3a2c9c1374_7qc4g378g6z3m!App’. The XXXXX.exe process started, but the activation request failed with error ‘The app didn’t start’.

The linked help page points to the event log located at:

Application and Services Log\Microsoft\Windows\Immersive-Shell folder.

However, there is no log at this place. The general application log then points to:

Activation of app 716190BC-25B0-45AB-A34E-4174A7ACEA5F_7qc4g378g6z3m!App failed with error: The app didn’t start. See the Microsoft-Windows-TWinUI/Operational log for additional information.

This log is also a bit difficult to find, it’s located below the “Apps” folder:


In the end the problems were caused by external dlls which were not build correctly.

Windows Phone 7 and Silverlight Slider Binding Bug

It took me about 4-5 hours today to finally recognize why one my custom controls behaved in a strange way. It is a control derived from the Silverlight slider control and I encountered strange behavior when binding the Maximum and Minimum properties. After countless checks to make sure, that my ViewModel logic was flawless I finally discovered that … the order of attributes in the xaml code *does* matter when binding these exact properties.

It turns out, instead of this

[sourcecode language=”xml”]
<Slider Name="slider" Grid.Column="1" Minimum="{Binding MinValue}" Maximum="{Binding MaxValue}" />
it should be this:
[sourcecode language=”xml”]

<Slider Name="slider" Grid.Column="1" Maximum="{Binding MaxValue}" Minimum="{Binding MinValue}" />


Other people have noticed the same:

Spotify App auf Windows Phone 7 in Deutschland / Spotify on Windows Phone 7 from Germany

Seit einigen Tagen ist nach langer Wartezeit endlich Spotify fuer das Windows Phone 7 erschienen. Leider, leider wurde die App nicht in den deutschen Marketplace eingestellt. Mit einem kleinen Trick ist es aber trotzdem moeglich, die Spotify App auch aus Deutschland heraus zu nutzen.


  • Ein ungelocktes Telefon. Am einfachsten mit einem Entwickleraccount, ansonsten ChevronWP oder aehnliches
  • Ein bezahlter Spotify Premium Account

Der Schluessel zur Installation ist ein kleines Tool names Phone7Market. Damit ist es moeglich, die .XAP Pakete fuer kostenlose Apps aus dem Marketplace zu laden. Praktischerweise wird nicht nur der deutsche Marketplace unterstuetzt, sondern auch die anderssprachigen Varianten.


Mit einer einfachen Suche im en-US Marketplace nach “Spotify” findet man das entsprechende Paket und es laesst sich aus dem Tool heraus direkt auf dem Device installieren:


Abschliessend ist noch zu sagen dass die App hervorragend funktioniert und eine sehr angenehme Metro Oberflaeche zum eigenen Spotify-Profil bereit stellt.

Viel Spass!