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.
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"