I have updated my project yesterday with IdentityModel 2.6, and I can't find why it does not compile anymore with this error.

error ASPRUNTIME : The pre-application start initialization method Start on type
Thinktecture.IdentityModel.Web.Configuration.AppStart threw an exception with the 
following error message: Value cannot be null.

I have just updated the package, no code change.

EDIT: The problem comes from missing web.config section described here http://brockallen.com/2013/05/28/configuration-for-wif-session-helper-apis-in-thinktecture-identitymodel/

This seems mandatory and all attributes must be filled otherwise it throws... sessionTokenCacheType for exemple must be filled...

It would be great to have more information on this.

TIA

有帮助吗?

解决方案

That's a bug in 2.6. Please upgrade to 2.6.1

其他提示

This was a bug and has been fixed in 2.6.1. Update from NuGet again. Sorry for the inconvenience.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top