简体   繁体   English

使用自定义会话后(Redis)Asp.Net MVC4获取500内部服务器错误

[英]Asp.Net MVC4 Getting 500 internal server error after using custom session (Redis)

I'm using in-proc session state in my application & just change in-proc to custom. 我在我的应用程序中使用进程内会话状态,只是将进程内更改为自定义。

After changing session state, some place I'm encounter with 500 internal error. 更改会话状态后,在某些地方遇到500内部错误。

Here is my web.config entery 这是我的web.config entery

<add name="MySessionStateStore" type="Microsoft.Web.Redis.RedisSessionStateProvider" host="100.100.92.90" accessKey="" ssl="false" />

Can somebody can help me why this is happening ? 有人可以帮我为什么会这样吗?

这是因为Redis服务器无法访问(某些防火墙问题)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM