Hi, I have a dot.Net MVC C# framework 4.5 website and I'm getting the follow error message:
XMLHttpRequest cannot load http://www.ipefae.org.br/Account/VerificarUsuarioLogado. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://ipefae.gear.host' is therefore not allowed access.
I've already changed my web.config
<add name="Access-Control-Allow-Origin" value="*" />
<add name="Access-Control-Allow-Headers" value="Content-Type, Accept" />
But is still not working.
What can I do? Anyone here have already faced this error?
Thank you all