I developed a website based on MVC5+ working fine on local server. But I tried to published on remote server(shared) it throws exception System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
I add fulltrust in my web.config file but failed and contact Service Provider. They said that he can not provide full trust access on shared server and I need to buy dedicated server which is very costly.
I tried to role back MVC4 even this fail.
Please share your Idea with to resolve this issue.
Many Many Thanks in Advance