I have IIS 7.5 setup with an wordpress site. I have created a virtual directory (and it made into a web application) to setup a MVC4 website. basically the main site (www.example.com) is the wordpress site and when link is clicked (www.example.com/order) then the order link points to the mvc4 site.
I have a few JSON calls on the MVC4 and I’m getting Forbidden on all of those calls.
any ideas on why this is happening? it is not a cross-origin problem.
Leave a Reply
You must be logged in to post a comment.
If you have, in your controller, something like this:
replace it, with something like this:
Check the IIS server’s application settings to make sure the
Anonymous Authentication
is enabled. And disable all other Authentication module like theWindows Authentication
.