0
I have an ASP.Net MVC 5 and Webapi application, in version . NET 4.5.2 and post them to my FTP server I have the following error (image at the end of the post)
And asking for the company’s technical support, they answered me the following:
From the . Net Framework 4.0, Microsoft modified an internal component of the so-called CAS (Code Access Security), which is who determines how classes can access each other.
In order for your application to be functional on our servers, it will be necessary to have the following three questions:
Medium trust
MVC4
Integrated
Here’s the question: Is there any way to make my current project have these specifications without having to create another project?
Annex:
Your hosting is Ocaweb?
– Jéf Bueno
@LINQ is yes ....
– Jeff0103
You have two options: 1) Change hosting; 2) Rewrite the application
– Jéf Bueno
is ... I ended up rewriting it and it worked
– Jeff0103