RedisSessionStateProvider – unknown command ‘EVAL’

A couple of days ago I was trying to use Redis as session storage for one of my ASP .NET websites. Even though it seemed to be a rather straightforward task (Scott Hanselman wrote about that a while ago), I ended up with some weird exception while running the app: ERR unknown command ‘EVAL’
unknown command 'EVAL'
This wasn’t for sure a connectivity issue, as I was able to connect to Redis server from Redis Clientredis-cli. For me it looked like my server is not able to “understand” EVAL command. I started digging around and it turned out that this command has been introduced in version 2.6.0
I’ve connected to the server using redis-cli and checked the version with

command and basically that revealed the problem.
rediscli
As you can see I’ve accidentally installed version 2.4.6 (I have no idea how I ended up with so old version). After upgrading to the newest one, my problem was gone and I was able to successfully store session in Redis.
working

RedisSessionStateProvider – unknown command ‘EVAL’

Visual Studio – restoring default exception window

I think everyone is familiar with this nice exception window we see once exception is thrown.
exceptionwindow
However today for some reasons my VisualStudio started showing some weird dialog.
exceptionwindow
This was pretty frustrating as I wasn’t able to see which line has thrown exception and basically after clicking “Break” or “Continue” application was terminated. After a while I found out that the default window is called “Exception assistant” and you can enable it in Visual Studio’s options. So in order to restore default behavior, just go to Tools -> Options -> Debugging -> General and select “Enable the exception assistant” checkbox.
enableexceptionassistant

Visual Studio – restoring default exception window