asp.net mvc 5实体框架6身份工作与信任级别=中等? [英] asp.net mvc 5 entity framework 6 identity working with trust level = medium?
问题描述
查看错误图像:
< a href =http://s18.postimg.org/fm2qw8gzt/print.png =nofollow> http://s18.postimg.org/fm2qw8gzt/print.png
我试图加入到assembly.cs [assembly:AllowPartiallyTrustedCallers]。它不起作用。我创建了一个很强的名字键。它不起作用。
服务器不支持level =完全信任。
不要相信有需要要充满,因为很少的asp.net mvc 5网站将工作在通用服务器上。
任何想法?
Microsoft的组件Identity需要具有完全信任级别的服务器才能运行。
检查Levi的答案。
Visual Studio 2013 Web表单网站不符合信任级别中
Creating the simplest project (In visual studio 2013 -> asp.net web application -> MVC authentication with individual accounts), it works perfectly on localhost. However, when sending to the server (medium trust level), the project does not work when I try to enter login.
See the error image: http://s18.postimg.org/fm2qw8gzt/print.png
I tried to include on assembly.cs [assembly: AllowPartiallyTrustedCallers]. It did not work. I have created a strong name key. It did not work.
The server does not support level = full trust.
Do not believe there need to be full, because few asp.net mvc 5 sites would work on common servers.
Any idea?
The component "Identity" from Microsoft needs server with "Full Trust" Level to run.
Check Answer from Levi. Visual Studio 2013 Web Forms Site doesn't work with trust level "Medium"
这篇关于asp.net mvc 5实体框架6身份工作与信任级别=中等?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!