Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Could not load type 'StackExchange.Redis.HashEntry' from assembly 'StackExchange.Redis

I was trying to setup the RedisSessionProvider to use with my Azure website via the Nuget package that's available.

When I run my website I get the following error:

Could not load type 'StackExchange.Redis.HashEntry' from assembly 'StackExchange.Redis, Version=1.0.219.0, Culture=neutral, PublicKeyToken=null'.

I've tried uninstalling and re-installing but no luck.

like image 213
Ryan Avatar asked Nov 08 '25 12:11

Ryan


1 Answers

Turns out when installing a fresh copy of the RedisSessionProvider it installs a really old version of StackExchange.Redis, once I updated that it worked.

like image 74
Ryan Avatar answered Nov 10 '25 02:11

Ryan



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!