0
I need to publish an ASP.NET MVC application on a Locaweb server. But when publishing, the server displays the following message:
I tried to tag
<securityPolicy>
<trustLevel name="Medium" policyFile="web_mediumtrust.config" />
</securityPolicy>
<trust level="Full" originUrl="" />
But when placing, the server returns me this message:
What should I do?
I’m posting as an answer for not being able to comment yet. See this question ASP.NET Trust Level has similar information that you have provided.
– LP. Gonçalves
Possible duplicate of ASP.NET Trust Level
– Randrade
This is something from Locaweb. That answer and that question went through the same problem.
– Randrade
I’ve checked these questions and tried everything that’s in them, but nothing’s worked. I’m not using any external DLL. I already opened a call, but they said I should recompile my application to work on medium trust
– Davi GN
I’ve checked this answer, and I’ve tried everything in it, and nothing.
– Davi GN
That’s exactly what it is. It may be easier to switch hosting than to adjust your application.
– Randrade
But this is the only hosting that supports MVC and is good that I could find. There are some to indicate there?
– Davi GN
Has that one that you can test for 60 days. This other was well recommended. But overall, I still think the Azure the best option.
– Randrade